Add [BZ #19398] marker to ChangeLog entry.
[glibc.git] / ChangeLog
blob90dad728332b4e49d0331e0b6e93c89067b70c0f
1 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5         * string/strtok_r.c (__strtok_r): Optimize for performance.
6         * string/string-inlines.c (__old_strtok_r_1c): New function.
7         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11         * math/Makefile (gen-libm-calls): Add w_log1pF.
12         (libm-calls): Remove w_log1pF.
13         * math/w_log1p.c: Remove.
14         * math/w_log1pf.c: Likewise.
15         * math/w_log1pl.c: Likewise.
16         * math/w_log1p_template.c: New file with type-generic
17         implementation based on math/w_log1p.c.
18         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
19         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
21 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
23         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
25 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
27         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28         kernel version to 4.9.
30 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
32         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
33         ($(inst_libdir)/libm.a): Fix rule to create the target only.
35 2016-12-13  Andreas Schwab  <schwab@suse.de>
37         * sysdeps/powerpc/dl-procinfo.c: Don't define
38         _dl_powerpc_platforms.
39         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
40         constants instead of referencing _dl_powerpc_platforms.
41         (_dl_platform_string): Remove.
43 2016-12-13  Florian Weimer  <fweimer@redhat.com>
45         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
47 2016-12-13  Florian Weimer  <fweimer@redhat.com>
49         * Rules (binaries-shared-tests, binaries-pie-tests)
50         (binaries-static-tests): Link with $(link-extra-libs-tests).
51         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
52         Remove $(link-extra-libs-tests).
54 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56         * sysdeps/powerpc/powerpc64/multiarch/Makefile
57         (sysdep_routines): Add strncmp_power9.
58         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59         (strncmp): Add __strncmp_power9 to list of strncmp functions.
60         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
61         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
62         (strncmp): Add __strncmp_power9 to ifunc list.
63         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
65 2016-12-12  Florian Weimer  <fweimer@redhat.com>
67         [BZ #17252]
68         Add getentropy, getrandom.
69         * stdlib/sys/random.h: New file.
70         (headers): Add it.
71         * stdlib/Makefile (routines): Add getentropy, getrandom.
72         (tests): Add tst-getrandom.
73         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
74         * stdlib/getentropy.c: New file.
75         * stdlib/getrandom.c: Likewise.
76         * stdlib/tst-getrandom.c: Likewise.
77         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
78         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
79         * manual/crypt.texi (Unpredictable Bytes): New section.
80         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
81         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
82         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
93         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
94         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
95         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
96         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
97         Likewise.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
99         Likewise.
100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
109         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
113 2016-12-10  Florian Weimer  <fweimer@redhat.com>
115         [BZ #20956]
116         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
117         as additional compiler barriers.
118         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
119         (fn2, do_test): Declare with external linkage.
120         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
121         (do_test): Declare with external linkage.
122         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
123         (do_test): Declare with external linkage.
124         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
125         (do_test): Declare with external linkage.
127 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
129         * support/support_test_main.c (support_test_main): Use correct
130         timeout.
132 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
133             Florian Weimer  <fweimer@redhat.com>
135         [BZ #16421]
136         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
137         and __u6_addr32 members.
138         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
139         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
140         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
141         Use __u6_addr32.
142         * inet/tst-checks.c: Use <support/test-driver.c>
143         * inet/tst-checks-posix.c: New file.
144         * inet/Makefile (tests): Add it.
145         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
147 2016-12-09  Florian Weimer  <fweimer@redhat.com>
149         New subdirectory support for build and test infrastructure.
150         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
151         setting install-lib.
152         * Makeconfig (link-extra-libs-tests): Define.
153         (+link-pie-tests, +link-static-tests, +link-tests): Use
154         link-extra-libs-tests.
155         (rpath-dirs, all-subdirs): Add support.
156         (built-modules): Add libsupport.
157         (libsupport): Define.
158         * support: New directory.
159         * support/Makefile: New file.
160         * support/check.c: Likewise.
161         * support/check.h: Likewise.
162         * support/delayed_exit.c: Likewise.
163         * support/ignore_stderr.c: Likewise.
164         * support/oom_error.c: Likewise.
165         * support/set_fortify_handler.c: Likewise.
166         * support/support.h: Likewise.
167         * support/temp_file-internal.h: Likewise.
168         * support/temp_file.c: Likewise.
169         * support/test-driver.c: Likewise.
170         * support/test-driver.h: Likewise.
171         * support/test_main.c: Likewise.
172         * support/write_message.c: Likewise.
173         * support/xasprintf.c: Likewise.
174         * support/xcalloc.c: Likewise.
175         * support/xmalloc.c: Likewise.
176         * support/xpthread_barrier_destroy.c: Likewise.
177         * support/xpthread_barrier_init.c: Likewise.
178         * support/xpthread_barrier_wait.c: Likewise.
179         * support/xpthread_cancel.c: Likewise.
180         * support/xpthread_check_return.c: Likewise.
181         * support/xpthread_cond_wait.c: Likewise.
182         * support/xpthread_create.c: Likewise.
183         * support/xpthread_detach.c: Likewise.
184         * support/xpthread_join.c: Likewise.
185         * support/xpthread_mutex_lock.c: Likewise.
186         * support/xpthread_mutex_unlock.c: Likewise.
187         * support/xpthread_sigmask.c: Likewise.
188         * support/xpthread_spin_lock.c: Likewise.
189         * support/xpthread_spin_unlock.c: Likewise.
190         * support/xrealloc.c: Likweise.
191         * support/xsignal.h: Likewise.
192         * support/xthread.h: Likewise.
193         * support_tempfile.h: Likewise.
194         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
195         (TEST_DATA_LIMIT): Remove unused macro.
196         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
197         <support/check.h>.
198         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
199         (ignore_stderr, set_fortify_handler): Remove.  Now in
200         <support/support.h>.
201         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
202         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
203         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
204         (xpthread_join): Remove.  Now in <support/xthread.h>.
205         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
206         Introduce legacy wrappers.
207         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
208         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
209         (write_message): Remove.
210         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
211         test-skeleton.c.
212         * io/test-open-tmpfile: Likewise.
213         * io/tst-posix_fallocate-common.c: Likewise.
214         * libio/tst-fseek.c: Likewise.
215         * malloc/tst-malloc-backtrace.c: Likewise.
216         * malloc/tst-malloc-fork-deadlock.c: Likewise.
217         * malloc/tst-malloc-thread-exit.c: Likewise.
218         * nptl/tst-cancel7.c: Likewise.
219         * nptl/tst-cleanup0.c: Likewise.
220         * posix/tst-posix_fadvise-common.c: Likewise.
221         * rt/tst-shm.c: Likewise.
222         * time/bug-getdate1.c: Likewise.
223         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
224         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
225         * elf/Makefile (tst-piemod1.so): Link against libsupport.
227 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
229         * Rules [$(run-built-tests) != no] (tests-expected): Add
230         $(tests-printers).
231         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
233 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
235         [BZ #20539]
236         * math/Makefile (install-lib-ldscripts): Add libm.a.
237         (install_subdir): Remove.
238         (install-others): Add.
239         ($(inst_libdir)/libm.a): Add rule for installation as
240         linker script.
241         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
243 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
245         * INSTALL: Regenerated.
246         * Makeconfig: Add comments and whitespace to make the control flow
247         clearer.
248         (+link-printers-tests, +link-pie-printers-tests,
249         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
250         built-rtld-LDFLAGS, link-libc-rpath,
251         link-libc-tests-after-rpath-link,
252         link-libc-printers-tests): New.
253         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
254         link-libc-tests): Use the new variables as required.
255         * Makerules ($(py-const)): New rule.
256         generated: Add $(py-const).
257         * README.pretty-printers: New file.
258         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
259         (others): Depend on $(py-const).
260         (tests): Depend on $(tests-printers-programs) or
261         $(tests-printers-out),
262         as required.  Pass $(tests-printers) to merge-test-results.sh.
263         * manual/install.texi: Add requirements for testing the pretty
264         printers.
265         * nptl/Makefile (gen-py-const-headers, pretty-printers,
266         tests-printers, CFLAGS-test-mutexattr-printers.c
267         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
268         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
269         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
270         * nptl/nptl-printers.py: New file.
271         * nptl/nptl_lock_constants.pysym: Likewise.
272         * nptl/test-cond-printers.c: Likewise.
273         * nptl/test-cond-printers.py: Likewise.
274         * nptl/test-condattr-printers.c: Likewise.
275         * nptl/test-condattr-printers.py: Likewise.
276         * nptl/test-mutex-printers.c: Likewise.
277         * nptl/test-mutex-printers.py: Likewise.
278         * nptl/test-mutexattr-printers.c: Likewise.
279         * nptl/test-mutexattr-printers.py: Likewise.
280         * nptl/test-rwlock-printers.c: Likewise.
281         * nptl/test-rwlock-printers.py: Likewise.
282         * nptl/test-rwlockattr-printers.c: Likewise.
283         * nptl/test-rwlockattr-printers.py: Likewise.
284         * scripts/gen-py-const.awk: Likewise.
285         * scripts/test_printers_common.py: Likewise.
286         * scripts/test_printers_exceptions.py: Likewise.
288 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
290         * scripts/build-many-glibcs.py (Context.__init__): Take strip
291         argument.
292         (Glibc.build_glibc): Strip installed shared libraries if
293         requested.
294         (get_parser): Add --strip option.
295         (main): Update Context call.
297 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
298             Dominik Vogt  <vogt@linux.vnet.ibm.com>
300         [BZ #20847]
301         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
302         array bounds for else branch.
303         (__execvpe): Style fixes.
304         * posix/tst-vfork3.c (run_script): New function.
305         (create_script): Likewise.
306         (do_test): Use run_script internal function.
307         (do_prepare): Use create_script internal function.
309 2016-12-07  Andreas Schwab  <schwab@suse.de>
311         * sysdeps/unix/sysv/linux/x86/elision-conf.h
312         (__elision_available): Don't declare.
313         * sysdeps/unix/sysv/linux/x86/elision-conf.c
314         (__elision_available): Don't define.
315         (elision_init): Don't set __elision_available.
317 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
319         [BZ #20940]
320         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
321         return Inf for arguments Inf and sNaN.
322         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
323         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
324         Likewise.
325         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
326         Likewise.
327         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
328         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
329         for arguments Inf and sNaN.  When returning a NaN, compute it by
330         arithmetic on the arguments.
331         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
332         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
333         arguments.
335 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
337         [BZ #20916]
338         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
339         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
340         to compute result.
341         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
342         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
344 2016-12-05  Torvald Riegel  <triegel@redhat.com>
346         * include/atomic.h (__atomic_check_size_ls): New.
347         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
348         atomic_store_release): Use it.
349         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
350         (elision_adapt, ELIDE_LOCK): Use atomics.
351         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
352         atomics and improve code comments.
353         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
354         (__lll_trylock_elision): Likewise.
356 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
358         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
359         programs.
361 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
363         [BZ #20916]
364         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
365         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
366         arguments to compute result.
367         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
368         1 for arguments (sNaN, 0) or (1, sNaN).
369         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
370         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
372         [BZ #20919]
373         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
374         NaN first argument when raised to power 0.
375         * math/w_pow.c (__pow): Do not check for NaN or zero results from
376         raising to power zero.
377         * math/w_powf.c (__powf): Likewise.
378         * math/w_powl.c (__powl): Likewise.
379         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
380         pow (0, 0) or pow (NaN, 0).
382 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
384         [BZ #20918]
385         * configure.ac: Test for static NSS cryptographic libraries and set
386         libc_cv_static_nss_crypt.
387         * configure: Regenerate.
388         * config.make.in (static-nss-crypt): Define.
389         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
390         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
391         (CFLAGS-tst-linkall-static.c): Define.
392         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
393         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
394         ($(objpfx)tst-linkall-static): Define.
395         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
396         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
398 2016-12-02  Florian Weimer  <fweimer@redhat.com>
400         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
401         (one-hundred, tst-tls-many-dynamic-modules): Define.
402         (modules-names): Add $(tst-tls-many-dynamic-modules).
403         (tst-tls-manydynamic%mod.os): Build with special preprocessor
404         macros.
405         (tst-tls-manydynamic): Link against libdl, libpthread.
406         (tst-tls-manydynamic.out): The test needs the test modules at run
407         time.
408         * elf/tst-tls-manydynamic.c: New file.
409         * elf/tst-tls-manydynamic.h: Likewise.
410         * elf/tst-tls-manydynamicmod.c: Likewise.
412 2016-12-02  Florian Weimer  <fweimer@redhat.com>
414         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
415         (TLS_DTV_UNALLOCATED): Add.
416         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
417         offsets.
419 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
421         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
423 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
425         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
426         Add -fno-optimize-sibling-calls.
428 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
430         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
431         New declaration.
432         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
433         macro.
434         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
435         New macro.
436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
438         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
439         (llogbf): Likewise.
440         (llogbl): Likewise.
441         * math/Makefile (gen-libm-calls): Add w_llogbF.
442         (tests): Add test-fp-llogb-constants.
443         * math/w_llogb_template.c: New file.  Based on
444         math/w_ilogb_template.c.
445         * math/libm-test.inc (llogb_test_data): New array.
446         (llogb_test): New function.
447         (main): Call llogb_test.
448         * math/test-fp-llogb-constants.c: New file.  Based on
449         math/test-fp-ilogb-constants.c.
450         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
451         (do_test): Call check_return_llogb.
452         * math/test-tgmath.c (NCALLS): Increase to 126.
453         (F(compile_test)): Call llogb.
454         (F(llogb)): New function.
455         * manual/math.texi (Exponents and Logarithms): Document llogb,
456         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
457         * manual/libm-err-tab.pl (@all_functions): Add llogb.
458         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
459         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
460         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
461         (CFLAGS-nldbl-llogb.c): New variable.
462         * sysdeps/nacl/libm.abilist: Update.
463         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
465         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
466         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
467         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
476         Likewise.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
478         Likewise.
479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
480         Likewise.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
482         Likewise.
483         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
489         Likewise.
490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
491         Likewise.
492         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
496 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
498         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
499         _Float128 instead of long double.
500         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
502         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
503         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
504         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
505         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
506         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
507         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
508         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
509         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
510         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
511         Likewise.
513 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
515         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
516         Remove redirection to __strrchr_ppc.
518 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
520         * sysdeps/powerpc/powerpc64/multiarch/Makefile
521         (sysdep_routines): Add strcmp_power9.
522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
523         (strcmp): Add __strcmp_power9 to list of strcmp functions.
524         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
525         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
526         (strcmp): Add __strcmp_power9 to ifunc list.
527         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
529 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
531         * bits/fp-logb.h: New file.
532         * sysdeps/ia64/bits/fp-logb.h: Likewise.
533         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
534         * sysdeps/x86/bits/fp-logb.h: Likewise.
535         * math/Makefile (headers): Add bits/fp-logb.h.
536         * math/math.h: Include <bits/fp-logb.h>.
537         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
538         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
539         * bits/mathdef.h (FP_ILOGB0): Remove.
540         (FP_ILOGBNAN): Likewise.
541         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
542         (FP_ILOGBNAN): Likewise.
543         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
544         (FP_ILOGBNAN): Likewise.
545         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
546         (FP_ILOGBNAN): Likewise.
547         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
548         (FP_ILOGBNAN): Likewise.
549         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
550         (FP_ILOGBNAN): Likewise.
551         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
552         (FP_ILOGBNAN): Likewise.
553         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
554         (FP_ILOGBNAN): Likewise.
555         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
556         (FP_ILOGBNAN): Likewise.
557         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
558         (FP_ILOGBNAN): Likewise.
560         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
561         time module.
562         (Context.__init__): Initialize self.logsdir_old.
563         (Context.run_builds): Handle bot action.
564         (Context.bot_cycle): Copy logs directory before running builds.
565         (Context.bot_run_self): Take argument for whether to check
566         subprocess result.  Flush stdout before running subprocess.
567         (Context.bot): New function.
568         (get_parser): Allow bot action.
570 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
572         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
573         Import email.mime.text, email.utils and smtplib modules.
574         (Context.__init__): Initialize self.bot_config_json.
575         (Context.run_builds): Handle bot-cycle action.
576         (Context.load_bot_config_json): New function.
577         (Context.part_build_old): Likewise.
578         (Context.bot_cycle): Likewise.
579         (Context.bot_build_mail): Likewise.
580         (Context.bot_run_self): Likewise.
581         (get_parser): Allow bot-cycle action.
583 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
586         Remove redirection to __stpcpy_ppc.
588 2016-11-30  Florian Weimer  <fweimer@redhat.com>
590         Remove __libc_memalign from ld.so because it is unused.
591         * elf/dl-minimal.c: Update comment on the malloc implementation.
592         (malloc): Renamed from __libc_memalign, replacing the original
593         malloc implementation.  Replace the align parameter with
594         MALLOC_ALIGNMENT.
595         * elf/Versions (ld): Update comment and remove __libc_memalign.
596         * sysdeps/nacl/ld.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
603         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
604         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
605         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
606         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
607         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
615         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
620         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
622         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
623         * sysdeps/generic/localplt.data (ld.so): Likewise.
624         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
625         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
626         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
627         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
628         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
629         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
630         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
631         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
632         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
634         (ld.so): Likewise.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
636         (ld.so): Likewise.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
638         Likewise.
639         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
640         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
641         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
642         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
643         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
645 2016-11-30  Florian Weimer  <fweimer@redhat.com>
647         [BZ #16628]
648         Implement _dl_catch_error, _dl_signal_error in libc.so.
649         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
650         (catch_hook): Define as thread-local or regular variable,
651         depending on DL_ERROR_BOOTSTRAP.
652         (CATCH_HOOK): Remove.
653         (dl_signal_error, _dl_catch_error): Use
654         catch_hook.  Add hidden definition for libc.
655         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
656         for DL_ERROR_BOOTSTRAP only.
657         * elf/dl-error.c: New file.
658         * elf/dl-error-minimal.c: Likewise.
659         * elf/tst-latepthread.c: Likewise.
660         * elf/tst-latepthreadmod.c: Likewise.
661         * elf/Makefile (routines): Add dl-error.
662         (dl-routines): Remove dl-error.
663         (rtld-routines): Add dl-error-minimal.
664         [build-shared] (tests): Add tst-latepthread.
665         (module-names): Add tst-latepthreadmod.
666         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
667         symbol.
668         (tst-latepthreadmod.so): Link against libpthread.
669         (tst-latepthread): Link against libdbl.
670         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
671         _dl_catch_error.
672         [ld] (GLIBC_PRIVATE): Likewise.
673         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
674         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
675         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
676         directly.
677         * elf/dl-tsd.c: Remove file.
678         * elf/rtld.c (_rtld_global_ro): Remove initializers for
679         _dl_catch_error, _dl_signal_error.
680         (_dl_initial_error_catch_tsd): Remove definition.
681         (do_preload): Remove initialization of dl_error_catch_tsd.
682         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
683         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
684         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
685         * dlfcn/dlopen.c (dlopen_doit): Likewise.
686         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
687         set dl_error_catch_tsd.
688         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
689         _dl_error_catch_tsd member.
690         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
691         members.
692         (_dl_initial_error_catch_tsd): Remove declaration.
693         (_dl_dprintf): Provide definition for use outside of ld.so.
694         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
695         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
696         prototype for libc.
697         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
698         _dl_catch_error.
699         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
700         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
701         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
702         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
703         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
704         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
705         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
706         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
707         Likewise.
708         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
710         (ld.so): Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
712         (ld.so): Likewise.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
714         Likewise.
715         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
716         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
717         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
718         Likewise.
719         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
720         Likewise.
721         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
723 2016-11-30  Florian Weimer  <fweimer@redhat.com>
725         [BZ #4099]
726         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
727         _IO_BUFSIZ (8192).
729 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
731         * PROJECTS: Remove file.
733 2016-11-29  Florian Weimer  <fweimer@redhat.com>
735         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
737 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
738             Steve Ellcey  <sellcey@caviumnetworks.com>
740         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
741         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
742         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
743         fxstatat.
744         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
745         lxstat.
746         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
747         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
748         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
749         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
750         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
751         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
752         __xstat.
754 2016-11-29  Florian Weimer  <fweimer@redhat.com>
756         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
757         Define.
758         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
759         definition.
761 2016-11-29  Florian Weimer  <fweimer@redhat.com>
763         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
764         version and turn into strong alias.  Remove compat symbol.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
767         (__longjmp): Remove.
769 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
771         * bits/fp-fast.h: New file.
772         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
773         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
774         * math/Makefile (headers): Add bits/fp-fast.h.
775         * math/math.h: Include <bits/fp-fast.h>.
776         * bits/mathdef.h (FP_FAST_FMA): Remove.
777         (FP_FAST_FMAF): Likewise.
778         (FP_FAST_FMAL): Likewise.
779         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
780         (FP_FAST_FMAF): Likewise.
781         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
782         (FP_FAST_FMAF): Likewise.
783         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
784         (FP_FAST_FMAF): Likewise.
785         (FP_FAST_FMAL): Likewise.
786         * sysdeps/arm/bits/mathdef.h: Remove file.
787         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
788         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
789         * sysdeps/tile/bits/mathdef.h: Likewise.
791 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
793         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
794         * math/w_ilogb.c: Remove.
795         * math/w_ilogbf.c: Likewise.
796         * math/w_ilogbl.c: Likewise.
797         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
798         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
799         * math/Makefile (gen-libm-calls): Add w_ilogbF.
800         (libm-calls): Remove w_ilogbF.
801         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
802         (LDOUBLE_ilogbl_libm_version): New macro.
804         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
806         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
807         [!__STRICT_ANSI__ && !__cplusplus].
809 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
811         [BZ #20750]
812         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
813         of PIC.
815 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
816             Yury Norov  <ynorov@caviumnetworks.com>
817             Steve Ellcey  <sellcey@caviumnetworks.com>
819         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
820         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
821         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
822         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
823         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
824         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
825         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
826         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
827         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
828         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
829         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
830         to get correct reg name for ILP32.
831         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
832         (RELA_SIZE): New Macro.
833         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
834         to support ILP32.
835         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
836         cast for ILP32 mode.
837         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
838         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
839         * sysdeps/aarch64/memset.S (__memset): Ditto.
840         * sysdeps/aarch64/strchr.S (strchr): Ditto.
841         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
842         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
843         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
844         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
845         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
846         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
847         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
848         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
849         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
850         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
851         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
852         change PTR_MANGLE call to use register numbers instead of names.
853         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
854         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
855         ILP32 mode, change PTR_MANGLE calls to use register numbers.
856         * sysdeps/aarch64/start.S (_start): Ditto.
857         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
858         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
859         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
860         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
861         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
862         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
863         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
864         Make defined values dependent on __ILP32__.
865         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
866         (sem_t): Change __align type.
867         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
868         PTR_SIZE): New Macros.
869         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
870         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
871         Set when in ILP32 mode.
872         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
873         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
874         Set elf flags for ILP32.
875         (add_system_dir): Set ILP32 library directories.
876         * sysdeps/unix/sysv/linux/aarch64/init-first.c
877         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
878         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
879         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
880         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
881         New Macros.
882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
884 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
886         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
887         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
888         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
890 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
892         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
893         <asm/cachectl.h>.
895 2016-11-27  Zack Weinberg  <zackw@panix.com>
897         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
898         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
900 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
902         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
903         error_t to fix usage in C++ programs.
905 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
907         * scripts/build-many-glibcs.py: Import datetime module.
908         (Context.__init__): Load JSON build state.  Initialize list of
909         status logs.
910         (Context.run_builds): Update saved build state.
911         (Context.add_makefile_cmdlist): Update list of status logs.
912         (Context.load_build_state_json): New function.
913         (Context.store_build_state_json): Likewise.
914         (Context.clear_last_build_state): Likewise.
915         (Context.update_build_state): Likewise.
916         (CommandList.status_logs): Likewise.
918 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
920         * scripts/build-many-glibcs.py (Context.__init__): Save text of
921         script being executed.
922         (Context.get_script_text): New function.
923         (Context.exec_self): Likewise.
924         (Context.checkout): Re-exec script if changed by checkout process.
926 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
928         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
929         (setpayloadsig): New declaration.
930         * math/Versions (setpayloadsig): New libm symbol at version
931         GLIBC_2.25.
932         (setpayloadsigf): Likewise.
933         (setpayloadsigl): Likewise.
934         * math/Makefile (libm-calls): Add s_setpayloadsigF.
935         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
936         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
937         (setpayloadsig_test_data): New array.
938         (setpayloadsig_test): New function.
939         (main): Call setpayloadsig_test.
940         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
941         setpayloadsigf and setpayloadsigl.
942         * manual/libm-err-tab.pl: Update comment on interfaces without
943         ulps tabulated.
944         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
945         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
946         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
947         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
948         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
949         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
950         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
951         setpayloadsig.
952         (CFLAGS-nldbl-setpayloadsig.c): New variable.
953         * sysdeps/nacl/libm.abilist: Update.
954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
967         Likewise.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
969         Likewise.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
971         Likewise.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
973         Likewise.
974         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
976         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
978         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
980         Likewise.
981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
982         Likewise.
983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
985         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
987         * scripts/build-many-glibcs.py: Import json module.
988         (Context.__init__): Take replace_sources argument.  Load
989         versions.json.
990         (Context.load_versions_json): New function.
991         (Context.store_json): Likewise.
992         (Context.store_versions_json): Likewise.
993         (Context.set_component_version): Likewise.
994         (Context.checkout): Update versions.json.  Check for and handle
995         changes of version.  Prefer previously explicitly specified
996         version to default version.
997         (Context.checkout_vcs): Return a revision identifier.
998         (Context.git_checkout): Likewise.
999         (Context.gcc_checkout): Likewise.
1000         (get_parser): Add --replace-sources option.
1001         (main): Pass replace_sources argument to Context call.
1003 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1005         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1006         * nptl/allocatestack.c (allocate_stack): Likewise.
1007         (__reclaim_stacks): Likewise.
1008         (setxid_signal_thread): Obtain pid through syscall.
1009         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1010         (sighandle_setxid): Likewise.
1011         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1012         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1013         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1016         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1017         comment.
1018         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1019         * nptl/descr.h (struct pthread): Change comment about pid value.
1020         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1021         pid assert.
1022         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1023         Do not set pid value.
1024         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1025         pid cache check.
1026         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1027         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1028         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1029         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1030         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1031         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1032         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1033         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1034         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1035         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1036         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1037         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1038         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1039         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1040         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1041         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1042         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1043         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1044         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1045         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1046         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1047         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1048         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1050         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1053         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1054         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1055         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1056         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1058         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1059         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1060         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1061         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1062         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1063         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1064         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1065         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1066         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1067         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1068         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1071         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1072         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1073         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1075         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1076         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1077         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1078         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1079         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1080         struct access.
1081         (clone_test): Remove function.
1082         (do_test): Rewrite to take in consideration pid is not cached anymore.
1084 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1086         * bits/flt-eval-method.h: New file.
1087         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1088         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1089         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1090         * math/Makefile (headers): Add bits/flt-eval-method.h.
1091         * math/math.h: Include <bits/flt-eval-method.h>.
1092         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1093         [__USE_ISOC99] (double_t): Likewise.
1094         * bits/mathdef.h (float_t): Remove.
1095         (double_t): Likewise.
1096         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1097         (double_t): Likewise.
1098         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1099         (double_t): Likewise.
1100         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1101         (double_t): Likewise.
1102         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1103         (double_t): Likewise.
1104         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1105         (double_t): Likewise.
1106         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1107         (double_t): Likewise.
1108         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1109         (double_t): Likewise.
1110         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1111         (double_t): Likewise.
1112         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1113         (double_t): Likewise.
1114         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1115         (double_t): Likewise.
1116         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1117         (double_t): Likewise.
1118         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1119         (double_t): Likewise.
1120         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1121         (double_t): Likewise.
1123 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1125         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1126         instead of PIC.
1128 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1130         [BZ #20859]
1131         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1132         (-0x7fffffff) instead of 0x80000001.
1133         * math/test-fp-ilogb-constants.c: New file.
1134         * math/Makefile (tests): Add test-fp-ilogb-constants.
1136 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1138         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1139         (_init): Use it in place of hardcoded R_MIPS_JALR.
1140         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1141         (_init): Use it in place of hardcoded R_MIPS_JALR.
1142         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1143         (_init): Use it in place of hardcoded R_MIPS_JALR.
1145 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1147         [BZ #20787]
1148         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1149         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1150         (double_t): Do not define to double if [__x86_64__] when
1151         __FLT_EVAL_METHOD__ is nonzero.
1152         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1153         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1154         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1155         test-flt-eval-method-387 and test-flt-eval-method-sse.
1156         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1157         variable.
1158         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1160 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1162         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1163         use of -fno-isolate-erroneous-paths options for tilepro.
1165 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1167         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1168         structure initialization is no longer needed.
1170 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1172         [BZ #20855]
1173         * bits/mathdef.h (float_t): Define to float.
1174         * math/test-flt-eval-method.c: New file.
1175         * math/Makefile (tests): Add test-flt-eval-method.
1176         (CFLAGS-test-flt-eval-method.c): New variable.
1178 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1180         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1181         and __fstatfs.  Make them aliases of __fstatfs64 if
1182         STATFS_IS_STATFS64 is set to non-zero.
1183         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1184         and __statfs64.
1185         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1186         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1187         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1188         for __statfs and statfs.
1189         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1190         to 0.
1191         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1192         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1193         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1194         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1195         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1196         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1199         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1200         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1201         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1202         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1204 2016-11-22  Andreas Schwab  <schwab@suse.de>
1206         * misc/mkstemp.c: Include <fcntl.h>.
1207         * misc/mkstemps.c: Likewise.
1208         * misc/mkostemp.c: Likewise.
1209         * misc/mkostemps.c: Likewise.
1211 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1213         [BZ #20847]
1214         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1215         array bounds.
1216         (__execvpe): Likewise.
1218 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1220         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1221         -fno-isolate-erroneous-paths options for tilepro.
1223 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1225         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1226         to 0 when in 32 bit mode.
1227         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1228         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1229         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1230         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1232         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1233         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1234         XSTAT_IS_XSTAT64 test.
1235         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1236         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1237         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1238         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1239         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1240         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1241         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1242         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1243         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1244         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1245         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1247 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1249         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1250         (setpayload): New declaration.
1251         * math/Versions (setpayload): New libm symbol at version
1252         GLIBC_2.25.
1253         (setpayloadf): Likewise.
1254         (setpayloadl): Likewise.
1255         * math/Makefile (libm-calls): Add s_setpayloadF.
1256         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1257         test_Ff_b1_data.
1258         (RUN_TEST_Ff_b1): New macro.
1259         (RUN_TEST_LOOP_Ff_b1): Likewise.
1260         (canonicalize_test_data): Update type.
1261         (setpayload_test_data): New array.
1262         (setpayload_test): New function.
1263         (main): Call setpayload_test.
1264         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1265         setpayloadf and setpayloadl.
1266         * manual/libm-err-tab.pl: Update comment on interfaces without
1267         ulps tabulated.
1268         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1269         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1270         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1271         Likewise.
1272         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1273         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1276         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1277         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1278         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1279         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1280         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1281         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1282         setpayload.
1283         (CFLAGS-nldbl-setpayload.c): New variable.
1284         * sysdeps/nacl/libm.abilist: Update.
1285         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1286         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1287         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1291         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1292         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1293         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1294         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1296         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1298         Likewise.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1300         Likewise.
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1302         Likewise.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1304         Likewise.
1305         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1306         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1307         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1309         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1311         Likewise.
1312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1313         Likewise.
1314         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1315         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1318 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1320         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1321         * include/unistd.h: Extend comment about __access_noerrno return
1322         semantics.
1323         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1324         (access_common): Correct typo for EACCES.
1326 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1328         * sysdeps/tile/math-tests.h: New file.
1330         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1331         (__old_set_dataplane): Rename from set_dataplane and make a
1332         compatibility symbol.
1333         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1334         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1335         sys/dataplane.h.
1337 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1339         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1340         script quote words in command output to log suitably for input to
1341         the shell.
1343 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1344             Maciej W. Rozycki  <macro@imgtec.com>
1346         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1347         `.Lno_weak_fn' label.
1348         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1349         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1351 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1352             Yury Norov  <ynorov@caviumnetworks.com>
1354         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1355         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1356         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1357         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1358         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1360         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1361         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1362         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1364         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1365         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1366         (sysdep_routines): Remove oldgetrlimit64.
1367         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1368         (sysdep_routines): Likewise.
1369         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1370         (sysdep_routines): Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1372         [$(subdir) = resource] (sysdep_routines): Likewise.
1373         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1374         [$(subdir) = resource] (sysdep_routines): Likewise.
1375         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1376         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1377         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1378         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1379         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1380         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1381         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1382         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1383         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1384         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1386         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1387         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1388         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1389         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1390         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1391         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1392         setrlimit and getrlimit.
1393         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1394         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1395         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1398         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1399         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1400         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1401         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1402         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1403         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1404         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1405         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1406         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1407         (__old_getrlimit64): Add compatibility symbol.
1408         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1410 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1412         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1413         newly built gmp, mpfr and mpc.
1415         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1417 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1419         * conform/Makefile (linknamespace-libs): Rename to
1420         linknamespace-libs-thr.
1421         (linknamespace-libs-posix): New variable.
1422         (linknamespace-libs-xsi): Likewise.
1423         (linknamespace-libs-XPG3): Include libcrypt.a.
1424         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1425         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1426         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1427         (linknamespace-libs-XOPEN2K): Likewise.
1428         (linknamespace-libs-XOPEN2K8): Likewise.
1429         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1431         [BZ #20829]
1432         * stdio-common/Versions (__snprintf): Add to version
1433         GLIBC_PRIVATE.
1434         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1435         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1436         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1437         of snprintf.
1438         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1440 2016-11-16  Zack Weinberg  <zackw@panix.com>
1442         * string/string.h: Remove obsolete comment stating that
1443         strcoll_l and strxfrm_l have not yet been standardized.
1445 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1447         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1448         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1449         __access_noerrno.
1450         * io/access.c (__access_noerrno): New function.
1451         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1452         (hurd_fail_seterrno): Likewise.
1453         (access_common): Likewise.
1454         (__access_noerrno): Likewise.
1455         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1456         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1457         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1458         macro.
1460 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1462         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1463         Only declare fpregs if [__SH_FPU_ANY__].
1465 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1467         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1468         Make code unconditional.
1469         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1471 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1473         * manual/sysinfo.texi (S_APPEND): Delete.
1474         (S_IMMUTABLE): Likewise.
1476 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1477             Magnus Granberg  <zorry@gentoo.org>
1478             Mike Frysinger  <vapier@gentoo.org>
1480         [BZ #20662]
1481         * configure.ac (libc_cv_predef_stack_protector): Also check for
1482         __stack_chk_fail_local symbols.
1483         * configure: Regenerated.
1485 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1487         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1488         (libc_hidden_def): Remove redefinition.
1489         (__sigsetjmp): Add hidden definition.
1490         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1491         (libc_hidden_def): Remove redefinition.
1492         (__sigsetjmp): Add hidden definition.
1494 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1496         * scripts/build-many-glibcs.py (os.path): Do not import.
1497         (Context): Inherit explicitly from object.  Remove blank line
1498         between class and docstring.
1499         (Config): Likewise.
1500         (Glibc): Likewise.
1501         (Command): Likewise.
1502         (CommandList): Likewise.
1503         (Context.write_files): Store chmod mode in a variable.
1505         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1506         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1507         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1509 2016-11-14  Zack Weinberg  <zackw@panix.com>
1511         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1512         creating or re-creating it.
1514         * string/bits/string2.h: Fix typo in comment.
1516 2016-11-14  Zack Weinberg  <zackw@panix.com>
1518         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1519         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1520         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1521         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1522         of redirected function names.
1524         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1525         as well.  Document that MESSAGE must be a single string literal.
1527 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1529         * scripts/build-many-glibcs.py: New file.
1531         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1532         (do_test): Disable -Wmaybe-uninitialized around uses of
1533         except_mask.
1535         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1537 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1539         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1540         (atomic_store_release): Provide tilepro-specific implementations.
1542 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1544         * math/math.h (__MATH_TG): New macro.
1545         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1546         [__USE_ISOC99] (signbit): Likewise.
1547         [__USE_ISOC99] (isfinite): Likewise.
1548         [__USE_ISOC99] (isnan): Likewise.
1549         [__USE_ISOC99] (isinf): Likewise.
1550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1553         __MATH_TG and __MATH_EVAL_FMT2.
1554         * sysdeps/generic/math_private.h (fabs_tg): Define using
1555         __MATH_TG.
1556         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1557         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1558         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1559         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1560         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1561         macro.
1562         (__iscanonical): Likewise.
1563         (iscanonical): Define using __MATH_TG.
1565 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1567         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1568         guards.
1570         * sysdeps/unix/sysv/linux/access.c: New file.
1571         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1573 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1575         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1576         and __WORDSIZE32_PTRDIFF_LONG.
1578 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1580         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1582 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1584         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1585         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1586         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1587         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1588         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1590         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1591         * sysdeps/unix/sysv/linux/truncate.c: New file.
1592         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1593         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1594         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1595         Remove.
1596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1597         Likewise.
1599         * posix/tst-truncate-common.c: New file.
1600         * posix/tst-truncate.c: Use tst-truncate-common.c.
1601         * posix/tst-truncate64.c: Likewise and add LFS tests.
1602         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1603         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1604         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1605         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1606         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1608         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1609         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1610         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1611         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1612         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1613         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1614         Remove.
1615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1616         Likewise.
1618 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1620         [BZ #20790]
1621         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1622         to MAXLINESIZE.
1623         * sunrpc/bug20790.x: New file.
1624         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1625         variable.
1626         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1627         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1629         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1631         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1633         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1634         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1635         calloc, realloc, free, memalign and __libc_memalign rather than
1636         making them optional.
1638         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1639         for libc.so.
1641 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1643         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1644         ptw-lseek64.
1645         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1646         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1647         Likewise.
1648         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1649         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1650         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1651         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1652         * sysdeps/unix/sysv/linux/lseek.c: New file.
1653         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1654         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1655         __libc_lseek64 from auto-generation.
1656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1657         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1659 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1661         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1662         * nptl/tst-cleanup1.c (do_test): Likewise.
1663         * nptl/tst-cleanup3.c (do_test): Likewise.
1664         * nptl/tst-key1.c (do_test): Likewise.
1665         * nptl/tst-key2.c (tf, do_test): Likewise.
1666         * nptl/tst-key3.c (tf, do_test): Likewise.
1667         * nptl/tst-stdio1.c (do_test): Likewise.
1668         * nptl/tst-stdio2.c (do_test): Likewise.
1670         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1671         * nptl/tst-kill6.c (handler): Likewise.
1672         * nptl/tst-tls2.c (CB): Likewise.
1673         * nptl/tst-tls3.c (CB): Likewise.
1675 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1677         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1679 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1680             Steve Ellcey  <sellcey@caviumnetworks.com>
1682         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1683           __ASSUME_ST_INO_64_BIT as 0
1684         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1685         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1686           over the code where __ASSUME_ST_INO_64_BIT is used.
1687         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1688         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1689         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1691 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1693         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1694         Document ABI exposure of the __kind offset.
1695         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1696         Mention reason for the __kind offset exposure in the ABI.
1697         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1698         Likewise.
1699         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1700         Likewise.
1701         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1702         Likewise.
1703         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1704         (struct __pthread_mutex_s): Likewise.
1705         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1706         Likewise.
1707         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1708         Likewise.
1709         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1710         Likewise.
1711         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1712         Likewise.
1713         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1714         Likewise.
1715         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1718         (struct __pthread_mutex_s): Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1720         (struct __pthread_mutex_s): Likewise.
1721         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1722         Likewise.
1724 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1726         * test-skeleton.c: Document do_test usage.
1728 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1730         * iconv/gconv.h (__gconv_info): Define __data element using a
1731         zero-length array.
1733 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1735         * math/test-tgmath2.c: Split up test function.
1737 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1739         * Rules (tests-expected): New variable, depending on
1740         $(run-built-tests).
1741         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1742         $(tests).
1744         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1745         $(tests-unsupported).
1747 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1749         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1750         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1752 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1754         [BZ #20768]
1755         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1756         __fegetenv instead of fegetenv.
1758         [BZ #14139]
1759         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1760         (find_files): Obtain platform name from libm-test-ulps-name and
1761         store in %pplatforms.
1762         (canonicalize_platform): Remove.
1763         (print_platforms): Use $pplatforms directly.
1764         (by_platforms): Do not allow for platforms missing from
1765         %pplatforms.
1766         * sysdeps/aarch64/libm-test-ulps-name: New file.
1767         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1768         * sysdeps/arm/libm-test-ulps-name: Likewise.
1769         * sysdeps/generic/libm-test-ulps-name: Likewise.
1770         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1771         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1772         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1773         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1774         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1775         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1776         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1777         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1778         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1779         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1780         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1781         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1782         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1783         * sysdeps/sh/libm-test-ulps-name: Likewise.
1784         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1785         * sysdeps/tile/libm-test-ulps-name: Likewise.
1786         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1788         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1790         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1791         (test-xfail-check-execstack): New variable.
1793         * sysdeps/mips/localplt.data: New file.
1795 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1796             Steve Ellcey  <sellcey@caviumnetworks.com>
1798         * bits/wordsize.h: Add documentation.
1799         * sysdeps/aarch64/bits/wordsize.h : New file
1800         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1801         definitions.
1802         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1803         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1804         with #if instead of #ifdef.
1805         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1806         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1807         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1808         Add or change defines.
1809         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1810         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1811         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1812         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1813         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1814         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1815         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1816         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1817         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1818         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1819         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1820         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1821         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1822         * sysdeps/x86/bits/wordsize.h: Likewise.
1824 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1825             Kevin Petit  <kevin.petit@arm.com>
1827         * sysdeps/aarch64/memchr.S (__memchr): New file.
1829 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1831         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1833 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1835         [BZ #19398]
1836         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1837         $(linknamespace-symlists-tests).
1839 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1841         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1843 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1844             Carlos O'Donell  <carlos@redhat.com>
1846         [Bug #20729]
1847         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1848         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1849         for -Os related change.
1851 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1853         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1855 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1857         [BZ #19673]
1858         * manual/math.texi (Exponents and Logarithms): Correct description
1859         of clog10.
1861 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1863         [Bz #20729]
1864         * locale/weight.h: Include libc-internal.h.
1865         * locale/weightwc.h: Likewise.
1866         * nptl/nptl_dbP.h: Likewise.
1868 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1870         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1871         when it is MACH_PORT_NULL.
1873 2016-10-31  Andreas Schwab  <schwab@suse.de>
1875         [BZ #20707]
1876         * posix/glob.c (glob): Initialize pglob before checking for
1877         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1878         valid brace expression despite GLOB_BRACE.
1879         * posix/globtest.sh: Test it.
1881 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1883         [BZ #20729]
1884         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1885         Define.
1886         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1887         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1888         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1889         for seq2.back_us and seq1.back_us only for -Os compiles.
1890         * locale/weightwc.h (findix): Likewise.
1891         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1892         DB_GET_FIELD_ADDRESS only for -Os compiles.
1893         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1894         for slen only for -Os compiles.
1895         * string/strcoll_l.c (get_next_seq): Ignore
1896         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1897         for -Os compiles.
1899         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1900         * include/crypt.h: New file.
1902 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1904         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1905         from test-skeleton.c.
1906         (statclass): Replace calls to write with calls to write_message.
1908 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1910         * math/math.h
1911         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1912         New macro.
1913         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1914         Likewise.
1915         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1916         Likewise.
1917         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1918         SNANL.
1919         * math/test-double.h (snan_value_MACRO): New macro.
1920         * math/test-float.h (snan_value_MACRO): Likewise.
1921         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1922         * math/libm-test.inc (issignaling_test_data): Add tests of
1923         snan_value_MACRO.
1925 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1927         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1928         behavior when eliding a lock not held by the current thread.
1929         * sysdeps/powerpc/nptl/elide.h: Likewise.
1931 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1933         [BZ #20728]
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1935         branch to _exit() by a function call.
1937 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1939         * malloc/malloc.c: Update chunk layout comments.
1940         (chunk_main_arena): Update comment.
1942 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1944         * crypt/sha256.c, crypt/sha256-block.c,
1945         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1946         sha256_process_block to __sha256_process_block.
1947         * crypt/sha512.c, crypt/sha512-block.c,
1948         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1949         sha512_process_block to __sha512_process_block.
1951 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1953         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1955         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1957 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1959         [BZ #20019]
1960         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1961         definition in unrelocated shared library.
1962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1964 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1966         [BZ #20729]
1967         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1968         * sysdeps/unix/sysv/linux/i386/Makefile
1969         (uses-6-syscall-arguments): Define.
1970         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1971         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1972         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1973         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1974         Likewise.
1975         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1976         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1977         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1978         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1979         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1980         (CFLAGS-fallocate64.os): Likewise.
1981         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1982         (CFLAGS-pthread_rwlock_timedrdlock.os)
1983         (CFLAGS-pthread_rwlock_timedwrlock.o)
1984         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1985         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1986         (CFLAGS-sem_timedwait.os): Likewise.
1988 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1990         * elf/tst-linkall-static.c: New file.
1991         * elf/Makefile (tests-static): Add tst-linkall-static.
1992         (tst-linkall-static): Link against static libraries.
1994 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1996         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1997         mmaped chunks.
1999 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2001         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2002         members to mchunk_prev_size, mchunk_size.
2003         (chunk_main_arena): Reverse sense and rename from
2004         chunk_non_main_arena.
2005         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2006         mchunk_size instead of size.
2007         (set_non_main_arena): Define.
2008         (chunksize): Use chunksize_nomask instead of direct member access.
2009         (chunksize_nomask): Define.
2010         (next_chunk): Use chunksize instead of direct member access.
2011         (prev_size, set_prev_size): Define.
2012         (prev_chunk): Use prev_size instead of direct member access.
2013         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2014         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2015         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2016         (mchunk_prev_size, mchunk_size): Poison tokens.
2017         (unlink): Use chunksize_nomask, prev_size accessors.
2018         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2019         (do_check_free_chunk): Use prev_size accessor.
2020         (sysmalloc): Use set_prev_size, set_head accessors.
2021         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2022         (__libc_free): Use chunksize_nomask accessor.
2023         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2024         chunk_main_arena accessors.
2025         (_int_free): Use chunksize_nomask, prev_size accessors.
2026         (malloc_consolidate): Use chunksize, prev_size accessors.
2027         (_int_realloc): Use chunksize_nomask accessor.
2028         (_int_memalign): Use set_prev_size accessor.
2029         (__malloc_info): Use chunksize_nomask accessor.
2030         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2031         accessors.
2032         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2033         (heap_trim): Use chunksize_nomask, prev_size accessors.
2035 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2037         [BZ #19380]
2038         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2039         for inexact results.
2040         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2041         of inexact result where mpfr_subnormalize is the only inexact
2042         step.
2043         * stdlib/tst-strtod-round-data.h: Regenerated.
2044         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2045         Define to 0.
2046         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2048 2016-10-27  David S. Miller  <davem@davemloft.net>
2050         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2052 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2054         * malloc/malloc.c (do_set_mallopt_check): New function.
2055         (do_set_mmap_threshold): Likewise.
2056         (do_set_mmaps_max): Likewise.
2057         (do_set_top_pad): Likewise.
2058         (do_set_perturb_byte): Likewise.
2059         (do_set_trim_threshold): Likewise.
2060         (do_set_arena_max): Likewise.
2061         (do_set_arena_test): Likewise.
2062         (__libc_mallopt): Use them.
2064 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2066         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2067         (canonicalize): New declaration.
2068         * math/Versions (canonicalize): New libm symbol at version
2069         GLIBC_2.25.
2070         (canonicalizef): Likewise.
2071         (canonicalizel): Likewise.
2072         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2073         * math/s_canonicalize_template.c: New file.
2074         * math/libm-test.inc: Update comment on functions tested and
2075         testing of NaN payloads.
2076         (TEST_NAN_PAYLOAD): New macro.
2077         (NO_TEST_INLINE): Update value.
2078         (XFAIL_TEST): Likewise.
2079         (ERRNO_UNCHANGED): Likewise.
2080         (ERRNO_EDOM): Likewise.
2081         (ERRNO_ERANGE): Likewise.
2082         (IGNORE_RESULT): Likewise.
2083         (NON_FINITE): Likewise.
2084         (TEST_SNAN): Likewise.
2085         (NO_TEST_MATHVEC): Likewise.
2086         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2087         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2088         (struct test_Ffp_b1_data): New type.
2089         (RUN_TEST_Ffp_b1): New macro.
2090         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2091         (canonicalize_test_data): New array.
2092         (canonicalize_test): New function.
2093         (main): Call canonicalize_test.
2094         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2095         canonicalizef and canonicalizel.
2096         * manual/libm-err-tab.pl: Update comment on interfaces without
2097         ulps tabulated.
2098         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2099         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2100         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2101         canonicalize.
2102         (CFLAGS-nldbl-canonicalize.c): New variable.
2103         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2104         to ...
2105         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2106         ... here.
2107         (do_test): Also test canonicalizel.
2108         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2109         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2110         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2111         file.
2112         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2113         Use libm_hidden_def.
2114         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2115         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2116         (do_test): Also test canonicalizel.
2117         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2118         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2119         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2120         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2121         libm_hidden_def.
2122         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2123         macro.
2124         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2125         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2126         * sysdeps/nacl/libm.abilist: Update.
2127         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2138         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2140         Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2142         Likewise.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2144         Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2146         Likewise.
2147         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2149         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2150         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2151         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2153         Likewise.
2154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2155         Likewise.
2156         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2157         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2158         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2160         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2161         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2162         getpayload.
2163         (CFLAGS-nldbl-getpayload.c): New variable.
2165 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2167         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2168         integer from the format string.
2170 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2172         [BZ #19473]
2173         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2174         declarations.
2175         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2176         weak aliases.
2177         * malloc/hooks.c (__malloc_get_state): Remove definition.
2178         (malloc_get_state): New stub implementation as
2179         compatibility symbol.
2180         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2181         compat symbol.
2182         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2183         malloc_set_state.
2184         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2186 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2188         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2189         (names): Turn into concatenation of strings.
2190         (gconv_init): Adapt iteration over names.
2192 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2194         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2195         make const.
2196         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2197         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2198         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2199         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2200         character in sbconv.
2201         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2202         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2203         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2205 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2207         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2209         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2210         (M_TRIM_THRESHOLD): Likewise.
2212         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2213         (M_ARENA_MAX): Likewise.
2214         * malloc/malloc.c: Remove obsolete comment.
2216         * manual/memory.texi: Add environment variable alternatives to
2217         setting mallopt parameters.
2219 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2221         * include/atomic.h
2222         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2223         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2225 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2227         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2228         * stdlib/tst-strfrom.h: New file.
2229         * stdlib/tst-strfrom.c: New file.
2230         * stdlib/tst-strfrom-locale.c: New file.
2232         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2233         * stdlib/bug-strtod2.c: Likewise.
2234         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2235         * stdlib/tst-strtod6.c: Likewise.
2236         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2238 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2240         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2241         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2242         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2243         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2244         * stdlib/stdlib.h (strfromd): New declaration.
2245         (strfromf): Likewise.
2246         (strfroml): Likewise.
2247         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2248         strfrom.
2249         * stdlib/strfromd.c: New file.
2250         * stdlib/strfromf.c: Likewise.
2251         * stdlib/strfroml.c: Likewise.
2252         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2253         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2254         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2255         * sysdeps/arm/nacl/libc.abilist: Update.
2256         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2281         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2282         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2283         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2285 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2287         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2288         instead of cmpli.
2289         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2290         instead of cmpli.
2292 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2294         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2295         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2296         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2298         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2299         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2301 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2303         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2304         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2305         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2306         SYSCALL_LL64_PRW.
2307         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2308         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2309         __ASSUME_PRW_DUMMY_ARG.
2310         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2311         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2312         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2313         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2314         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2315         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2317 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2319         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2321 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2323         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2324         "C++", to override a potential extern "C" directive around the
2325         header file inclusion.
2327 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2329         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2331 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2333         * sysdeps/powerpc/fpu/fenv_private.h:
2334         (_FPU_MASK_ALL): Rename to...
2335         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2336         XE FPSCR bits.
2338         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2340         (_FPU_MASK_ROUNDING): Rename to...
2341         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2342         NI bits.
2344         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2345         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2346         bits and rounding bits.
2348         (__libc_feholdbits_ppc): New inline function to mask, set,
2349         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2350         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2351         (libc_feholdexcept_setround_ppc): Likewise.
2353         (__libc_femergeenv_ppc): New function to dynamically mask both
2354         old and new FP environments and merge.
2355         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2356         (libc_feresetround_ppc): Likewise.
2357         (libc_feupdateenv_test_ppc): Likewise.
2358         (libc_feupdateenv_ppc): Likewise.
2360         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2361         of ISA RN bits, and update macro names.
2362         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2363         effectively the same as the previously mentioned function.
2365         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2366         usage with fe_resetround_ppc.
2368         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2369         to be used.
2370         (libc_feholdexcept_setround_ctxf): Likewise.
2371         (libc_feholdexcept_setround_ctxl): Likewise.
2373 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2375         [BZ #20715]
2376         * math/math.h [__cplusplus] (iszero): Define as function template.
2377         * math/Makefile [CXX] (tests): Add test-math-iszero.
2378         (CFLAGS-test-math-iszero.cc): Set.
2379         * math/test-math-iszero.cc: New file.
2381 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #20660]
2384         * sysdeps/arm/e_sqrt.c: New file.
2385         * sysdeps/arm/e_sqrtf.c: Likewise.
2387 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2389         [BZ #20718]
2390         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2391         not use floating-point comparisons to test sign.
2392         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2393         Likewise.
2395         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2396         (getpayload): New declaration.
2397         * math/Versions (getpayload): New libm symbol at version
2398         GLIBC_2.25.
2399         (getpayloadf): Likewise.
2400         (getpayloadl): Likewise.
2401         * math/Makefile (libm-calls): Add s_getpayloadF.
2402         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2403         (struct test_f_f_data): Add comment.
2404         (RUN_TEST_fp_f): New macro.
2405         (RUN_TEST_LOOP_fp_f): Likewise.
2406         (getpayload_test_data): New array.
2407         (getpayload_test): New function.
2408         (main): Call getpayload_test.
2409         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2410         descriptor.
2411         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2412         getpayloadf and getpayloadl.
2413         * manual/libm-err-tab.pl: Update comment on interfaces without
2414         ulps tabulated.
2415         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2416         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2417         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2418         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2419         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2420         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2421         * sysdeps/nacl/libm.abilist: Update.
2422         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2423         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2424         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2425         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2426         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2427         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2428         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2429         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2430         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2431         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2432         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2433         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2437         Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2439         Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2443         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2444         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2445         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2448         Likewise.
2449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2450         Likewise.
2451         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2452         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2453         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2455 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2457         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2458         tst-fallocate{64}.
2459         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2460         on syscall return.
2462 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2464         [BZ #20689]
2465         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2466         usable.
2468 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2470         * sysdeps/generic/nan-high-order-bit.h: New file.
2471         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2472         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2473         * sysdeps/hppa/math_private.h: Remove file.
2474         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2475         not define here.
2476         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2477         <nan-high-order-bit.h>.
2478         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2479         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2480         <nan-high-order-bit.h>.
2481         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2482         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2483         <nan-high-order-bit.h>.
2484         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2485         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2486         <nan-high-order-bit.h>.
2487         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2488         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2489         <nan-high-order-bit.h>.
2490         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2491         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2492         <nan-high-order-bit.h>.
2493         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2494         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2495         <nan-high-order-bit.h>.
2496         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2497         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2498         <nan-high-order-bit.h>.
2499         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2500         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/s_issignalingl.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-128/s_totalorderl.c: Include
2507         <nan-high-order-bit.h>.
2508         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2509         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2510         <nan-high-order-bit.h>.
2511         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2512         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2513         <nan-high-order-bit.h>.
2514         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2515         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2516         <nan-high-order-bit.h>.
2517         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2518         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2519         <nan-high-order-bit.h>.
2520         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2521         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2522         <nan-high-order-bit.h>.
2523         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2524         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2525         <nan-high-order-bit.h>.
2526         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2527         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2528         <nan-high-order-bit.h>.
2529         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2531 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2533         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2535 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2537         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2538         abort-instr.h.
2539         (EFAULT): Remove conditional define.
2540         (ENOSYS): Likewise.
2541         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2542         instead of conditional branch instructions.
2544 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2546         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2547         (totalordermag): New declaration.
2548         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2549         New macro.
2550         * math/Versions (totalordermag): New libm symbol at version
2551         GLIBC_2.25.
2552         (totalordermagf): Likewise.
2553         (totalordermagl): Likewise.
2554         * math/Makefile (libm-calls): Add s_totalordermagF.
2555         * math/libm-test.inc (totalordermag_test_data): New array.
2556         (totalordermag_test): New function.
2557         (main): Call totalordermag_test.
2558         * math/test-tgmath.c (NCALLS): Increase to 125.
2559         (F(compile_test)): Call totalordermag.
2560         (F(totalordermag)): New function.
2561         * manual/arith.texi (FP Comparison Functions): Document
2562         totalordermag, totalordermagf and totalordermagl.
2563         * manual/libm-err-tab.pl: Update comment on interfaces without
2564         ulps tabulated.
2565         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2566         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2567         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2568         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2569         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2570         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2571         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2572         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2573         totalordermag.
2574         (CFLAGS-nldbl-totalordermag.c): New variable.
2575         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2576         (do_test): Also test totalordermagl.
2577         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2578         Likewise.
2579         * sysdeps/nacl/libm.abilist: Update.
2580         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2585         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2586         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2597         Likewise.
2598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2599         Likewise.
2600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2601         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2602         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2603         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2604         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2606         Likewise.
2607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2608         Likewise.
2609         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2610         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2611         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2613 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2615         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2616         boolean.
2618 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2620         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2621         raising FE_INVALID with feraisexcept in case where part of
2622         argument is infinite, subtract that part of argument from itself.
2623         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2624         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2625         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2627 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2629         * math/libm-test.inc (totalorder_test_data): Add more tests.
2631 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2633         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2634         Undefine weak_alias and add a comment why mips64 require
2635         versioning.
2637 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2639         [BZ #20647]
2640         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2641         maximum CPUID level is less than 2.
2643 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2645         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2646         (totalorder): New declaration.
2647         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2648         New macro.
2649         * math/Versions (totalorder): New libm symbol at version
2650         GLIBC_2.25.
2651         (totalorderf): Likewise.
2652         (totalorderl): Likewise.
2653         * math/Makefile (libm-calls): Add s_totalorderF.
2654         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2655         string.
2656         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2657         (qnan_value_pl): Likewise.
2658         (snan_value_pl): Likewise.
2659         (qnan_value): Define using qnan_value_pl.
2660         (snan_value): Define using snan_value_pl.
2661         (struct test_ff_i_data): Add comment about which tests use this
2662         structure.
2663         (RUN_TEST_ff_b): New macro.
2664         (RUN_TEST_LOOP_ff_b): Likewise.
2665         (totalorder_test_data): New array.
2666         (totalorder_test): New function.
2667         (main): Call totalorder_test.
2668         * math/test-tgmath.c (NCALLS): Increase to 122.
2669         (F(compile_test)): Call totalorder.
2670         (F(totalorder)): New function.
2671         * manual/arith.texi (FP Comparison Functions): Document
2672         totalorder, totalorderf and totalorderl.
2673         * manual/libm-err-tab.pl: Update comment on interfaces without
2674         ulps tabulated.
2675         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2676         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2677         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2678         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2679         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2680         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2681         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2682         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2683         totalorder.
2684         (CFLAGS-nldbl-totalorder.c): New variable.
2685         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2686         file.
2687         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2688         Add test-totalorderl-ldbl-128ibm.
2689         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2690         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2691         test-totalorderl-ldbl-96.
2692         * sysdeps/nacl/libm.abilist: Update.
2693         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2694         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2695         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2696         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2697         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2698         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2699         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2700         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2701         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2702         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2703         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2706         Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2708         Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2710         Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2712         Likewise.
2713         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2719         Likewise.
2720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2726 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2728         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2729         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2730         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2731         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2732         remove ENOSYS implementation.
2733         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2734         Consolidate all Linux implementations.
2736 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2738         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2739         * resolv/herror.c (herror): Cast away const-ness.
2740         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2741         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2743 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2745         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2746         instead of M_NAN + M_NAN.
2747         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2749 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2751         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2752         unused variable 'p'.
2754 2016-10-09  Alan Modra  <amodra@gmail.com>
2755             Andreas Schwab  <schwab@linux-m68k.org>
2757         [BZ #20554]
2758         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2759         [PIC && !SHARED]: Set up PIC register for PLT call.
2761 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2763         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2764         conditional on value of [__FLT_EVAL_METHOD__].
2765         * math/test-iseqsig-excess-precision.c: New file.
2766         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2768 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2770         * math/s_iseqsig_template.c: Include math-private.h.
2772         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2773         * posix/tst-posix_fadvise.c: New file.
2774         * posix/tst-posix_fadvise64.c: Likewise.
2775         * posix/tst-posix_fadvise-common.c: Likewise.
2776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2777         (__ASSUME_FADVISE64_64_6ARG): Define.
2778         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2779         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2780         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2781         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2782         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2783         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2784         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2785         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2786         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2787         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2788         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2789         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2792         Likewise.
2793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2795         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2796         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2797         Alias to __posix_fadvise64_l32.
2798         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2799         Add compat definition to posix_fadvise64.
2800         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2801         Add versioned definition to posix_fadvise64.
2802         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2803         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2804         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2805         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2806         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2808         * io/Makefile (tests): Add tst-posix_fallocate and
2809         tst-posix_fallocate64.
2810         * io/tst-posix_fallocate-common.c: New file.
2811         * io/tst-posix_fallocate.c: Likewise.
2812         * io/tst-posix_fallocate64.c: Likewise.
2813         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2814         file.
2815         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2816         Likewise.
2817         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2818         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2819         Likewise.
2820         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2821         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2822         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2823         SYSCALL_LL to pass both offset and len arguments.
2824         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2825         Likewise.
2826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2827         __libc_pwrite64 alias used by posix_fallocate64.
2829         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2830         tst-fallocate64.
2831         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2832         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2833         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2834         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2835         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2836         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2837         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2838         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2839         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2840         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2841         macro on offset argument.
2842         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2843         SYSCALL_LL64 on offset argument.
2845         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2846         tst-fallocate64.
2847         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2848         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2849         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2850         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2851         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2852         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2853         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2854         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2855         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2856         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2857         macro on offset argument.
2858         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2859         SYSCALL_LL64 on offset argument.
2860         * test-skeleton.c (FAIL_RET): Add macro.
2861         (FAIL_EXIT): Likewise.
2862         (FAIL_EXIT1): Likewise.
2863         (_FAIL): Likewise.
2865 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2867         [BZ #20629]
2868         resolv: Remove RES_USEBSTRING and its implementation.
2869         * resolv/resolv.h (RES_USEBSTRING): Remove.
2870         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2871         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2872         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2873         (labellen): Remove extended label types support.
2874         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2875         * resolv/res_init.c (res_setoptions): Likewise.
2876         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2878 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2880         resolv: Remove RES_NOIP6DOTINT and its implementation.
2881         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2882         (RES_NOIP6DOTINT): Remove.
2883         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2884         handling.
2885         * resolv/res_debug.c (p_option): Likewise.
2886         * resolv/res_init.c (res_setoptions): Likewise.
2887         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2889 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2891         resolv: Deprecate unimplemented flags.
2892         * misc/sys/cdefs.h (__glibc_macro_warning1)
2893         (__glibc_macro_warning): Define.
2894         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2895         (RES_KEEPTSIG): Mark as deprecated.
2896         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2897         RES_NOCHECKNAME, RES_KEEPTSIG.
2898         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2900 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2902         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2903         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2904         Use strong_alias to create symbols for glibc verison 2.19.
2906 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2908         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2910 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2912         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2914 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2916         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2918 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2920         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2921         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2922         in header for using it as type for ifunc function because __GI_* symbols
2923         for ppc32 do not target the ifunc symbols.
2924         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2926 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2928         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2929         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2930         libc_ifunc_hidden_def.
2931         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2932         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2933         Redirect ifunced function in header for using it as type of ifunc'ed
2934         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2935         function for __GI_* symbol.
2936         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2937         * include/libc-symbols.h
2938         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2940 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2942         [BZ #20478]
2943         * sysdeps/s390/multiarch/ifunc-resolve.h
2944         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2945         to create ifunc symbols.
2946         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2947         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2948         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2949         for using it as type for ifunc function.
2950         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2951         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2952         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2953         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2954         * sysdeps/s390/multiarch/strcat.c: Likewise.
2955         * sysdeps/s390/multiarch/strchr.c: Likewise.
2956         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2957         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2958         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2959         * sysdeps/s390/multiarch/strlen.c: Likewise.
2960         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2961         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2962         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2963         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2964         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2965         * sysdeps/s390/multiarch/strspn.c: Likewise.
2966         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2967         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2968         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2969         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2970         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2971         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2972         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2973         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2974         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2975         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2976         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2977         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2979 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2981         * include/libc-symbols.h (__ifunc_resolver):
2982         New macro is used by __ifunc* macros.
2983         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2984         depending on HAVE_GCC_IFUNC.
2985         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2986         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2988         Redirect ifunced function in header for using as type for ifunc function.
2989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2995         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2996         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2998         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3000         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3001         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3008         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3009         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3010         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3012         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3014         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3015         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3016         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3017         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3018         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3019         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3020         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3021         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3023         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3024         instead of libc_ifunc() macro.
3025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3026         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3028 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3030         * config.h.in (HAVE_GCC_IFUNC): New undef.
3031         * configure.ac: Add check if gcc supports attribute ifunc feature.
3032         * configure: Regenerated.
3033         * manual/install.texi: Add recommendation for gcc with
3034         indirect-function support.
3035         * INSTALL: Regenerated.
3037 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3039         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3040         macro.
3041         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3042         (__iseqsig): New declaration.
3043         * math/s_iseqsig_template.c: New file.
3044         * math/Versions (__iseqsigf): New libm symbol at version
3045         GLIBC_2.25.
3046         (__iseqsig): Likewise.
3047         (__iseqsigl): Likewise.
3048         * math/libm-test.inc (iseqsig_test_data): New array.
3049         (iseqsig_test): New function.
3050         (main): Call iseqsig_test.
3051         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3052         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3053         * manual/libm-err-tab.pl: Update comment on interfaces without
3054         ulps tabulated.
3055         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3056         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3057         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3058         * sysdeps/nacl/libm.abilist: Update.
3059         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3061         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3072         Likewise.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3074         Likewise.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3076         Likewise.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3078         Likewise.
3079         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3080         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3081         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3082         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3083         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3085         Likewise.
3086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3087         Likewise.
3088         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3092 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3094         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3095         do_sincos_2, sloww, sloww1): Update comments.
3097         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3098         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3100         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3101         K boolean and rename it.
3102         (__sin): Adjust.
3103         (__cos): Adjust.
3105 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3106             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3108         * manual/nss.texi: Fix typos in the manual.
3110 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3112         * manual/contrib.texi: Fix typos in the manual.
3114         * manual/maint.texi: Fix typos in the manual.
3116         * manual/install.texi: Fix typos in the manual.
3117         * INSTALL: Regenerated.
3119         * manual/lang.texi: Fix typos in the manual.
3121         * manual/probes.texi: Fix typos in the manual.
3123         * manual/threads.texi: Fix typos in the manual.
3125         * manual/debug.texi: Fix typos in the manual.
3127         * manual/crypt.texi: Fix typos in the manual.
3129         * manual/conf.texi: Fix typos in the manual.
3131         * manual/sysinfo.texi: Fix typos in the manual.
3133         * manual/users.texi: Fix typos in the manual.
3135         * manual/job.texi: Fix typos in the manual.
3137         * manual/process.texi: Fix typos in the manual.
3139         * manual/argp.texi: Fix typos in the manual.
3140         * manual/getopt.texi: Likewise.
3141         * manual/startup.texi: Likewise.
3143         * manual/signal.texi: Fix typos in the manual.
3145         * manual/setjmp.texi: Fix typos in the manual.
3147         * manual/resource.texi: Fix typos in the manual.
3149         * manual/time.texi: Fix typos in the manual.
3151         * manual/arith.texi: Fix typos in the manual.
3153         * manual/math.texi: Fix typos in the manual.
3155         * manual/syslog.texi: Fix typos in the manual.
3157         * manual/terminal.texi: Fix typos in the manual.
3159         * manual/socket.texi: Fix typos in the manual.
3161         * manual/filesys.texi: Fix typos in the manual.
3163         * manual/llio.texi: Fix typos in the manual.
3165         * manual/stdio.text: Fix typos in the manual.
3167 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3169         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3170         instead of K1.
3172         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3173         SHIFT_QUADRANT and make it bool.
3174         (do_sincos_2): Likewise.
3175         (sloww): Likewise.
3176         (sloww1): Likewise.
3177         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3178         (__cos): Likewise.
3180 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3182         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3184 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3186         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3187         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3188         0x7fffffffL].
3189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3191 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3194         inline by __inline__.
3195         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3196         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3197         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3199         sigset_t from signal.h.
3200         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3201         which is already required.
3203 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3205         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3207 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3209         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3210         (struct tcp_repair_window): New type.
3212 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3214         * libio/tst-memstream3.c: Include string.h.
3216 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3218         [BZ #18241]
3219         [BZ #20181]
3220         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3221         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3222         write position is at the end the buffer.
3223         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3224         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3225         (_IO_str_seekoff): Set correct offset from negative displacement and
3226         set EINVAL for invalid ones.
3227         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3228         buffer length.
3229         (_IO_wstr_switch_to_get_mode): New function.
3230         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3231         set EINVAL for invalid ones.
3232         * libio/tst-memstream3.c: New file.
3233         * libio/tst-wmemstream3.c: Likewise.
3234         * manual/examples/memstrm.c: Remove warning when priting size_t.
3236 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3238         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3239         macro to use __builtin_fma.
3240         * sysdeps/x86_64/fpu/dla.h: Remove file.
3242         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3243         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3244         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3246 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3248         [BZ #20292]
3249         * elf/Makefile (routines): Add dl-addr-obj.
3250         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3251         tst-_dl_addr_inside_object.
3252         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3253         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3254         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3255         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3256         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3257         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3258         * elf/dl-open.c: Likewise.
3259         * elf/dl-addr-obj.c: New file.
3260         * elf/tst-_dl_addr_inside_object.c: New file.
3262 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3264         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3265         <bits/iscanonical.h>.
3266         * bits/iscanonical.h: New file.
3267         * math/s_iscanonicall.c: Likewise.
3268         * math/Versions (__iscanonicall): New libm symbol at version
3269         GLIBC_2.25.
3270         * math/libm-test.inc (iscanonical_test_data): New array.
3271         (iscanonical_test): New function.
3272         (main): Call iscanonical_test.
3273         * math/Makefile (headers): Add bits/iscanonical.h.
3274         (type-ldouble-routines): Add s_iscanonicall.
3275         * manual/arith.texi (Floating Point Classes): Document
3276         iscanonical.
3277         * manual/libm-err-tab.pl: Update comment on interfaces without
3278         ulps tabulated.
3279         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3280         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3281         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3282         Likewise.
3283         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3284         test-iscanonical-ldbl-128ibm.
3285         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3286         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3287         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3288         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3291         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3295         Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3297         Likewise.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3299         Likewise.
3300         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3301         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3303 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3305         * string/bits/string3.h: Remove C++ style comments.
3307 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3309         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3310         instead of ternary condition.
3311         (do_sincos_2): Likewise.
3312         (__sin): Likewise.
3313         (__cos): Likewise.
3314         (slow): Likewise.
3315         (sloww): Likewise.
3316         (sloww1): Likewise.
3317         (bsloww): Likewise.
3318         (bsloww1): Likewise.
3320         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3321         instead of ternary condition.
3322         (do_sin_slow): Likewise.
3323         (do_sincos_1): Likewise.
3324         (do_sincos_2): Likewise.
3325         (__cos): Likewise.
3326         (sloww): Likewise.
3327         (sloww1): Likewise.
3328         (sloww2): Likewise.
3329         (bsloww): Likewise.
3330         (bsloww1): Likewise.
3331         (bsloww2): Likewise.
3333         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3334         check from here...
3335         (slow2): ... and here...
3336         (__sin): ... to here.
3338 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3340         * math/math.h
3341         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3342         Cast argument to its own type.
3343         * math/test-iszero-excess-precision.c: New file.
3344         * math/Makefile (tests): Add test-iszero-excess-precision.
3345         (CFLAGS-test-iszero-excess-precision.c): New variable.
3347 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3349         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3350         field, add err field.
3351         (__spawni_child): Report error through err member instead of pipe.
3352         (__spawnix): Likewise.
3354 2016-09-28  Zack Weinberg  <zackw@panix.com>
3356         * scripts/check-installed-headers.sh: Generalize treatment of
3357         sys/elf.h to all target architectures.
3359         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3360         deleted typedef ucontext_t.
3362 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3364         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3365         (__INTERNAL_SYSCALL1): Likewise.
3366         (__INTERNAL_SYSCALL2): Likewise.
3367         (__INTERNAL_SYSCALL3): Likewise.
3368         (__INTERNAL_SYSCALL4): Likewise.
3369         (__INTERNAL_SYSCALL5): Likewise.
3370         (__INTERNAL_SYSCALL6): Likewise.
3371         (__INTERNAL_SYSCALL7): Likewise.
3372         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3373         (__INTERNAL_SYSCALL_NARGS): Likewise.
3374         (__INTERNAL_SYSCALL_DISP): Likewise.
3375         (INTERNAL_SYSCALL_CALL): Likewise.
3376         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3377         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3378         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3379         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3380         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3381         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3382         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3383         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3384         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3385         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3386         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3387         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3388         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3390 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3392         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3393         macro.
3394         * math/libm-test.inc (iszero_test_data): New array.
3395         (iszero_test): New function.
3396         (main): Call iszero_test.
3397         * manual/arith.texi (Floating Point Classes): Document iszero.
3398         * manual/libm-err-tab.pl: Update comment on interfaces without
3399         ulps tabulated.
3401 2016-09-23  Zack Weinberg  <zackw@panix.com>
3403         * scripts/check-installed-headers.sh: New script.
3404         * Rules: In each directory that defines header files to be installed,
3405         run check-installed-headers.sh on them as a special test.
3406         * Makefile: Likewise for the headers installed at top level.
3408         * include/aliases.h, include/alloca.h, include/argz.h
3409         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3410         * include/elf.h, include/envz.h, include/err.h
3411         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3412         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3413         * include/link.h, include/malloc.h, include/mcheck.h
3414         * include/mntent.h, include/netinet/ether.h
3415         * include/nss.h, include/obstack.h, include/printf.h
3416         * include/pty.h, include/resolv.h, include/rpc/auth.h
3417         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3418         * include/rpc/clnt.h, include/rpc/des_crypt.h
3419         * include/rpc/key_prot.h, include/rpc/netdb.h
3420         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3421         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3422         * include/rpc/rpc_msg.h, include/rpc/svc.h
3423         * include/rpc/svc_auth.h, include/rpc/xdr.h
3424         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3425         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3426         * include/rpcsvc/ypupd.h, include/shadow.h
3427         * include/stdio_ext.h, include/sys/epoll.h
3428         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3429         * include/sys/prctl.h, include/sys/profil.h
3430         * include/sys/statfs.h, include/sys/sysctl.h
3431         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3432         * sysdeps/arm/nacl/include/bits/setjmp.h
3433         * sysdeps/mips/include/sys/asm.h
3434         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3435         * sysdeps/unix/sysv/linux/include/sys/timex.h
3436         * sysdeps/x86/fpu/include/bits/fenv.h:
3437         Add #ifndef _ISOMAC guard around internal declarations.
3438         Add multiple-inclusion guard if not already present.
3440 2016-09-23  Zack Weinberg  <zackw@panix.com>
3442         * sysdeps/generic/sys/ucontext.h
3443         * sysdeps/arm/sys/ucontext.h
3444         * sysdeps/i386/sys/ucontext.h
3445         * sysdeps/m68k/sys/ucontext.h
3446         * sysdeps/mips/sys/ucontext.h
3447         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3448         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3449         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3450         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3451         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3452         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3453         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3454         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3455         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3456         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3457         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3458         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3459         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3460         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3461         Include both bits/sigcontext.h and bits/sigstack.h.
3462         Fix grammar error in comment, if present.
3464         * bits/sigstack.h
3465         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3466         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3467         * sysdeps/unix/sysv/linux/bits/sigstack.h
3468         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3469         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3470         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3471         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3472         * bits/sigcontext.h
3473         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3474         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3475         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3476         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3477         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3478         as well as signal.h, if this was not already allowed.  Request
3479         definition of size_t if necessary.  Minimize semantically-null
3480         differences across files.
3482 2016-09-23  Zack Weinberg  <zackw@panix.com>
3484         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3485         Remove all logic conditional on __need macros.  Move all the
3486         conditionally defined types to their own headers...
3487         * time/bits/types/clock_t.h: Define clock_t here.
3488         * time/bits/types/clockid_t.h: Define clockid_t here.
3489         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3490         * time/bits/types/struct_timespec.h: Define struct timespec here.
3491         * time/bits/types/struct_timeval.h: Define struct timeval here.
3492         * time/bits/types/struct_tm.h: Define struct tm here.
3493         * time/bits/types/time_t.h: Define time_t here.
3494         * time/bits/types/timer_t.h: Define timer_t here.
3495         * time/Makefile: Install the new headers.
3497         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3498         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3499         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3500         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3501         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3502         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3503         * sysdeps/unix/sysv/linux/bits/resource.h
3504         * sysdeps/unix/sysv/linux/bits/timex.h
3505         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3506         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3507         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3508         * sysdeps/unix/sysv/linux/sys/acct.h
3509         * sysdeps/unix/sysv/linux/sys/timerfd.h
3510         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3511         * time/sys/time.h, time/sys/timeb.h
3512         Use the new bits/types headers.
3514         * include/time.h: Remove __need logic.
3515         * include/bits/time.h
3516         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3517         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3518         * include/bits/types/struct_itimerspec.h
3519         * include/bits/types/struct_timespec.h
3520         * include/bits/types/struct_timeval.h
3521         * include/bits/types/struct_tm.h:
3522         New wrapper headers.
3524 2016-09-23  Zack Weinberg  <zackw@panix.com>
3526         * sysdeps/mach/hurd/net/if_ppp.h
3527         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3528         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3529         if __USE_MISC is defined, to ensure struct ifreq is declared.
3531         * inet/netinet/ether.h: Condition all function prototypes
3532         on __USE_MISC, to ensure struct ether_addr is declared.
3534         * socket/bits/types/struct_osockaddr.h: New header.
3535         * include/bits/types/struct_osockaddr.h: New wrapper.
3536         * socket/Makefile: Install the new header.
3537         * socket/sys/socket.h, inet/protocols/talkd.h:
3538         Refer to bits/types/struct_osockaddr.h for the definition of
3539         struct osockaddr.
3541 2016-09-23  Zack Weinberg  <zackw@panix.com>
3543         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3544         * inet/protocols/routed.h, inet/protocols/talkd.h
3545         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3546         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3547         * sysdeps/generic/netinet/if_ether.h
3548         * sysdeps/generic/netinet/in_systm.h
3549         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3550         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3551         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3552         * sysdeps/mach/hurd/net/if_arp.h
3553         * sysdeps/mach/hurd/net/if_ppp.h
3554         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3555         * sysdeps/unix/sysv/linux/bits/in.h
3556         * sysdeps/unix/sysv/linux/net/ethernet.h
3557         * sysdeps/unix/sysv/linux/net/if_arp.h
3558         * sysdeps/unix/sysv/linux/net/if_ppp.h
3559         * sysdeps/unix/sysv/linux/net/if_shaper.h
3560         * sysdeps/unix/sysv/linux/net/route.h
3561         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3562         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3563         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3564         * sysdeps/unix/sysv/linux/netipx/ipx.h
3565         * sysdeps/unix/sysv/linux/sys/acct.h
3566         * include/arpa/nameser.h, include/resolv.h:
3567         Change all uses of u_char to unsigned char,
3568         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3569         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3570         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3571         and u_int64_t and u_quad_t to uint64_t.
3573         * mach/sys/reboot.h: Remove two casts of integer literals
3574         to the types they already have.
3576         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3577         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3578         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3579         from referring to 'unsigned char' to 'uint8_t' for consistency with
3580         the macro definition below.
3582         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3583         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3584         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3585         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3586         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3587         * sysdeps/unix/sysv/linux/sys/acct.h
3588         * include/arpa/nameser.h, include/resolv.h:
3589         Fix indentation disrupted by mechanical edits.
3591         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3592         * sysdeps/generic/netinet/in_systm.h
3593         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3594         * sysdeps/gnu/netinet/udp.h
3595         * sysdeps/unix/sysv/linux/net/ethernet.h
3596         * sysdeps/unix/sysv/linux/net/if_arp.h
3597         * sysdeps/unix/sysv/linux/net/if_ppp.h
3598         * sysdeps/unix/sysv/linux/net/if_shaper.h
3599         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3600         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3601         * sysdeps/unix/sysv/linux/netipx/ipx.h
3602         * sysdeps/unix/sysv/linux/sys/acct.h
3603         Include stdint.h for uintNN_t definitions.
3604         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3606 2016-09-23  Zack Weinberg  <zackw@panix.com>
3608         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3609         * sysdeps/unix/sysv/linux/netrose/rose.h:
3610         Include sys/socket.h and netax25/ax25.h.
3612         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3613         * resolv/arpa/nameser_compat.h:
3614         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3616         * sysdeps/unix/sysv/linux/sys/quota.h:
3617         Use __caddr_t instead of caddr_t.
3618         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3619         Use __clockid_t instead of clockid_t.
3621         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3623         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3624         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3625         expanding it.
3627         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3628         Define __glibc_c99_flexarr_available to 1 when the compiler
3629         supports C99-compatible flexible array members, 0 otherwise.
3630         * sysdeps/unix/sysv/linux/bits/socket.h
3631         * sysdeps/mach/hurd/bits/socket.h
3632         * bits/socket.h: Use __glibc_c99_flexarr_available in
3633         definitions of struct cmsghdr and CMSG_DATA.
3635 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3637         * manual/nss.texi (NSS Modules Interface): Adjust function return
3638         type to enum nss_status.  Document errnop argument.  Clarify
3639         h_errnop semantics.  Fix cross-reference formatting.
3640         (NSS Module Function Internals): Mention that *errnop needs to be
3641         set on failure, but not to zero.
3643 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3645         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3646         (get_random_name): New functions.
3647         (check_wrapper_flags_mode): Use linkat to give the new file a name
3648         determined by get_random_name.
3649         (do_test): Add calls to test open64 and openat64.
3651 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3653         * test-skeleton.c: Remove #include <stdarg.h>.
3655 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3657         [BZ #19826]
3658         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3659         initialization of static TLS entries.
3660         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3661         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3663 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3665         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3666         _hurd_malloc_fork_prepare.
3667         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3668         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3669         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3670         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3671         (_hurd_fork_child_hook): Drop malloc_fork_child.
3672         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3673         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3674         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3675         after locking locks (notably hurd_dtable_lock). Call
3676         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3677         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3678         __malloc_fork_unlock_child.
3679         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3681 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3683         * soft-fp/extendhftf2.c: New.
3684         * soft-fp/fixhfti.c: Likewise.
3685         * soft-fp/fixunshfti.c: Likewise.
3686         * soft-fp/floattihf.c: Likewise.
3687         * soft-fp/floatuntihf.c: Likewise.
3688         * soft-fp/half.h: Likewise.
3689         * soft-fp/trunctfhf2.c: Likewise.
3691 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3693         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3694         macro.
3695         * math/libm-test.inc (issubnormal_test_data): New array.
3696         (issubnormal_test): New function.
3697         * manual/arith.texi (Floating Point Classes): Document
3698         issubnormal.
3699         * manual/libm-err-tab.pl: Update comment on interfaces without
3700         ulps tabulated.
3702         * sysdeps/generic/stdint.h: Define
3703         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3704         <bits/libc-header-start.h> instead of including <features.h>.
3705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3738         * manual/arith.texi (Integers): Document these macros for types
3739         specified by width properties.
3740         * manual/lang.texi (Width of Type): Document these macros for
3741         other standard typedefs.
3742         * stdlib/tst-width-stdint.c: New file.
3743         * stdlib/Makefile (tests): Add tst-width-stdint.
3745 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3747         [BZ #20016]
3748         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3749         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3750         Move ...
3751         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3752         ... here, as compatibility symbols in a new file.
3753         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3754         * resolv/res_init.c (__res_vinit): Adjust member names.
3755         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3756         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3757         (res_send_rhook): Remove.
3758         (struct __res_state): Rename qhook, rhook members.
3760 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3762         malloc: Use __libc_lock wrappers.
3763         * malloc/arena.c (list_lock, free_list_lock): Define using
3764         __libc_lock_define_initialized.
3765         (arena_lock): Adjust formatting.
3766         * malloc/malloc.c (struct malloc_state): Define mutex using
3767         __libc_lock_define.
3768         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3769         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3770         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3771         (mutex_unlock, mutex_trylock): Remove.
3772         (__pthread_initialize): Remove unused macro.
3773         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3774         (mutex_unlock, mutex_trylock): Remove.
3776 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3778         [BZ #20592]
3779         Remove RR type classification macros.
3780         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3781         (ns_t_udp_p, ns_t_xfr_p): Remove.
3783 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3785         Remove misleading version information.
3786         * resolv/arpa/nameser.h (__NAMESER): Remove.
3787         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3789 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3791         Remove the always-defined BIND_4_COMPAT macro.
3792         * resolv/arpa/nameser.h: Unconditionally include
3793         <arpa/nameser_compat.h>.
3794         (BIND_4_COMPAT): Remove.
3795         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3797 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3799         [BZ #20591]
3800         Remove obsolete DNSSEC support.
3801         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3802         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3803         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3804         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3805         (ns_cert_types): Add comment.
3806         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3807         separately.
3808         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3809         (dst_s_dns_key_id): Remove.
3810         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3811         variables.
3813 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3815         [BZ #20524]
3816         * manual/string.texi (String/Array Comparison): Clarify the
3817         strverscmp behavior.
3819 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3821         * test-skeleton.c (xasprintf): Add function.
3822         * io/tst-open-tmpfile.c: New test.
3823         * io/Makefile (tests): Add it.
3825 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3827         Avoid running $(CXX) during build to obtain header file paths.
3828         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3829         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3830         * Makerules (cstdlib, cmath): Remove variables.  Use
3831         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3832         * configure: Regenerate.
3834 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3836         * Makeconfig (all-object-suffixes): Include .op only if
3837         $(build-profile).
3839 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3841         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3842         conditionals.  Do not define PATH_MAX.
3844 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3846         * posix/Makefile (tests): Add tst-spawn3.
3847         * posix/tst-spawn3.c: New file.
3848         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3849         if it is already opened for open action.
3851         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3852         all signals when executing the clone vfork child.
3853         (SIGALL_SET): Remove macro.
3855         * nptl/Makefile (tests): Add tst-exec5.
3856         * nptl/tst-exec5.c: New file.
3857         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3858         asynchronous cancellation.
3860 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3862         * hurd/exc2signal.c: #include <hurd/signal.h>
3863         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3864         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3865         accordingly.
3866         * mach/mach_error.c (mach_error): Fix old-style function definition.
3867         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3869 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3871         * math/Makefile (libm-calls): Remove s_nanF.
3872         (gen-libm-calls): Add s_nanF.
3874         * math/s_nan.c: Refactor into ...
3875         * math/s_nan_template.c: New file.
3877         * math/s_nanf.c: Removed.
3878         * math/s_nanl.c: Removed.
3879         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3880         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3882         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3883         (LDOUBLE_nanl_libm_version): New macro.
3885         * sysdeps/generic/math-type-macros-double.h:
3886         (M_STRTO_NAN): New macro.
3887         * sysdeps/generic/math-type-macros-float.h: Likewise.
3888         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3890         * sysdeps/generic/math-type-macros.h: Document
3891         M_STRTO_NAN.
3893 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3895         * math/s_nanf.c: Remove __nanf undef.
3896         * math/s_nan.c: Remove __nan undef.
3897         * math/s_nanl.c: Remove __nanl undef.
3899         * sysdeps/generic/math_private.h (__nan): Remove macro
3900         override.
3901         (__nanf): Likewise.
3902         (__nanl): Likewise.
3904 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3906         * math/Makefile (gen-all-calls): New variable.
3907         (generated): Replace gen-libm-calls with gen-all-calls.
3908         (gen-libm-templates.stmp): Likewise.  Also, ensure
3909         the output directory exists or is created and add
3910         dependency on the Makefile.
3911         (calls): Move s_ldexpF into gen-calls.
3912         (gen-calls): New variable.
3914         * math/s_ldexpf.c: Removed.
3915         * math/s_ldexpl.c: Removed.
3916         * math/s_ldexp.c: Refactored into ...
3917         * math/s_ldexp_template.c: New file.
3919         * sysdeps/generic/math-type-macros-double.h: Remove
3920         redundant fall-through definition of declare_mgen_alias.
3921         (declare_mgen_alias_2): New macro.
3923         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3924         New macro for function aliased to two exported symbols.
3926         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3927         new template file.
3928         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3930 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3932         * Makeconfig (all-object-suffixes): Remove .og.
3933         * Makerules (elide-routines.og): Remove.
3934         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3935         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3936         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3938 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3940         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3941         .os objects.
3943 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3945         [BZ #20615]
3946         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3947         fpu directory by non-fpu.
3948         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3949         on non-fpu directory from a fpu directory.
3951 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3953         * include/limits.h: Define
3954         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3955         <bits/libc-header-start.h> instead of including <features.h>.
3956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3967         * manual/lang.texi (Width of Type): Document these macros.
3968         * stdlib/tst-width.c: New file.
3969         * stdlib/Makefile (tests): Add tst-width.
3971 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3973         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3974         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3976 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3978         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3979         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3980         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3982 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3984         [BZ #18243]
3985         * rt/Makefile (test): Add tst-shm-cancel.
3986         * rt/tst-shm-cancel.c: New file.
3987         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3989         [BZ #18243]
3990         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3991         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3992         definition.
3993         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3994         uncontended case.
3995         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3996         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3997         (tf): Fix check for uncontended case.
3998         (do_test): Likewise.
3999         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4000         (tf): Fix check for uncontended case.
4001         (do_test): Likewise.
4002         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4003         (tf): Fix check for uncontended case.
4004         (do_test): Likewise.
4005         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4006         (tf): Fix check for uncontended case.
4007         (do_test): Likewise.
4009         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4010         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4012         [BZ #15765]
4013         * nptl/Makefile (tests): Add tst-sem16.
4014         * nptl/tst-sem16.c: New file.
4015         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4017         * nptl/sem_open.c (sem_open): Init pad value to 0.
4018         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4019         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4021 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4023         [BZ #20611]
4024         * inet/Makefile (routines): Add inet6_scopeid_pton.
4025         (tests): Add tst-inet6_scopeid_pton.
4026         * inet/inet6_scopeid_pton.c: New file.
4027         * inet/net-internal.h: Likewise.
4028         * inet/tst-inet6_scopeid_pton.c: New test.
4029         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4030         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4033 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4035         Remove support for compiling wrappers with PTW.
4036         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4037         * nptl/Makefile (pthread-compat-wrappers): Define.
4038         (libpthread-routines): Use pthread-compat-wrappers.
4039         * sysdeps/unix/sysv/linux/alpha/Makefile
4040         (libpthread-routines, libpthread-shared-only-routines): Remove
4041         ptw- prefix.
4042         * sysdeps/s390/nptl/Makefile
4043         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4044         * sysdeps/ia64/nptl/Makefile
4045         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4046         * sysdeps/nacl/Makefile (libpthread-routines): Use
4047         pthread-compat-wrappers to filter the routines list instead of the
4048         ptw- prefix.
4050 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4052         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4053         with L() and remove explicit suffix, convert real literals
4054         which can be equivalentally substituted with integers, and
4055         transform -L(x) to L(-x).
4057         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4058         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4059         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4060         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4061         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4063         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4064         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4065         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4066         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4067         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4068         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4070         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4071         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4072         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4073         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4075         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4076         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4081         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4083         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4084         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4085         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4086         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4087         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4088         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4089         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4092         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4093         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4105         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4108 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4110         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4112 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4114         * malloc/Makefile (tests): Remove individual static test names
4115         and just add all of tests-static.
4117         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4119 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4121         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4122         file.
4124         * sysdeps/sparc/fpu/fegetmode.c: New file.
4125         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4127         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4128         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4130         * sysdeps/s390/fpu/fegetmode.c: New file.
4131         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4133         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4134         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4135         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4136         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4137         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4138         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4140         * sysdeps/mips/fpu/fegetmode.c: New file.
4141         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4143         * sysdeps/m68k/fpu/fegetmode.c: New file.
4144         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4146         * sysdeps/ia64/fpu/fegetmode.c: New file.
4147         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4149         * sysdeps/hppa/fpu/fegetmode.c: New file.
4150         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4152         * sysdeps/arm/fegetmode.c: New file.
4153         * sysdeps/arm/fesetmode.c: Likewise.
4155         * sysdeps/alpha/fpu/fegetmode.c: New file.
4156         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4158         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4159         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4161         * math/fegetmode.c: New file.
4162         * math/fesetmode.c: Likewise.
4163         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4164         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4165         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4166         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4167         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4169         declaration.
4170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4171         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4172         typedef.
4173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4174         * sysdeps/aarch64/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/alpha/fpu/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/arm/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 macro.
4183         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4184         (femode_t): New typedef.
4185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4186         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4187         (femode_t): New typedef.
4188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4189         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4190         (femode_t): New typedef.
4191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4192         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4193         (femode_t): New typedef.
4194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4195         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4196         (femode_t): New typedef.
4197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4198         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4199         (femode_t): New typedef.
4200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4201         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4202         (femode_t): New typedef.
4203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4204         declaration.
4205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4206         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4207         (femode_t): New typedef.
4208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4209         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4210         (femode_t): New typedef.
4211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4212         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4213         (femode_t): New typedef.
4214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4215         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4216         (femode_t): New typedef.
4217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4218         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4219         (femode_t): New typedef.
4220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4221         * manual/arith.texi (FE_DFL_MODE): Document macro.
4222         (fegetmode): Document function.
4223         (fesetmode): Likewise.
4224         * math/Versions (fegetmode): New libm symbol at version
4225         GLIBC_2.25.
4226         (fesetmode): Likewise.
4227         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4228         (tests): Add test-femode and test-femode-traps.
4229         * math/test-femode-traps.c: New file.
4230         * math/test-femode.c: Likewise.
4231         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4232         alias for __fe_dfl_env.
4233         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4234         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4235         (__fe_dfl_mode): Likewise.
4236         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4237         version GLIBC_2.25.
4238         * sysdeps/nacl/libm.abilist: Update.
4239         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4252         Likewise.
4253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4254         Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4256         Likewise.
4257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4258         Likewise.
4259         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4265         Likewise.
4266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4267         Likewise.
4268         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4269         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4270         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4272 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4274         [BZ #20495]
4275         [BZ #20508]
4276         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4277         processors, set Use_dl_runtime_resolve_slow and set
4278         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4279         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4280         New.
4281         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4282         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4283         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4284         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4285         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4286         if Use_dl_runtime_resolve_opt is set.  Use
4287         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4288         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4289         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4290         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4291         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4292         New.
4293         (_dl_runtime_resolve_opt): Likewise.
4294         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4295         defined.
4297 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4299         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4300         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4302 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4304         Convert malloc to __libc_lock.  Automated part, using this Perl
4305         s/// command:
4306           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4307             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4308         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4309         conversion.
4311 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4313         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4314         (linknamespace-symlists-tests): Likewise.
4315         (linknamespace-header-tests): Likewise.
4317 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4319         [BZ #19810]
4320         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4321         * elf/tst-noload.c: New test case.
4322         * elf/Makefile (tests): Add tst-noload.
4324 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4326         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4328         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4329         not any more.
4331         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4333 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4335         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4336         (do_cos_slow): Likewise.
4337         (do_sin): Likewise.
4338         (do_sin_slow): Likewise.
4339         (slow): Likewise.
4340         (slow1): Likewise.
4341         (slow2): Likewise.
4342         (sloww): Likewise.
4343         (sloww1): Likewise.
4344         (sloww2): Likewise.
4345         (bsloww): Likewise.
4346         (bsloww1): Likewise.
4347         (bsloww2): Likewise.
4348         (cslow2): Likewise.
4350         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4352         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4353         arguments.  Consolidate input partitioning from callers here.
4354         (do_cos_slow): Likewise.
4355         (do_sin): Likewise.
4356         (do_sin_slow): Likewise.
4357         (do_sincos_1): Remove the no longer necessary input partitioning.
4358         (do_sincos_2): Likewise.
4359         (__sin): Likewise.
4360         (__cos): Likewise.
4361         (slow1): Likewise.
4362         (slow2): Likewise.
4363         (sloww1): Likewise.
4364         (sloww2): Likewise.
4365         (bsloww1): Likewise.
4366         (bsloww2): Likewise.
4367         (cslow2): Likewise.
4369 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4371         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4372         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4373         outside of allocated array.
4375 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4377         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4378         instead of MB_CUR_MAX to avoid variable-length array.
4380 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4382         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4383         (type-double-routines): Add k_rem_pio2.
4384         (type-float-routines): Add k_rem_pio2f.
4386         * sysdeps/generic/math_private.h:
4387         (__kernel_rem_pio2l): Removed.
4389         * math/k_rem_pio2l.c: Removed.
4390         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4391         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4392         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4393         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4395 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4397         * math/Makefile (gen-libm-calls): Add s_fmin
4398         (libm-calls): Remove above.
4400         * math/s_fmin.c: Refactor into ...
4401         * math/s_fmin_template.c: New file.
4403         * math/s_fminf.c: Removed.
4404         * math/s_fminl.c: Removed.
4405         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4406         (LDOUBLE_fmin_libm_version): New macro.
4408         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4409         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4411 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4413         * math/Makefile: (gen-libm-calls): Add s_fmax.
4414         (libm-calls): Remove above.
4416         * math/s_fmax.c: Refactor into ...
4417         * math/s_fmax_template.c: New file.
4418         * math/s_fmaxf.c: Removed.
4419         * math/s_fmaxl.c: Removed.
4421         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4422         (LDOUBLE_fmaxl_libm_version): New macro.
4424         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4425         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4427         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4428         s_fmin.c to pick the aarch64 version of the file.
4429         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4430         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4432 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4434         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4435         (libm-calls): Remove above.
4437         * math/s_nextdown.c: Refactor into ...
4438         * math/s_nextdown_template.c: New file.
4439         * math/s_nextdownf.c: Removed.
4440         * math/s_nextdownl.c: Removed.
4442         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4444 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4446         * math/Makefile (gen-libm-calls): Add s_fdim.
4447         (libm-calls): Move to above.
4449         * math/s_fdim.c: Renamed and refactored into to ...
4450         * math/s_fdim_template.c: New file.
4451         * math/s_fdiml.c: Removed.
4452         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4453         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4455         * sysdeps/generic/math-type-macros-double.h:
4456         (declare_mgen_alias): Don't declare if already declared.
4457         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4458         Likewise.
4460         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4461         (declare_mgen_alias): Don't declare if already declared.
4462         (M_LIBM_NEED_COMPAT): Likewise.
4463         (declare_mgen_libm_compat): Likewise.
4464         (LDOUBLE_fdiml_libm_version): New macro.
4466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4467         Include math/s_fdim.c now that ldbl-opt version is not needed.
4468         (declare_mgen_alias): New macro to disable aliasing.
4470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4471         (declare_mgen_alias): Likewise.
4472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4473         (declare_mgen_alias): Likewise.
4474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4475         (declare_mgen_alias): Likewise.
4476         (M_LIBM_NEED_COMPAT): Likewise.
4478 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4480         [BZ #20525]
4481         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4482         Include <linux/quota.h>.
4483         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4484         and btodb.
4485         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4486         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4487         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4488         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4489         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4490         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4491         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4492         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4493         types.
4494         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4495         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4497 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4500         (gammal_positive): Fix spacing.
4501         (__ieee754_gammal_r): Likewise.
4503 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4505         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4506         (_Float128): Define as long double, always.
4507         (L): Apply long double type suffix, always.
4509         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4510         _Float128, excepting comments.
4512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4514         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4515         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4516         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4517         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4518         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4519         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4520         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4521         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4523         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4526         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4527         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4528         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4529         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4530         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4531         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4532         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4533         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4534         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4535         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4536         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4538         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4541         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4543         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4545         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4547         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4552         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4553         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4555         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4556         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4557         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4558         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4559         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4560         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4561         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4562         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4563         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4564         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4565         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4566         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4568         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4569         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4572         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4573         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4574         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4575         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4576         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4577         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4578         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4579         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4581         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4582         _Float128, and include math_private.h.
4583         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4586         long double semantics.
4587         (_Float128): Likewise.
4588         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4589         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4590         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4591         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4593 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4595         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4596         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4597         * sysdeps/s390/configure: Regenerated.
4598         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4599         instruction for raising over-/underflow if z196 zarch is supported
4600         by default.
4601         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4603 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4605         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4606         it point to a dumb buffer for RPC to fill it.
4608 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4610         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4611         instead of if/else.
4612         (do_sin_slow): Likewise.
4613         (do_sincos_1): Use fabs instead of if/else.
4614         (do_sincos_2): Likewise.
4615         (__sin): Likewise.
4616         (__cos): Likewise.
4617         (slow2): Likewise.
4618         (sloww): Likewise.
4619         (sloww1): Likewise.  Drop argument M.
4620         (sloww2): Use fabs instead of if/else.
4621         (bsloww): Likewise.
4622         (bsloww1): Likewise.
4623         (bsloww2): Likewise.
4625         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4626         fall through comment.
4627         (do_sincos_1): Likewise.
4629         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4630         Consolidate switch cases 0 and 2.
4632 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4634         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4635         (libm-calls): Remove the above.
4637         * math/s_cexp_template.c: Update using type-generic macros.
4638         * math/s_clog10_template.c: Likewise.
4639         * math/s_cpow_template.c: Likewise.
4640         * math/s_clog_template.c: Likewise.
4641         * math/s_cproj_template.c: Likewise.
4642         * math/s_csqrt_template.c: Likewise.
4644         * math/s_cexp.c: Removed.
4645         * math/s_cexpf.c: Removed.
4646         * math/s_cexpl.c: Removed.
4647         * math/s_clog10.c: Removed.
4648         * math/s_clog10f.c: Removed.
4649         * math/s_clog10l.c: Removed.
4650         * math/s_cpow.c: Removed.
4651         * math/s_cpowf.c: Removed.
4652         * math/s_cpowl.c: Removed.
4653         * math/s_clog.c: Removed.
4654         * math/s_clogf.c: Removed.
4655         * math/s_clogl.c: Removed.
4656         * math/s_cproj.c: Removed.
4657         * math/s_cprojf.c: Removed.
4658         * math/s_cprojl.c: Removed.
4659         * math/s_csqrt.c: Removed.
4660         * math/s_csqrtf.c: Removed.
4661         * math/s_csqrtl.c: Removed.
4663         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4664         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4665         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4666         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4667         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4668         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4670         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4671         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4672         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4673         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4674         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4675         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4676         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4677         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4678         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4679         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4680         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4682         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4683         version.
4685         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4686         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4687         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4688         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4690 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4692         * s_cexp_template.c: Copy of s_cexp.c.
4693         * s_clog_template.c: Copy of s_clog.c.
4694         * s_clog10_template.c: Copy of s_clog10.c.
4695         * s_cpow_template.c: Copy of s_cpow.c.
4696         * s_cproj_template.c: Copy of s_cproj.c.
4697         * s_csqrt_template.c: Copy of s_csqrt.c.
4699 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4701         [BZ #20517]
4702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4703         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4704         exported.
4706 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4708         * math/fetestexceptflag.c: New file.
4709         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4710         Stefan Liebler.
4711         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4712         (fetestexceptflag): New function declaration.
4713         * manual/arith.texi (fetestexceptflag): Document function.
4714         * math/Versions (fetestexceptflag): New libm symbol at version
4715         GLIBC_2.25.
4716         * math/Makefile (libm-support): Add fetestexceptflag.
4717         (tests): Add test-fetestexceptflag.
4718         * math/test-fetestexceptflag.c: New file.
4719         * sysdeps/nacl/libm.abilist: Update.
4720         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4727         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4728         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4737         Likewise.
4738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4739         Likewise.
4740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4742         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4743         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4744         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4746         Likewise.
4747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4748         Likewise.
4749         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4751         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4753 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4755         [BZ #20432]
4756         Avoid strong references to malloc-internal symbols when linking
4757         statically, to support statically interposed mallocs.
4758         * include/libc-symbols.h (call_function_static_weak): New macro.
4759         * malloc/Makefile (tests): Add tst-interpose-nothread,
4760         tst-interpose-thread, tst-interpose-static-nothread,
4761         tst-interpose-static-thread.
4762         (tests-static): Add tst-interpose-static-nothread,
4763         tst-interpose-static-thread.
4764         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4765         tst-interpose-aux-thread.o.
4766         (test-extras): Add tst-interpose-aux-nothread,
4767         tst-interpose-aux-thread.
4768         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4769         tst-interpose-aux-nothread.o.
4770         (tst-interpose-thread, tst-interpose-static-thread): Link with
4771         tst-interpose-aux-thread.o and libthread.
4772         * malloc/tst-interpose-aux-nothread.c: New file.
4773         * malloc/tst-interpose-aux-thread.c: Likewise.
4774         * malloc/tst-interpose-aux.c: Likewise.
4775         * malloc/tst-interpose-aux.h: Likewise.
4776         * malloc/tst-interpose-nothread.c: Likewise.
4777         * malloc/tst-interpose-skeleton.c: Likewise.
4778         * malloc/tst-interpose-static-nothread.c: Likewise.
4779         * malloc/tst-interpose-static-thread.c: Likewise.
4780         * malloc/tst-interpose-thread.c: Likewise.
4781         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4782         * sysdeps/mach/hurd/fork.c (__fork): Only call
4783         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4784         __malloc_fork_unlock_child if defined.
4785         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4787 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4789         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4790         timespec C99 designated initialization.
4792 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4794         [BZ #19946]
4795         Avoid expected SIGALRM signals.
4796         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4797         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4798         (xpthread_create, xpthread_detach, xpthread_join)
4799         (delayed_exit_thread, delayed_exit): New functions.
4800         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4801         (tf): Use xpthread_cond_wait.
4802         (do_test): Likewise.  Replace alarm with delayed_exit.
4803         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4804         (do_test): Call delayed_exit.  Report failure.
4805         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4806         (do_test): Call delayed_exit.
4807         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4808         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4809         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4810         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4811         error.
4812         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4813         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4814         error.
4815         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4816         (do_test): Call delayed_exit.
4817         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4818         (do_test): Call delayed_exit.
4819         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4820         (do_test): Call delayed_exit instead of alarm.  Use
4821         xpthread_mutex_lock.
4822         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4823         (do_test): Call delayed_exit instead of alarm.  Use
4824         xpthread_mutex_lock.
4825         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4826         (do_test): Call delayed_exit instead of alarm.
4827         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4828         (do_test): Call delayed_exit instead of alarm.  Use
4829         xpthread_spin_lock.
4830         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4831         (do_test): Call delayed_exit instead of alarm.  Use
4832         xpthread_join.
4834 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4836         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4837         adjust CFA when allocating register save area on re-aligned
4838         stack.
4840 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4842         * string/tst-cmp.c: New test.
4843         * string/Makefile (tests): Add it.
4845 2016-08-25  Mark Wielaard  <mark@klomp.org>
4847         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4848         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4849         (check_tree_recurse): Use newly defined accessors.
4850         (check_tree): Likewise.
4851         (maybe_split_for_insert): Likewise.
4852         (__tfind): Likewise.
4853         (__tdelete): Likewise.
4854         (trecurse): Likewise.
4855         (tdestroy_recurse): Likewise.
4856         (__tsearch): Likewise. And add asserts for malloc alignment.
4857         (__twalk): Cast root to node in case CHECK_TREE is defined.
4859 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4861         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4863 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4865         * math/Makefile (libm-gen-calls): Add
4866         catan, catanh, ctan, ctanh.
4867         (libm-calls): Remove the above.
4869         * math/s_catan_template.c: Update using type-generic macros.
4870         * math/s_catanh_template.c: Likewise.
4871         * math/s_ctan_template.c: Likewise.
4872         * math/s_ctanh_template.c: Likewise.
4874         * math/s_catanf.c: Removed.
4875         * math/s_catan.c: Removed.
4876         * math/s_catanl.c: Removed.
4877         * math/s_catanhf.c: Removed.
4878         * math/s_catanh.c: Removed.
4879         * math/s_catanhl.c: Removed.
4880         * math/s_ctanf.c: Removed.
4881         * math/s_ctan.c: Removed.
4882         * math/s_ctanl.c: Removed.
4883         * math/s_ctanhf.c: Removed.
4884         * math/s_ctanh.c: Removed.
4885         * math/s_ctanhl.c: Removed.
4887         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4888         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4889         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4890         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4891         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4892         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4894         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4895         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4896         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4897         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4899 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4901         * s_catan_template.c: Copy of s_catan.c.
4902         * s_catanh_template.c: Copy of s_catanh.c.
4903         * s_ctan_template.c: Copy of s_ctan.c.
4904         * s_ctanh_template.c: Copy of s_ctanh.c.
4906 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4908         * math/Makefile (gen-libm-calls): Move
4909         casin, casinh, csin, csinh here.
4910         (libm-calls): Remove the above.
4912         * math/s_casin_template.c: Update using type-generic macros.
4913         * math/s_casinh_template.c: Likewise.
4914         * math/s_csin_template.c: Likewise.
4915         * math/s_csinh_template.c: Likewise.
4916         * math/k_casinh_template.c: Likewise.
4918         * math/s_casinf.c: Removed.
4919         * math/s_casin.c: Removed.
4920         * math/s_casinl.c: Removed.
4921         * math/s_casinh.c: Removed.
4922         * math/s_casinhf.c: Removed.
4923         * math/s_casinhl.c: Removed.
4924         * math/s_csin.c: Removed.
4925         * math/s_csinf.c: Removed.
4926         * math/s_csinl.c: Removed.
4927         * math/s_csinh.c: Removed.
4928         * math/s_csinhf.c: Removed.
4929         * math/s_csinhl.c: Removed.
4930         * math/k_casinh.c: Removed.
4931         * math/k_casinhf.c: Removed.
4932         * math/k_casinhl.c: Removed.
4934         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4935         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4936         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4937         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4939         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4940         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4941         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4942         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4943         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4944         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4945         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4946         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4948         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4949         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4950         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4951         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4953         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4954         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4955         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4956         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4958 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4960         * s_casin_template.c: Copy of s_casin.c.
4961         * s_casinh_template.c: Copy of s_casinh.c.
4962         * s_csin_template.c: Copy of s_csin.c.
4963         * s_csinh_template.c: Copy of s_csinh.c.
4964         * k_casinh_template.c: Copy of k_casinh.c.
4966 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4968         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4970 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4972         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4973         (mul_split) Remove, rename as mul_splitl, remove
4974         redundant float.h include, and include via mul_splitl.h
4976         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4977         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4978         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4979         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4980         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4982         * math/mul_splitl.h: New file.
4984         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4985         Move into mul_split.h, and remove redundant float.h include.
4987         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4988         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4989         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4990         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4992         * math/mul_split.h: New file.
4994 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4996         * math/Makefile (libm-gen-calls): Move
4997         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4998         (libm-calls): Remove above.
5000         * math/s_cacos_template.c: Update using type-generic macros.
5001         * math/s_cacosh_template.c: Likewise.
5002         * math/s_ccos_template.c: Likewise.
5003         * math/s_ccosh_template.c: Likwise.
5005         * math/s_cacosf.c: Removed.
5006         * math/s_cacos.c: Removed.
5007         * math/s_cacosl.c: Removed.
5008         * math/s_cacoshf.c: Removed.
5009         * math/s_cacosh.c: Removed.
5010         * math/s_cacoshl.c: Removed.
5011         * math/s_ccosf.c: Removed.
5012         * math/s_ccos.c: Removed.
5013         * math/s_ccosl.c: Removed.
5014         * math/s_ccoshf.c: Removed.
5015         * math/s_ccosh.c: Removed.
5016         * math/s_ccoshl.c: Removed.
5018         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5019         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5020         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5021         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5022         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5023         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5025         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5026         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5027         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5028         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5030         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5031         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5032         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5033         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5035 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5037         * s_cacos_template.c: Copy of s_cacos.c.
5038         * s_cacosh_template.c: Copy of s_cacosh.c.
5039         * s_ccos_template.c: Copy of s_ccos.c.
5040         * s_ccosh_template.c: Copy of s_ccosh.c.
5042 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5044         * stdlib/tst-strtod-round-skeleton.c:
5045         Refactored from tst-strtod-round.c.
5047         (L_): New macro to apply literal modifier.
5048         (FNPFX): New macro to select str or wcs prefix.
5049         (CHAR): New macro to choose wchar_t or char.
5050         (STRM): New macro to choose printf for tested character type.
5052         (STRTO): New macro to choose appropriate string -> real function.
5053         (FNPFXS): Stringitized version of FNPFX.
5054         (STR): Support for above macro.
5055         (STRX): Likewise.
5057         (TEST): Update with above macros.
5058         (test): Likewise.
5059         (GEN_ONE_TEST): Likewise.
5060         (test_in_one_mode): Likewise.
5062         * stdlib/tst-strtod-round.c: New file.
5063         * wcsmbs/tst-wcstod-round.c: New file.
5065         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5066         (tst-wcstod-round): Add libm depencency for fesetround.
5068 2016-08-19  Zack Weinberg  <zackw@panix.com>
5070         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5072 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5074         [BZ #20477]
5075         * resolv/res_hconf.c (do_init): Use atomic access.
5076         * resolv/res_hconf.h: Add comments.
5077         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5078         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5081 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5083         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5084         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5086         Likewise.
5088 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5090         [BZ #16907]
5091         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5092         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5093         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5094         (__attribute__): Remove definition.
5096 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5098         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5099         Remove unused sqrtl declaration.
5101 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5103         * math/Makefile: (gen-libm-templates.stmp): New rule.
5104         (libm-calls): Move carg conj cimag and cabs into ...
5105         (gen-libm-calls): New variable.
5106         (generated): Inform Make objects from gen-libm-calls
5107         may be generated.
5109         * sysdeps/generic/math-type-macros.h: New file.
5110         * sysdeps/generic/math-type-macros-float.h: Likewise.
5111         * sysdeps/generic/math-type-macros-double.h: Likewise.
5112         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5113         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5116         * math/cabs.c: Refactor into
5117         * math/cabs_template.c: new file.
5118         * math/cabsf.c: Removed.
5119         * math/cabsl.c: Removed.
5120         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5121         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5123         * math/carg.c: Refactor into
5124         * math/carg_template.c: new file.
5125         * math/cargf.c: Removed.
5126         * math/cargl.c: Removed.
5127         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5128         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5130         * math/conj.c: Refactor into
5131         * math/conj_template.c: new file.
5132         * math/conjf.c: Removed.
5133         * math/conjl.c: Removed.
5134         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5135         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5137         * math/cimag.c: Refactor into
5138         * math/cimag_template.c: new file.
5139         * math/cimagf.c: Removed.
5140         * math/cimagl.c: Removed.
5141         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5142         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5144         * math/cimag.c: Refactor into
5145         * math/cimag_template.c: new file.
5146         * math/cimagf.c: Removed.
5147         * math/cimagl.c: Removed.
5148         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5149         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5151 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5153         Reduce time to expected nptl/tst-once5 failure.
5154         * nptl/tst-once5.cc (TIMEOUT): Define.
5156 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5158         [BZ #20452]
5159         Avoid additional copies of objects in libc.a in static libraries.
5160         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5161         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5162         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5163         rt-sysdep.
5164         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5165         Add nptl-sysdep.
5166         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5167         Add ptw-sysdep.
5168         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5169         rt-sysdep.
5170         * sysdeps/unix/sysv/linux/alpha/Makefile
5171         (libpthread-shared-only-routines): Add ptw-sysdep,
5172         ptw-sigprocmask, ptw-rt_sigaction.
5173         * sysdeps/unix/sysv/linux/ia64/Makefile
5174         (librt-shared-only-routines): Add rt-sysdep.
5175         * sysdeps/unix/sysv/linux/i386/Makefile
5176         (libpthread-shared-only-routines): Add libc-do-syscall.
5177         * sysdeps/unix/sysv/linux/microblaze/Makefile
5178         (libpthread-shared-only-routines): Add sysdep.
5179         * sysdeps/unix/sysv/linux/powerpc/Makefile
5180         (librt-shared-only-routines): Add rt-sysdep.
5181         (libpthread-shared-only-routines): Add sysdep.
5182         * sysdeps/unix/sysv/linux/s390/Makefile
5183         (librt-shared-only-routines): Add rt-sysdep.
5184         * sysdeps/unix/sysv/linux/sparc/Makefile
5185         (librt-shared-only-routines): Add rt-sysdep.
5186         (libpthread-shared-only-routines): Add sysdep.
5187         * sysdeps/unix/sysv/linux/tile/Makefile
5188         (libpthread-shared-only-routines): Likewise.
5190 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5192         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5193         Mask implicit bit out of unpacked value.
5194         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5195         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5196         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5198         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5200         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5202         * sysdeps/s390/fpu/fesetexcept.c: New file.
5204         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5205         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5206         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5208         * sysdeps/mips/fpu/fesetexcept.c: New file.
5210         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5212         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5214         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5216         * sysdeps/arm/fesetexcept.c: New file.
5218         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5220         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5222         * math/fesetexcept.c: New file.
5223         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5224         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5225         * math/fenv.h: Define
5226         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5227         <bits/libc-header-start.h> instead of including <features.h>.
5228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5229         declaration.
5230         * manual/arith.texi (fesetexcept): Document function.
5231         * math/Versions (fesetexcept): New libm symbol at version
5232         GLIBC_2.25.
5233         * math/Makefile (libm-support): Add fesetexcept.
5234         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5235         * math/test-fesetexcept.c: New file.
5236         * math/test-fesetexcept-traps.c: Likewise.
5237         * sysdeps/nacl/libm.abilist: Update.
5238         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5245         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5246         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5249         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5251         Likewise.
5252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5253         Likewise.
5254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5255         Likewise.
5256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5257         Likewise.
5258         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5259         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5260         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5261         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5262         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5264         Likewise.
5265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5266         Likewise.
5267         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5269         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5271 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5273         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5274         New.
5275         (do_test): Apply default_stack_size_in_mb if not set.
5276         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5278 2016-08-15  Andreas Schwab  <schwab@suse.de>
5280         [BZ #20435]
5281         CVE-2016-6323
5282         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5283         as .cantunwind.
5285 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5287         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5288         comment from fraiseexcpt.c.
5290         * math/test-fexcept.c (feraiseexcept_exact): New function.
5291         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5292         (test_except): Likewise.
5294 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5296         [BZ #20455]
5297         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5298         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5299         to be restored.
5301         * math/test-fexcept-traps.c: New file.
5302         * math/test-fexcept.c: Likewise.
5303         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5304         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5305         macro.
5306         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5307         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5309 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5311         * include/atomic.h (atomic_fetch_and_relaxed,
5312         atomic_fetch_and_release, atomic_fetch_or_release,
5313         atomic_fetch_xor_release): New.
5315 2016-08-06  Christian Seiler  <christian@iwakd.de>
5317         [BZ #20444]
5318         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5319         MACH_PORT_NULL.
5321 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5323         * math/s_fdim.c: Avoid alias renamed.
5324         * math/s_fdimf.c: Likewise.
5325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5326         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5327         Add s_fdimf-vis3, s_fdim-vis3.
5328         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5329         (CFLAGS-s_fdim-vis3.c): Likewise.
5330         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5331         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5333 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5336         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5337         Remove s_fdimf-vis3, s_fdim-vis3.
5338         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5339         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5346         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5347         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5349 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5351         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5352         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5353         -Wa,-Av9a -mvis.
5355 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5357         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5358         LIT() to individual constants in simple expressions
5359         after splitting on spaces.
5360         (_apply_lit): Rename replaced version, and use it to
5361         apply to what appears to be a token.
5363         * math/libm-test.inc: Fix many, many issues with
5364         spacing.
5366 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5368         * math/math.h: Move comment about <bits/mathdef.h> definitions
5369         above inclusion of <bits/mathdef.h>.  Do not mention
5370         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5372 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5374         * include/atomic.h (atomic_exchange_relaxed): New.
5376 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5378         * math/e_scalb.c: Do not include <fenv.h>.
5379         (invalid_fn): Do calculation resulting in NaN instead of raising
5380         FE_INVALID and returning a NaN explicitly.
5381         * math/e_scalbf.c: Do not include <fenv.h>.
5382         (invalid_fn): Do calculation resulting in NaN instead of raising
5383         FE_INVALID and returning a NaN explicitly.
5384         * math/e_scalbl.c: Do not include <fenv.h>.
5385         (invalid_fn): Do calculation resulting in NaN instead of raising
5386         FE_INVALID and returning a NaN explicitly.
5388 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5390         * po/de.po: Updated from Translation Project.
5391         * po/fi.po: Likewise.
5392         * po/sv.po: Likewise.
5394 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5396         [BZ #20452]
5397         Use sysdep.o from libc.a in static libraries.
5398         * sysdeps/unix/sysv/linux/i386/Makefile
5399         (libpthread-shared-only-routines): Add sysdep.
5400         (librt-shared-only-routines): Likewise.
5402 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5404         * math/tgmath.h (nextdown): Define if
5405         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5406         (nextup): Likewise.
5408         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5409         macro.
5410         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5411         Document.
5412         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5413         Document macro.
5414         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5415         (exp10f): Likewise.
5416         (exp10l): Likewise.
5417         * math/bits/mathcalls.h (exp10): Declare if
5418         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5420         * manual/arith.texi (nextup): Fix typo in last change.
5422 2016-08-03  Zack Weinberg  <zackw@panix.com>
5424         [BZ #19239]
5425         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5426         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5427         define major, minor, and makedev to issue deprecation warnings on use.
5428         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5429         previously-activated deprecation warnings for these macros and prevent
5430         subsequent inclusions of this header from having any effect.
5431         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5432         including <sys/sysmacros.h>, and undefine it again afterward.
5434 2016-08-03  Zack Weinberg  <zackw@panix.com>
5436         * sysdeps/generic/sys/sysmacros.h: Delete file.
5437         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5438         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5439         * bits/sysmacros.h: ... here; this encoding is now the generic
5440         encoding.  Now defines only the following macros:
5441         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5442         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5443         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5445         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5446         bits/sysmacros.h and the above new macros to generate the
5447         public implementations of major, minor, and makedev.
5448         * misc/tst-makedev.c: New test.
5449         * include/sys/sysmacros.h: New wrapper.
5451         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5452         (routines): Add makedev.
5453         (tests): Add tst-makedev.
5454         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5455         gnu_dev_makedev.
5456         * posix/Makefile (headers): Remove sys/sysmacros.h.
5457         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5459         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5460         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5461         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5462         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5463         * sysdeps/unix/sysv/linux/arm/libc.abilist
5464         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5465         * sysdeps/unix/sysv/linux/i386/libc.abilist
5466         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5467         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5468         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5469         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5470         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5471         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5472         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5473         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5474         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5479         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5481         * sysdeps/unix/sysv/linux/sh/libc.abilist
5482         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5483         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5486         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5487         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5488         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5489         Add GLIBC_2.25.
5491         * include/features.h (__glibc_clang_prereq): New macro.
5492         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5493         (__attribute_deprecated_msg__): New macros.
5495 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5497         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5498         macro.
5499         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5500         * manual/arith.texi (issignaling): Document as ISO from TS
5501         18661-1:2014.
5502         (nextup): Likewise.
5503         (nextupf): Likewise.
5504         (nextupl): Likewise.
5505         (nextdown): Likewise.
5506         (nextdownf): Likewise.
5507         (nextdownl): Likewise.
5508         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5509         macro.
5510         * math/math.h: Define
5511         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5512         <bits/libc-header-start.h> instead of including <features.h>.
5513         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5514         [__USE_GNU].
5515         * math/bits/mathcalls.h (nextdown): Declare if
5516         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5517         (nextup): Likewise.
5518         (__issignaling): Likewise.
5520 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5522         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5523         check, and remove __glibc_likely hint
5524         from FP_INFINITE check.
5525         * s_csinhf.c (__csinhf): Likewise.
5527         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5528         hint from FP_INFINITE check.
5529         * s_csinhl.c (__csinhl): Likewise.
5531 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5533         * math/Makefile (libm-calls): Insert F placeholder into
5534         object names.  Move w_lgamma_compat* routines into
5535         (libm-compat-calls): New variable.
5536         (libm-compat-calls-ldouble-yes): New variable.
5537         (calls): Insert F placeholder.
5538         (generated): Redefine using new type-foreach macro call.
5539         (routines): Likewise.
5541         (types): New variable to hold a list of symbolic names
5542         for each type supported by the target machine.
5543         (libm-routines): Redefine using new types variable.
5544         (type-foreach): macro to replace fooF with the
5545         appropriately suffixed foo for each types.
5547         (type-ldouble-suffix): New variable.
5548         (type-ldouble-routines): Likewise.
5549         (type-ldouble-yes): Likewise.
5550         (type-double-suffix): Likewise.
5551         (type-double-routines): Likewise.
5552         (type-float-suffix): Likewise.
5553         (type-float-routines): Likewise.
5555         (dbl-only-routines): Remove.
5556         (long-c-yes): Likewise.
5557         (long-m-routines): Likewise.
5558         (long-m-support): Likewise.
5559         (long-m-yes): Likewise.
5560         (test-longdouble-yes): Likewise.
5562         (test-float.o): Simplify by increasing the scope of the
5563         recipe which adds libm-test.stmp to the vector types.
5564         (test-ifloat.o): Likewise.
5565         (test-float-finite.o): Likewise.
5566         (test-double.o): Likewise
5567         (test-idouble.o): Likewise.
5568         (test-double-finite.o): Likewise.
5569         (test-ldouble.o): Likewise
5570         (test-ildoubl.o): Likewise.
5571         (test-ldouble-finite.o): Likewise.
5573         (libm-tests): Redefine type tests using foreach and the
5574         list of types in types.
5576         (CPPFLAGS-test-ildoubl.c): Rename to
5577         (CPPFLAGS-test-ildouble.c): New variable
5579         * math/test-ildoubl.c: Rename to
5580         * math/test-ildouble.c: New file.
5582 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5584         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5585         Use fabsl instead of fabs.
5586         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5587         Likewise.
5588         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5589         Add long double suffix to constant to ensure proper
5590         promotion to long double.
5592 2016-08-03  Tom Tromey  <tom@tromey.com>
5594         [BZ #20311]
5595         * nptl_db/Makefile (headers): Add proc_service.h.
5596         * nptl_db/proc_service.h: Add include guard.  Use
5597         __BEGIN/__END_DECLS.
5598         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5599         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5600         arguments.
5603 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5605         [BZ #17730]
5606         Avoid using memalign for TCB allocations.
5607         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5608         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5609         Avoid alignment gap in the TLS_DTV_AT_TP case.
5610         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5611         determine the pointer to free.
5612         * nptl/tst-tls3-malloc.c: New test.
5613         * nptl/Makefile (tests): Add it.
5614         (tst-tls3-malloc): Link with libdl, libpthread.
5615         (LDFLAGS-tst-tls3-malloc): Set.
5616         (tst-tls3-malloc.out): Depend on DSO used in test.
5618 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5620         [BZ #17730]
5621         Avoid using memalign for TLS allocations.
5622         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5623         is_static member with to_free member.
5624         (union dtv): Use struct dtv_pointer.
5625         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5626         dtv_pointer instead of is_static.
5627         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5628         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5629         instead of val.
5630         (allocate_dtv_entry): New function.
5631         (allocate_and_init): Return struct dtv_pointer.  Call
5632         allocate_dtv_entry instead of __libc_memalign.
5633         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5634         instead of val.
5635         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5636         instead of is_static.  Adjust call to allocate_and_init.
5637         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5638         struct dtv_pointer instead of val.
5640 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5642         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5643         (MALLOC_ALIGN_MASK): Move ...
5644         * malloc/malloc-internal.h: ... to here.
5645         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5647 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5649         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5650         (UDP_ENCAP_GTP1U): Likewise.
5652         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5653         (PF_MAX): Update value.
5654         (AF_QIPCRTR): New macro.
5656 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5658         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5659         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5660         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5661         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5662         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5663         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5664         s_truncf-vis3, s_trunc-vis3.
5665         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5666         (CFLAGS-s_ceil-vis3.c): Likewise.
5667         (CFLAGS-s_floorf-vis3.c): Likewise.
5668         (CFLAGS-s_floor-vis3.c): Likewise.
5669         (CFLAGS-s_truncf-vis3.c): Likewise.
5670         (CFLAGS-s_trunc-vis3.c): Likewise.
5671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5679         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5680         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5681         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5682         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5684 2016-08-02  David S. Miller  <davem@davemloft.net>
5686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5687         (__nearbyint_vis3): Don't check for sNaN before float register is
5688         loaded with the incoming argument.
5689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5690         (__nearbyintf_vis3): Likewise.
5691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5692         Likewise.
5693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5694         Likewise.
5696         * string/test-strncmp.c (do_test_limit): Make sure the test data
5697         stream is aligned as required for the type "CHAR".
5698         (do_test): Likewise.
5700 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5702         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5703         by beq instructions jumping to the end of the function.
5704         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5705         clobber list. Use "i" constraint instead of "X".
5706         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5707         of "X".
5709 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5711         * bits/libc-header-start.h: New file.
5712         * Makefile (headers): Add bits/libc-header-start.h.
5713         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5714         (__GLIBC_USE): New macro.
5715         * libio/stdio.h: Define
5716         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5717         <bits/libc-header-start.h> instead of including <features.h>.
5718         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5719         (open_memstream): Likewise.
5720         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5721         (__asprintf): Likewise.
5722         (asprintf): Likewise.
5723         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5724         (getdelim): Likewise.
5725         (getline): Likewise.
5726         * string/string.h: Define
5727         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5728         <bits/libc-header-start.h> instead of including <features.h>.
5729         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5730         (strndup): Likewise.
5731         * wcsmbs/wchar.h: Define
5732         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5733         <bits/libc-header-start.h> instead of including <features.h>.
5734         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5735         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5737 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5739         Support linking against compatibility symbols, for use in tests.
5740         * include/libc-symbols.h (symbol_version_reference): New macro.
5741         (symbol_version): Use it.
5742         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5743         (compat_symbol): Use compat_symbol_reference.
5744         (compat_symbol_1, compat_symbol_2): Remove.
5745         (compat_symbol_reference, compat_symbol_reference_1)
5746         (compat_symbol_reference_2): New macro.  Use
5747         symbol_version_reference.
5749 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5751         [BZ #19469]
5752         * malloc/Makefile (CPPFLAGS): Compile tests with
5753         -DTEST_NO_MALLOPT.
5754         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5756 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5758         [BZ #20033]
5759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5760         finite version.
5761         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5762         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5763         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5764         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5765         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5766         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5767         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5768         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5778         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5779         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5780         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5781         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5782         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5783         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5784         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5785         in zero power.
5787 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5789         [BZ #20370]
5790         * malloc/arena.c (get_free_list): Update comment.  Assert that
5791         arenas on the free list have no attached threads.
5792         (remove_from_free_list): New function.
5793         (reused_arena): Call it.
5795 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5797         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5798         when it is a NaN.
5799         [_IEEE_FP_INEXACT] Remove.
5800         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5801         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5802         when it is a NaN.
5803         [_IEEE_FP_INEXACT] Remove.
5804         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5805         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5806         when it is a NaN.
5807         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5808         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5809         when its absolute value is greater than 0x1.0p52.
5810         [_IEEE_FP_INEXACT] Remove.
5811         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5812         when its absolute value is greater than 0x1.0p23.
5813         [_IEEE_FP_INEXACT] Remove.
5815 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5817         * version.h (RELEASE): Set to "development"
5818         (VERSION): Set to 2.24.90.
5819         * NEWS: Add 2.25 section.
5821         * version.h (RELEASE): Set to "stable"
5822         (VERSION): Set to 2.24.
5823         * include/features.h (__GLIBC_MINOR__): Set to 24.
5825         * NEWS: Add 2.24 fixed bugs.
5826         * po/libc.pot: Regenerate.
5828 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5831         [$(subdir) = math] (libm-sysdep_routines): Remove.
5832         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5833         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5834         s_truncf-vis3, s_trunc-vis3.
5835         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5837         file.
5838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5869         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5871         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5872         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5873         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5874         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5875         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5876         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5877         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5878         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5879         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5880         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5882 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5884         [BZ #20384]
5885         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5886         test-double-libmvec-sincos-avx-main.o,
5887         test-double-libmvec-sincos-avx2-main.o,
5888         test-double-libmvec-sincos-main.o,
5889         test-float-libmvec-sincosf-avx-main.o,
5890         test-float-libmvec-sincosf-avx2-main.o and
5891         test-float-libmvec-sincosf-main.o.
5892         test-float-libmvec-sincosf-avx512-main.o.
5893         ($(objpfx)test-double-libmvec-sincos): Also link with
5894         $(objpfx)test-double-libmvec-sincos-main.o.
5895         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5896         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5897         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5898         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5899         ($(objpfx)test-float-libmvec-sincosf): Also link with
5900         $(objpfx)test-float-libmvec-sincosf-main.o.
5901         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5902         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5903         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5904         test-double-libmvec-sincos-avx512-main.o and
5905         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5906         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5907         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5908         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5909         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5910         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5911         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5912         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5913         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5914         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5915         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5916         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5917         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5918         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5919         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5920         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5921         -DREQUIRE_AVX2.
5922         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5923         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5924         -DREQUIRE_AVX512F.
5925         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5926         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5927         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5928         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5929         file.
5930         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5931         Likewise.
5932         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5933         Likewise.
5934         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5935         Likewise.
5936         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5937         Likewise.
5938         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5939         Likewise.
5940         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5941         Likewise.
5942         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5943         Likewise.
5945 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5947         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5949 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5951         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5952         and typo in a comment about AT_HWCAP entry.
5954 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5956         * sysdeps/aarch64/libm-test-ulps: Updated.
5958 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5960         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5961         of r13 as it is not restored in mvcle case.
5963 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5965         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5966         Rename "ret" to "__ret".
5967         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5968         inline_syscall5, inline_syscall6): Likewise.
5970 2016-07-19   Will Newton  <will.newton@gmail.com>
5972         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5973         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5974         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5975         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5976         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5978 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5980         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5981         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5982         -mfpmath=387 with $(rtld-CFLAGS).
5983         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5984         $(rtld-CFLAGS).
5986 2016-07-18   Ross Burton  <ross.burton@intel.com>
5987              Khem Raj  <raj.khem@gmail.com>
5989         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5990         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5991         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5992         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5993         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5994         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5995         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5996         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5997         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5998         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5999         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6000         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6001         R_METAG_TLS_DTPOFF): New.
6003 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6004             Matt Clay  <mclay@lycos.com>
6006         [BZ #20357]
6007         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6008         to call __mpsin/__mpcos and to negate values.
6009         * math/auto-libm-test-in: Add test.
6010         * math/auto-libm-test-out: Regenerate.
6012 2016-07-18  Zack Weinberg  <zackw@panix.com>
6014         * grp/Makefile: Don't install the internal header grp-merge.h.
6016 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6018         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6020 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6022         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6024 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6026         [BZ #15368]
6027         * sysdeps/unix/sysv/linux/nptl-signals.h
6028         (__nptl_clear_internal_signals): New function.
6029         (__libc_signal_block_all): Likewise.
6030         (__libc_signal_block_app): Likewise.
6031         (__libc_signal_restore_set): Likewise.
6032         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6033         implementation.
6034         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6035         the cached pid/tid value in pthread structure.
6037 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6039         [BZ #20347]
6040         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6042 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6044         [BZ #20348]
6045         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6046         preadv64, pwrite64 and pwritev64.
6048 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6050         [BZ #20350]
6051         * posix/tst-preadwrite.c: Renamed to ...
6052         * posix/tst-preadwrite-common.c: This.
6053         (PREAD): Removed.
6054         (PWRITE): Likewise.
6055         (STRINGIFY): Likewise.
6056         (STRINGIFY2): Likewise.
6057         (do_prepare): Make it static and remove function arguments.
6058         (do_test): Likewise.
6059         (PREPARE): Updated.
6060         (TEST_FUNCTION): New.
6061         (name): Make it static.
6062         (fd): Likewise.
6063         (do_prepare): Use create_temp_file.
6064         (do_test): Renamed to ...
6065         (do_test_with_offset): This.  Make it static and accept offset.
6066         Properly check return value of PWRITE and PREAD.  Return bytes
6067         read.  Don't close fd nor unlink name.
6068         * posix/tst-preadwrite.c: Rewrite.
6069         * posix/tst-preadwrite64.c: Likewise.
6071 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6073         [BZ #20309]
6074         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6075         -mtls-dialect=gnu2 works.
6076         * configure: Regenerated.
6077         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6078         (tests): Add tst-gnu2-tls1.
6079         (modules-names): Add tst-gnu2-tls1mod.
6080         ($(objpfx)tst-gnu2-tls1): New.
6081         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6082         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6083         * elf/tst-gnu2-tls1.c: New file.
6084         * elf/tst-gnu2-tls1mod.c: Likewise.
6085         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6086         bytes for push in the PLT entry to align the stack.
6088 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6090         [BZ #20349]
6091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6093 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6095         [BZ #18707]
6096         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6097         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6099 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6101         * sysdeps/unix/sysv/linux/sysdep.h
6102         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6103         guards.
6104         * misc/tst-preadvwritev-common.c: New file.
6105         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6106         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6107         a check for files larger than 2GB.
6109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6110         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6111         * sysdeps/unix/sysv/linux/pread.c
6112         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6113         __OFF_T_MATCHES_OFF64_T.
6114         * sysdeps/unix/sysv/linux/pread64.c
6115         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6116         * sysdeps/unix/sysv/linux/preadv.c
6117         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6118         * sysdeps/unix/sysv/linux/preadv64.c
6119         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6120         * sysdeps/unix/sysv/linux/pwrite.c
6121         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6122         * sysdeps/unix/sysv/linux/pwrite64.c
6123         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6124         * sysdeps/unix/sysv/linux/pwritev.c
6125         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6126         * sysdeps/unix/sysv/linux/pwritev64.c
6127         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6129 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6131         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6132         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6134 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6136         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6138 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6140         [BZ #20240]
6141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6142         (CFLAGS-s_modf-ppc32.c): New variable.
6143         (CFLAGS-s_modff-ppc32.c): Likewise.
6144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6145         (CFLAGS-s_modf-ppc64.c): Likewise.
6146         (CFLAGS-s_modff-ppc64.c): Likewise.
6148 2016-07-07  Andreas Schwab  <schwab@suse.de>
6150         [BZ #20263]
6151         * nptl/tst-robust10.c: New test.
6152         * nptl/Makefile (tests): Add tst-robust10.
6154 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6156         [BZ #20263]
6157         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6159 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6161         * sysdeps/s390/linkmap.h (struct link_map_machine):
6162         Remove member gotplt and add member jmprel.
6163         * sysdeps/s390/s390-32/dl-machine.h
6164         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6165         instead of gotplt with &got[3].
6166         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6167         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6169 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6171         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6173 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6175         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6176         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6177         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6178         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6179         * libio/vtables.c (_IO_vtable_check)
6180         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6181         * libio/libioP.h (IO_set_accept_foreign_vtables)
6182         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6184 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6186         [BZ #20314]
6187         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6188         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6189         $(common-objpfx)cmath.
6190         ($(common-objpfx)cstdlib): New target.
6191         ($(common-objpfx)cmath): Likewise.
6193 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6195         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6197 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6199         [BZ #20327]
6200         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6201         are not part of the string.
6203 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6205         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6206         * nptl/tst-cancel4-common.h (fifoname): New variable.
6207         (fifofd): Likewise.
6208         (cl_fifo): New function.
6209         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6210         SIGINT.
6211         (tf_open): Add early cancel test.
6213 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6215         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6217 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6219         * sysdeps/generic/ldsodefs.h
6220         (dl_symbol_visibility_binds_local_p): New inline function.
6221         * elf/dl-addr.c (determine_info): Treat hidden and internal
6222         symbols as local.
6223         * elf/dl-lookup.c (do_lookup_x): Likewise.
6224         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6226 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6228         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6229         invalid exception for a sNaN input.
6230         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6231         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6232         (__nearbyint_vis3): Likewise
6233         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6234         (__nearbyintf_vis3): Likewise
6235         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6236         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6237         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6238         Likewise.
6239         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6240         Likewise.
6242 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6244         [BZ #20139]
6245         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6246         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6247         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6248         2.24 or above.
6249         (HAVE_AVX512_ASM_SUPPORT): Removed.
6250         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6251         * sysdeps/x86_64/configure: Regenerated.
6252         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6253         check unconditional.
6254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6255         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6256         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6257         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6258         Likewise.
6259         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6260         Likewise.
6261         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6262         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6263         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6264         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6265         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6266         Likewise.
6267         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6268         Likewise.
6269         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6271         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6272         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6273         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6274         Likewise.
6275         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6276         Likewise.
6277         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6278         Likewise.
6279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6280         Likewise.
6281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6282         Likewise.
6283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6284         Likewise.
6285         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6286         Likewise.
6287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6288         Likewise.
6289         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6290         Likewise.
6291         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6292         Likewise.
6293         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6294         Likewise.
6296 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6298         [BZ #20024]
6299         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6301         of this implementation of vector function.
6302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6305         Likewise.
6306         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6307         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6308         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6309         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6310         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6311         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6312         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6313         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6314         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6315         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6316         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6317         for testing vector sincos with fixed ABI.
6318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6319         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6320         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6321         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6322         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6324         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6325         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6326         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6327         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6328         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6329         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6330         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6331         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6332         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6333         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6335 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6337         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6339 2016-06-30  Anton Blanchard  <anton@samba.org>
6341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6342         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6343         s_sinf-ppc64.
6344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6347         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6349 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6353         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6354         e_expf-ppc64.
6355         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6356         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6358         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6360 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6362         [BZ #20277]
6363         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6364         when SHARED is defined.
6366 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6368         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6369         (index_arch_Prefer_ERMS): Likewise.
6370         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6371         __memcpy_erms for Prefer_ERMS.
6372         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6373         (__memmove_erms): Enabled for libc.a.
6374         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6375         __memmove_erms or Prefer_ERMS.
6376         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6377         __mempcpy_erms for Prefer_ERMS.
6378         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6379         __memset_erms for Prefer_ERMS.
6381 2016-06-30  Andreas Schwab  <schwab@suse.de>
6383         [BZ #20262]
6384         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6385         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6386         of memory.
6388 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6390         [BZ #18645]
6391         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6392         (test-extras): Add tst-cleanupx4aux.
6393         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6394         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6395         tst-cleanupx4aux.o.
6396         * nptl/tst-cleanupx4aux.c: New file.
6398 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6400         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6402 2016-06-29  Andreas Schwab  <schwab@suse.de>
6404         [BZ #20260]
6405         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6406         address before the beginning of the string as an integer to avoid
6407         array-bounds warning.
6409 2016-06-28  Richard Henderson  <rth@redhat.com>
6411         * elf/elf.h (EM_BPF): New.
6412         (EM_NUM): Update.
6413         (R_BPF_NONE, R_BPF_MAP_FD): New.
6415         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6416         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6417         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6418         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6419         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6420         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6421         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6422         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6423         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6424         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6425         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6426         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6427         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6428         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6429         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6430         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6431         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6432         (EM_NUM): Update.
6434 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6436         [BZ #18960]
6437         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6438         Set _nl_current_LC_CATEGORY_used to two instead of one.
6440 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6442         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6443         (do_test): ... this.
6444         (TEST_FUNCTION): New macro.
6445          Include test-skeleton.c.
6446         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6447         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6449 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6451         [BZ #15479]
6452         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6453         floating-point environment rather than just control word.
6454         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6455         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6456         floating-point environment, with "invalid" exceptions merged in,
6457         rather than just control word.
6458         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6459         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6460         "inexact" exceptions.
6462         [BZ #15479]
6463         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6464         floating-point environment rather than just control word.
6465         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6466         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6467         floating-point environment, with "invalid" exceptions merged in,
6468         rather than just control word.
6469         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6470         * math/libm-test.inc (floor_test_data): Do not allow spurious
6471         "inexact" exceptions.
6473         [BZ #15479]
6474         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6475         floating-point environment rather than just control word.
6476         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6477         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6478         floating-point environment, with "invalid" exceptions merged in,
6479         rather than just control word.
6480         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6481         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6482         "inexact" exceptions.
6484 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6486         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6487         __libc_vfork.
6488         (__vfork) [IS_IN (libc)]: Remove alias.
6489         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6490         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6491         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6493 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6495         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6496         of atomic_compare_and_exchange_bool_rel.
6497         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6498         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6499         catomic_compare_and_exchange_bool_rel): Remove.
6500         * sysdeps/aarch64/atomic-machine.h
6501         (atomic_compare_and_exchange_bool_rel): Likewise.
6502         * sysdeps/alpha/atomic-machine.h
6503         (atomic_compare_and_exchange_bool_rel): Likewise.
6504         * sysdeps/arm/atomic-machine.h
6505         (atomic_compare_and_exchange_bool_rel): Likewise.
6506         * sysdeps/mips/atomic-machine.h
6507         (atomic_compare_and_exchange_bool_rel): Likewise.
6508         * sysdeps/microblaze/atomic-machine.h
6509         ( __arch_compare_and_exchange_bool_8_rel,
6510         __arch_compare_and_exchange_bool_16_rel): Likewise.
6511         * sysdeps/powerpc/atomic-machine.h
6512         ( __arch_compare_and_exchange_bool_8_rel,
6513         __arch_compare_and_exchange_bool_16_rel): Likewise.
6514         * sysdeps/powerpc/powerpc32/atomic-machine.h
6515         ( __arch_compare_and_exchange_bool_32_rel,
6516         __arch_compare_and_exchange_bool_64_rel): Likewise.
6517         * sysdeps/powerpc/powerpc64/atomic-machine.h
6518         ( __arch_compare_and_exchange_bool_32_rel,
6519         __arch_compare_and_exchange_bool_64_rel): Likewise.
6520         * sysdeps/tile/atomic-machine.h
6521         (atomic_compare_and_exchange_bool_rel): Likewise.
6523 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6525         [BZ #20296]
6526         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6527         when either argument is a NaN.
6528         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6529         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6531         * math/libm-test.inc (snan_value_ld): New macro.
6532         (isgreater_test_data): Add sNaN tests.
6533         (isgreaterequal_test_data): Likewise.
6534         (isless_test_data): Likewise.
6535         (islessequal_test_data): Likewise.
6536         (islessgreater_test_data): Likewise.
6537         (isunordered_test_data): Likewise.
6538         (nextafter_test_data): Likewise.
6539         (nexttoward_test_data): Likewise.
6540         (remainder_test_data): Likewise.
6541         (remquo_test_data): Likewise.
6542         (significand_test_data): Likewise.
6543         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6545 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6547         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6548         environment macros are defined.
6549         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6551 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6553         [BZ #20191]
6554         Implement vtable verification in libio.
6555         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6556         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6557         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6558         _IO_new_file_init_internal instead of _IO_file_init.
6559         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6560         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6561         * libio/Makefile (routines): Add vtables.
6562         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6563         (_IO_init): Remove, not for internal use.
6564         (_IO_init_internal): Declare, internal replacement for _IO_init.
6565         (_IO_file_init): Remove, not for internal use.
6566         (_IO_new_file_init): Remove, not for internal use.
6567         (_IO_new_file_init_internal): Declare, internal replacement for
6568         _IO_new_file_init.
6569         (_IO_old_file_init): Remove, not for internal use.
6570         (_IO_old_file_init_internal): Declare, internal replacement for
6571         _IO_old_file_init.
6572         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6573         internal use.
6574         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6575         Declare.
6576         (libio_vtable): New macro.
6577         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6578         functions.
6579         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6580         _IO_new_file_init.
6581         (_IO_new_file_init): New externally visible wrapper which disables
6582         vtable verification.
6583         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6584         Define as vtables.
6585         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6586         (_IO_init): New externally visible wrapper which disables
6587         vtable verification.
6588         * libio/iofdopen.c (_IO_new_fdopen): Call
6589         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6590         comment.
6591         * libio/iofopen.c (__fopen_internal): Call
6592         _IO_new_file_init_internal instead of _IO_file_init.
6593         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6594         Define as vtables.
6595         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6596         _IO_new_file_init_internal instead of _IO_file_init.
6597         * libio/iopopen.c (_IO_new_popen): Likewise.
6598         (_IO_proc_jumps): Define as vtable.
6599         * libio/iovdprintf.c (_IO_vdprintf): Call
6600         _IO_new_file_init_internal instead of _IO_file_init.
6601         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6602         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6603         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6604         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6605         _IO_old_file_init.
6606         (_IO_old_file_init): New externally visible wrapper which disables
6607         vtable verification.
6608         (_IO_old_file_jumps): Define as vtable.
6609         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6610         _IO_old_file_init_internal instead of _IO_old_file_init.
6611         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6612         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6613         (_IO_old_proc_jumps): Define as vtable.
6614         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6615         Define as vtables.
6616         * libio/vtables.c: New file.
6617         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6618         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6619         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6620         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6621         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6622         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6623         instead of _IO_init.
6625 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6627         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6629 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6631         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6632         potentially unused.
6634 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6636         * test-skeleton.c (write_message): New function.
6637         * malloc/tst-mallocfork2.c (write_message): Remove.
6638         * debug/tst-longjmp_chk2.c (write_indented): New function.
6639         (write_message): Remove.
6640         (stackoverflow_handler): Call write_indented.
6642 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6644         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6645         "inexact" exceptions after fnstenv.
6646         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6647         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6648         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6650 2015-06-22  Zack Weinberg  <zackw@panix.com>
6652         * sysdeps/generic/bits/hwcap.h: Moved to ...
6653         * bits/hwcap.h: Here.
6655 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6657         * sysdeps/aarch64/memcpy.S (memcpy):
6658         Further tuning for performance.
6660 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6662         [BZ #20284]
6663         * malloc/arena.c (reused_arena): Do not return NULL if we start
6664         out with a non-corrupted arena.
6666 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6668         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6669         * misc/tst-preadvwritev.c: New file.
6670         * misc/tst-preadvwritev64.c: Likewise.
6671         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6672         usage.
6673         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6674         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6675         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6676         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6678 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6680         [BZ #19654]
6681         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6682         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6683         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6684         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6685         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6686         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6687         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6688         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6689         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6690         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6691         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6692         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6693         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6694         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6695         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6696         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6697         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6698         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6699         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6700         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6701         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6702         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6703         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6704         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6705         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6706         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6708 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6710         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6711         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6713 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6715         * sysdeps/aarch64/memcpy.S (memcpy):
6716         Rewrite of optimized memcpy and memmove.
6717         * sysdeps/aarch64/memmove.S (memmove): Remove
6718         memmove code (merged into memcpy.S).
6720 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6722         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6723         * sysdeps/generic/dl-dtv.h: New file.
6724         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6725         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6726         (dtv_t): Remove.
6727         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6728         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6729         (dtv_t): Remove.
6730         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6731         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6732         (dtv_t): Remove.
6733         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6734         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6735         (dtv_t): Remove.
6736         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6737         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6738         (dtv_t): Remove.
6739         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6740         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6741         (dtv_t): Remove.
6742         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6743         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6744         (dtv_t): Remove.
6745         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6746         (dtv_t): Remove.
6747         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6748         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6749         (dtv_t): Remove.
6750         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6751         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6752         (dtv_t): Remove.
6753         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6754         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6755         (dtv_t): Remove.
6756         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6757         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6758         (dtv_t): Remove.
6759         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6760         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6761         (dtv_t): Remove.
6762         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6763         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6764         (dtv_t): Remove.
6765         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6766         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6767         (dtv_t): Remove.
6768         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6769         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6770         (dtv_t): Remove.
6772 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6774         Revert symbol poisoning of  __malloc_initialize_hook.
6775         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6776         poisoning.
6777         * malloc/Makefile: Remove un-poisoning.
6778         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6779         instead of old__malloc_initialize_hook.
6780         * malloc/malloc-hooks.h: Likewise.
6781         * malloc/malloc.c: Likewise.
6782         * malloc/mcheck-init.c: Likewise.
6784 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6786         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6788 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6790         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6791         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6792         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6793         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6795 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6797         * NEWS: Mention addition of nextup and nextdown.
6798         * manual/arith.texi: Document nextup and nextdown.
6799         * manual/libm-err-tab.pl: Add nextup and nextdown.
6800         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6801         * math/Versions (libm): Add GLIBC_2.24.
6802         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6803         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6804         Add new test.
6805         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6806         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6807         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6808         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6809         (nextup_test_data): Likewise.
6810         (nextdown_test_data): Likewise.
6811         * math/s_nextdown.c: New file.
6812         * math/s_nextdownf.c: Likewise.
6813         * math/s_nextdownl.c: Likewise.
6814         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6815         F(nextup): New function.
6816         F(nextdown): Likewise.
6817         * math/tgmath.h: Add nextup and nextdown.
6818         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6819         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6822         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6824         Add nextup and nextdown.
6825         (CFLAGS-nldbl-nextup.c): New variable.
6826         (CFLAGS-nldbl-nextdown.c): Likewise.
6827         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6828         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6829         * sysdeps/nacl/libm.abilist: Update.
6830         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6833         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6834         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6835         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6837         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6838         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6839         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6841         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6844         Likewise.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6849         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6854         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6855         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6859 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6861         * manual/pattern.texi: Fix typos & grammar errors.
6863 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6865         * manual/search.texi: Fix typos & grammar errors.
6867 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6869         * manual/message.texi: Fix typos & grammar errors.
6871 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6873         * manual/contrib.texi: Fix spelling typos.
6874         * manual/crypt.texi: Likewise.
6875         * manual/filesys.texi: Likewise.
6876         * manual/locale.texi: Likewise.
6877         * manual/message.texi: Likewise.
6878         * manual/nss.texi: Likewise.
6879         * manual/string.texi: Likewise.
6881 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6883         * manual/locale.texi: Fix typos & grammar errors.
6885 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6887         * manual/charset.texi: Fix typos & grammar errors.
6889 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6891         * manual/string.texi: Fix typos.
6893 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6895         * manual/ctype.texi: Fix typos.
6897 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6899         * manual/memory.texi: Fix various typos & grammar errors.
6901 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6903         [BZ #20255]
6904         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6905         * math/libm-test.inc (fdim_test_data): Add another test.
6907         [BZ #6796]
6908         [BZ #20255]
6909         [BZ #20256]
6910         * math/s_fdim.c: Include <math_private.h>.
6911         (__fdim): Use math_narrow_eval on result.
6912         * math/s_fdimf.c: Include <math_private.h>.
6913         (__fdimf): Use math_narrow_eval on result.
6914         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6915         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6916         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6917         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6918         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6919         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6920         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6921         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6922         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6923         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6924         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6925         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6926         overflow.  Add sNaN tests.
6928         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6929         fpclassify.
6930         * math/s_fdimf.c (__fdimf): Likewise.
6931         * math/s_fdiml.c (__fdiml): Likewise.
6933 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6935         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6936         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6938         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6939         ifunc'ed strcasecmp/strncasecmp.
6940         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6941         [EALIGN]: Removed.
6942         [END]: Likewise.
6943         [__strcasecmp]: Define instead of the above to control symbol name.
6944         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6945         for __strcasecmp_power8.
6946         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6947         for __strncasecmp_power8.
6948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6949         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6950         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6951         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6952         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6953         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6955 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6957         [BZ #20252]
6958         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6959         arguments when second argument is a NaN.
6960         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6961         qNaN tests.
6963         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6964         (conj_test_data): Likewise.
6965         (copysign_test_data): Likewise.
6966         (creal_test_data): Likewise.
6967         (fma_test_data): Likewise.
6968         (fmod_test_data): Likewise.
6970         [BZ #20250]
6971         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6972         itself.
6973         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6974         zero input to itself.
6975         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6976         Likewise.
6977         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6978         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6980         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6981         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6983 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6985         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6986         * nptl/tst-cancel4-common.c: New file.
6987         * nptl/tst-cancel4-common.h: Likewise.
6988         * nptl/tst-cancel4.c: Move common definitions to
6989         tst-cancel4-common.{c,h} file.
6990         * nptl/tst-cancel4_1.c: New test.
6991         * nptl/tst-cancel4_2.c: New test.
6993 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6995         [BZ #20248]
6996         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6997         (write_message): New function.
6998         (stackoverflow_handler): Call it instead of printf, to avoid
6999         excessive stack usage by printf.
7000         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7002 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7004         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7005         (prio_inherit_missing): Remove define.
7006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7007         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7008         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7009         Likewise.
7010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7011         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7012         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7013         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7014         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7015         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7017 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7019         [BZ #19670]
7020         [BZ #19672]
7022         * io/test-lfs.c (do_prepare): Use xmalloc.
7023         * io/tst-fcntl.c (do_prepare): Likewise.
7024         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7025         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7026         * login/tst-utmp.c (do_prepare): Likewise.
7027         * posix/tst-exec.c (do_prepare): Likewise.
7028         * posix/tst-pathconf.c (prepare): Likewise.
7029         * posix/tst-spawn.c (do_prepare): Likewise.
7030         * posix/tst-truncate.c (do_prepare): Likewise.
7031         * rt/tst-aio.c (do_prepare): Likewise.
7032         * rt/tst-aio64.c (do_prepare): Likewise.
7034 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7036         [BZ #20237]
7037         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7038         (get*ent): Set entidx to NULL during initialization.  If entidx is
7039         NULL, start iteration from the beginning.
7041 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7043         * malloc/malloc.c (musable): Return correct size for dumped fake
7044         mmapped chunk.
7046 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7048         [BZ #20222]
7049         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7050         (_IO_cookie_write): Likewise.
7051         (_IO_cookie_seek): Likewise.
7052         (_IO_cookie_close): Likewise.
7053         (_IO_old_cookie_seek): Likewise.
7054         (set_callbacks): New function.
7055         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7057 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7059         * locale/programs/localedef.c (oldstyle_tables): Remove.
7060         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7062 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #20240]
7065         * math/Makefile (CFLAGS-s_modf.c): New variable.
7066         (CFLAGS-s_modff.c): Likewise.
7067         (CFLAGS-s_modfl.c): Likewise.
7068         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7070 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7072         [BZ #20215]
7073         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7074         [!__GNUC_PREREQ (3,2)]: Likewise.
7076 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7078         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7079         (msghdr.msg_controllen): Likewise.
7080         (cmsghdr.cmsg_len): Likewise.
7081         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7082         ptw-oldsendmsg.
7083         (CFLAGS-oldrecvmsg.c): Remove rule.
7084         (CFLAGS-oldsendmsg.c): Likewise.
7085         (CFLAGS-recvmsg.c): Add rule.
7086         (CFLAGS-sendmsg.c): Likewise.
7087         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7088         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7089         (CFLAGS-recvmsg.c): Remove rule.
7090         (CFLAGS-sendmsg.c): Likewise.
7091         (CFLAGS-oldrecvmsg.c): Likewise.
7092         (CFLAGS-oldsendmsg.c): Likewise.
7093         (CFLAGS-recvmmsg.c): Likewise.
7094         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7095         to kernel defined interfaces.
7096         (msghdr.msg_controllen): Likewise.
7097         (cmsghdr.cmsg_len): Likewise.
7098         (msghdr.__glibc_reserved1): Remove member.
7099         (msghdr.__glibc_reserved2): Likewise.
7100         (cmsghdr.__glibc_reserved1): Likewise.
7101         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7102         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7103         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7104         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7105         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7106         version.
7107         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7108         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7109         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7110         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7111         Remove recvmsg and sendmsg.
7112         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7113         Likewise.
7114         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7115         Likewise.
7116         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7117         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7118         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7119         Likewise.
7120         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7121         Likewise.
7122         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7123         [libc] (GLIBC_2.24): Likewise.
7124         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7125         Likewise.
7126         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7127         Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7129         [libc] (GLIBC_2.24): Likewise.
7130         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7131         Likewise.
7132         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7133         Likewise.
7134         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7135         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7136         Likewise.
7137         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7138         Likewise.
7139         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7144         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7145         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7146         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7147         version for {recv,send,recm,sendm}msg.
7148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7149         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7161         Likewise.
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7163         Likewise.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7166         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7168         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7169         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7170         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7171         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7174         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7175         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7178 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7180         [BZ #19564]
7181         Remove __malloc_initialize_hook from the API.
7182         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7183         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7184         #pragma GCC poison.
7185         * malloc/malloc-hooks.h: New file.
7186         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7187         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7188         (old__malloc_initialize_hook): Rename from
7189         __malloc_initialize_hook to evade poisoning.  Turn into compat
7190         symbol.
7191         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7192         __malloc_initialize_hook.
7193         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7194         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7195         * manual/memory.texi (Hooks for Malloc): Remove
7196         __malloc_initialize_hook.  Adjust hook example.
7198 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7200         [BZ #20235]
7201         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7202         itself.
7203         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7204         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7206         [BZ #20234]
7207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7208         infinity or NaN input to itself.
7210         [BZ #20233]
7211         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7212         to itself.
7214         [BZ #20232]
7215         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7216         itself.
7218 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7220         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7221         __libc_start_main via GOT.
7223 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7225         * sysdeps/x86_64/memcopy.h: New file.
7226         * sysdeps/x86_64/wordcopy.c: Likewise.
7228 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7230         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7231         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7232         <cstdlib>.
7233         (optimization_barrier): New.
7234         (do_test): Use it.  Call quick_exit in the global namespace.
7235         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7236         instead of <cstdlib>, <thread>.
7237         (optimization_barrier): New.
7238         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7239         Call quick_exit in the global namespace.
7240         (do_test): Call optimization_barrier.  Use pthread_create,
7241         pthread_join instead of std::thread.
7243 2016-06-09  Andreas Schwab  <schwab@suse.de>
7245         [BZ #19755]
7246         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7247         new entries in auto-propagate mode.
7248         * nscd/grpcache.c (cache_addgr): Likewise.
7250 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7252         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7253         New functions.
7254         (add_temp_file): Use them.
7256 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7258         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7260 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7262         [BZ #20229]
7263         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7264         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7265         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7267         [BZ #20228]
7268         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7269         itself.
7270         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7271         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7273         [BZ #20227]
7274         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7275         itself.
7276         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7277         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7278         * math/libm-test.inc (log_test_data): Add sNaN tests.
7280         [BZ #20226]
7281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7282         itself.
7283         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7284         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7285         (exp10_test_data): Likewise.
7286         (expm1_test_data): Likewise.
7288         [BZ #20225]
7289         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7290         itself.
7291         * math/s_ldexpf.c (__ldexpf): Likewise.
7292         * math/s_ldexpl.c (__ldexpl): Likewise.
7293         * math/w_scalbln.c (__w_scalbln): Likewise.
7294         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7295         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7296         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7297         (scalbln_test_data): Likewise.
7299         [BZ #20224]
7300         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7301         argument to itself.
7302         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7304 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7306         [BZ #19776]
7307         * sysdeps/x86_64/memcpy.S: Make it dummy.
7308         * sysdeps/x86_64/mempcpy.S: Likewise.
7309         * sysdeps/x86_64/memmove.S: New file.
7310         * sysdeps/x86_64/memmove_chk.S: Likewise.
7311         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7312         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7313         * sysdeps/x86_64/memmove.c: Removed.
7314         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7315         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7316         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7317         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7318         Likewise.
7319         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7320         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7322         memcpy-sse2-unaligned, memmove-avx-unaligned,
7323         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7325         (__libc_ifunc_impl_list): Replace
7326         __memmove_chk_avx512_unaligned_2 with
7327         __memmove_chk_avx512_unaligned.  Remove
7328         __memmove_chk_avx_unaligned_2.  Replace
7329         __memmove_chk_sse2_unaligned_2 with
7330         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7331         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7332         with __memmove_avx512_unaligned.  Replace
7333         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7334         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7335         with __memcpy_chk_avx512_unaligned.  Remove
7336         __memcpy_chk_avx_unaligned_2.  Replace
7337         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7338         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7339         Replace __memcpy_avx512_unaligned_2 with
7340         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7341         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7342         with __mempcpy_chk_avx512_unaligned.  Remove
7343         __mempcpy_chk_avx_unaligned_2.  Replace
7344         __mempcpy_chk_sse2_unaligned_2 with
7345         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7346         Replace __mempcpy_avx512_unaligned_2 with
7347         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7348         Replace __mempcpy_sse2_unaligned_2 with
7349         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7350         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7351         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7352         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7353         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7354         (ENTRY): Removed.
7355         (END): Likewise.
7356         (ENTRY_CHK): Likewise.
7357         (libc_hidden_builtin_def): Likewise.
7358         Don't include ../memcpy.S.
7359         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7360         __memcpy_chk_avx512_unaligned_erms and
7361         __memcpy_chk_avx512_unaligned.  Use
7362         __memcpy_chk_avx_unaligned_erms and
7363         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7364         Default to __memcpy_chk_sse2_unaligned.
7365         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7366         Change function suffix from unaligned_2 to unaligned.
7367         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7368         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7369         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7370         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7371         (ENTRY): Removed.
7372         (END): Likewise.
7373         (ENTRY_CHK): Likewise.
7374         (libc_hidden_builtin_def): Likewise.
7375         Don't include ../mempcpy.S.
7376         (mempcpy): New.  Add a weak alias.
7377         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7378         __mempcpy_chk_avx512_unaligned_erms and
7379         __mempcpy_chk_avx512_unaligned.  Use
7380         __mempcpy_chk_avx_unaligned_erms and
7381         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7382         Default to __mempcpy_chk_sse2_unaligned.
7384 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7386         [BZ #19881]
7387         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7388         into ...
7389         * sysdeps/x86_64/memset.S: This.
7390         (__bzero): Removed.
7391         (__memset_tail): Likewise.
7392         (__memset_chk): Likewise.
7393         (memset): Likewise.
7394         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7395         defined.
7396         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7397         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7398         (__memset_zero_constant_len_parameter): Check SHARED instead of
7399         PIC.
7400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7401         memset-avx2 and memset-sse2-unaligned-erms.
7402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7403         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7404         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7405         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7406         (__bzero): Enabled.
7407         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7408         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7409         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7410         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7411         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7412         (memset): Removed.
7413         (__memset_chk): Likewise.
7414         (MEMSET_SYMBOL): New.
7415         (libc_hidden_builtin_def): Replace __memset_sse2 with
7416         __memset_sse2_unaligned.
7417         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7418         __memset_chk_sse2 and __memset_chk_avx2 with
7419         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7420         Use __memset_chk_sse2_unaligned_erms or
7421         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7422         __memset_chk_avx512_unaligned_erms and
7423         __memset_chk_avx512_unaligned.
7425 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7427         * math/gen-auto-libm-test.c (fp_format_desc): remove
7428         suffix member.
7429         (output_generic_value): Remove usage of suffix member,
7430         and the resulting unuse of the fp_format argument.
7431         (output_for_one_input_case): Remove unused fp_format
7432         parameter.
7434         * math/auto-libm-test-out: Regenerate.
7436         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7437         usage with TEST_COND_ibm128.
7438         (TEST_COND_flt_32): Remove.
7439         (TEST_COND_dbl_64): Remove.
7440         (TEST_COND_ldbl_96_intel): Remove.
7441         (TEST_COND_ldbl_96_m68k): Remove.
7442         (TEST_COND_ldbl_128): Remove.
7444 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7446         * auto-libm-test-in:
7447         Replace flt-32 usage with binary32.
7448         Replace dbl-64 usage with binary64.
7449         Replace ldbl-intel-96 usage with intel96.
7450         Replace ldbl-m68k-96 usage with m68k96.
7451         Replace ldbl-128ibm usage with ibm128.
7452         Replace ldbl-128 usage with binary128.
7454         * auto-libm-test-out: Regenerate.
7456 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7458         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7459         (parse_ulps): Dynamically generate type name matching
7460         string from all_floats.
7461         (get_ulps): Generate the ulps as an array instead.
7462         (output_ulps): Dynamically compose the type based
7463         on the number of supported formats, and print
7464         the indices as type specific helper macros.
7466         * math/libm-test.inc: Remove comment about CHOOSE.
7467         (ulp_data): Generate the type in libm-test-ulps.h.
7468         (ULP_IDX): New macro.
7469         (find_ulps): Update usage of max_ulp.
7471         * math/test-double-vlen2.h (CHOOSE): Remove.
7472         * math/test-double-vlen4.h (CHOOSE): Likewise.
7473         * math/test-double-vlen8.h (CHOOSE): Likewise.
7474         * math/test-float.c (CHOOSE): Likewise.
7475         * math/test-float-finite.c (CHOOSE): Likewise.
7476         * math/test-double.c (CHOOSE): Likewise.
7477         * math/test-double-finite.c (CHOOSE): Likewise.
7478         * math/test-idouble.c (CHOOSE): Likewise.
7479         * math/test-ifloat.c (CHOOSE): Likewise.
7480         * math/test-ildoubl.c (CHOOSE): Likewise.
7481         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7482         * math/test-ldouble.c (CHOOSE): Likewise.
7484         * math/test-float.h (TEST_FLOAT): Remove.
7485         * math/test-double.h (TEST_DOUBLE): Likewise.
7486         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7488 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7490         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7491         (parse_args): Strip C suffix from floating point literals
7492         typed with 'f' and wrap them with LIT().
7494         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7495         (test_ff_f_data_nexttoward): Rename to
7496         (test_fj_f_data): New struct.
7497         (nexttoward_test_data): Relabel tests as
7498         TEST_fj_f instead of TEST_ff_f.
7500 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7502         Emacs bug 23726.
7503         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7504         (__libc_realloc): Correct size computation for dumped fake mmapped
7505         chunks.
7507 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7509         [BZ #20219]
7510         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7511         to itself.
7512         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7514         [BZ #20218]
7515         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7516         to itself.
7517         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7519 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7521         [BZ #20195]
7522         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7523         check to ...
7524         (init_cpu_features): Here.
7526 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7528         [BZ #20214]
7529         * sysdeps/unix/sysv/linux/bits/in.h
7530         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7531          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7532         Define to 1.
7533         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7534          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7535         Define to 0.
7536         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7537         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7539 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7541         [BZ #20198]
7542         * stdlib/Makefile (tests): Add tst-quick_exit, and
7543         tst-thread-quick_exit.
7544         [ifeq ($(have-cxx-thread_local),yes)]
7545         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7546         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7547         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7548         (LDLIBS-tst-thread-quick_exit): Likewise.
7549         [ifneq ($(have-cxx-thread_local),yes)]
7550         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7551         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7552         If run_dtors is true call __call_tls_dtors.
7553         (exit): Call __run_exit_handlers with run_dtors set to true.
7554         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7555         definition.
7556         * stdlib/quick_exit.c (quick_exit): Remove function.
7557         (__new_quick_exit): New function.
7558         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7559         function.
7560         * stdlib/tst-quick_exit.cc: New file.
7561         * stdlib/tst-thread-quick_exit.cc: New file.
7562         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7563         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7564         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7565         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7566         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7567         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7568         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7569         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7570         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7571         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7572         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7573         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7574         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7575         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7576         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7577         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7582         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7583         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7584         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7585         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7586         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7589         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7590         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7591         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7593 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7595         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7596         a typo in comments.
7598 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7600         [BZ #20213]
7601         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7602         argument to itself.
7603         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7605 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7607         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7608         required flags.
7609         (CFLAGS-pwritev64.c): Likewise.
7610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7612         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7613         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7614         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7615         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7616         syscall from auto-generation.
7617         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7618         [WORDSIZE == 64] (pwritev64): Remove macro.
7619         [!PWRITEV] (PWRITEV): Likewise.
7620         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7621         [!PWRITEV] (PWRITE): Likewise.
7622         [!PWRITEV] (OFF_T): Likewise.
7623         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7624         (LO_HI_LONG): Remove macro.
7625         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7626         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7627         (PWRITEV): Remove macro.
7628         (PWRITEV_REPLACEMENTE): Likewise.
7629         (PWRITE): Likewise.
7630         (OFF_T): Likewise.
7631         (pwritev64): New function.
7632         * nptl/tst-cancel4.c (tf_writev): Add test.
7634         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7635         required flags.
7636         (CFLAGS-preadv64.c): Likewise.
7637         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7638         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7639         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7640         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7641         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7642         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7643         syscall from auto-generation.
7644         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7645         [WORDSIZE == 64] (preadv64): Remove macro.
7646         [!PREADV] (PREADV): Likewise.
7647         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7648         [!PREADV] (PREAD): Likewise.
7649         [!PREADV] (OFF_T): Likewise.
7650         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7651         (LO_HI_LONG): Remove macro.
7652         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7653         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7654         (PREADV): Remove macro.
7655         (PREADV_REPLACEMENTE): Likewise.
7656         (PREAD): Likewise.
7657         (OFF_T): Likewise.
7658         (preadv64): New function.
7659         * nptl/tst-cancel4.c (tf_preadv): Add test.
7661 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7663         [BZ #20212]
7664         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7665         argument to itself.
7666         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7668 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7670         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7671         New symbol defined as libc_hidden_def.
7672         (strcasestr): Became a weak alias to __strcasestr.
7673         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7674         according to multi-arch support.  Move __stpncpy hidden
7675         definition from here to...
7676         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7677         symbol stpncpy.
7678         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7679         libc_hidden_builtin_def.
7680         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7681         memset symbol to use when multi-arch support is available.
7683 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7685         * dlfcn/tst-rec-dlopen.c: Include string.h.
7687 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7689         * manual/install.texi: Remove mention of --without-tls
7690         * INSTALL: Regenerate.
7692 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7694         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7695         Remove.
7696         (call_function, interposed_malloc_called): New variables.
7697         (malloc): New function.
7698         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7699         and clear call_function as needed.
7701 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7703         * include/wchar.h (__wmemset): Use __typeof.
7705 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7707         * include/wchar.h (__wmemset): Declare function without typeof.
7709 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7711         [BZ #20205]
7712         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7713         exponent when incrementing negative subnormal with low mantissa
7714         word zero.
7715         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7716         Add another test.
7718 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7720         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7721         __wmemset instead of wmemset.
7723 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7725         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7726         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7727         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7728         __USE_KERNEL_IPV6_DEFS to 0.
7729         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7730         Update comment.
7732 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7734         [BZ #19861]
7735         Do not use IFUNC resolver with potentially unrelocated symbol.
7736         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7737         (DEFINE_FORK): Remove macro and inline definition.
7738         (fork_alias): Renamed from fork_ifunc.
7739         (__fork_alias): Renamed from __fork_ifunc.
7741 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7743         [BZ 19653]
7744         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7745         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7747 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7749         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7750         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7751         i386-linux-gnu).
7752         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7753         Set to no.
7754         * sysdeps/mach/hurd/configure: Refresh.
7756 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7758         [BZ #20178]
7759         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7760         on failure instead of exit.
7762 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7764         [BZ #3629]
7765         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7766         of POSIX.1-2008.
7768 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7770         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7771           Use PLT entry for calling _hurd_self_sigstate.
7773 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7775         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7776         available logical processors with SMT level type sharing L2
7777         cache for Intel processors.
7779 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7781         [BZ #20160]
7782         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7783         argument to itself before returning the result.
7784         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7785         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7786         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7787         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7788         Likewise.
7789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7790         Likewise.
7791         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7792         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7793         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7794         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7795         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7796         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7798         [BZ #20160]
7799         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7800         argument to itself before returning the result.
7801         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7802         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7803         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7804         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7805         Likewise.
7806         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7807         Likewise.
7808         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7809         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7810         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7811         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7812         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7813         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7815 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7817         * libm-test.inc: Replace usage of M_El with
7818         (lit_e): New macro.
7820 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7822         * libm-test.inc: Replace usage of M_PI_4l with
7823         (lit_pi_4_d): New macro.
7825 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7827         * libm-test.inc: Replace usage of M_PIl with
7828         (lit_pi): New macro.
7830 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7832         * libm-test.inc: Replace usage of M_PI2l with
7833         (lit_pi_2_d): New macro.
7835         * math/test-double.h (LITM): New macro.
7836         * math/test-float.h (LITM): Likewise.
7837         * math/test-ldouble.h (LITM): Likewise.
7839 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7841         * libm-test.inc (M_PI_34l): Rename to
7842         (lit_pi_3_m_4_d): New Macro.
7843         (M_PI_34_LOG10El): Rename to
7844         (lit_pi_3_m_4_ln10_m_d): New Macro.
7845         (M_PI2_LOG10El): Rename to
7846         (lit_pi_2_ln10_m_d):  New Macro.
7847         (M_PI4_LOG10El): Rename to
7848         (lit_pi_4_ln10_m_d):  New Macro.
7849         (M_PI_LOG10El): Rename to
7850         (lit_pi_ln10_d):  New Macro.
7852 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7854         [BZ #20157]
7855         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7856         determine whether to negate low half if [_ARCH_PPCGR], and integer
7857         comparison otherwise.
7858         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7859         determine whether to negate low half.
7861         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7862         (NO_TEST_INLINE_DOUBLE): Likewise.
7863         (TEST_COND_x86_64): Likewise.
7864         (TEST_COND_x86): Likewise.
7865         (M_PI_6l): Likewise.
7867 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7869         * math/libm-test.inc:
7870         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7871         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7872         (TEST_LDOUBLE): Update usage to evaluate as true if
7873         the guarded tests match the property being tested.
7874         (LDBL_MAX_EXP): Change to MAX_EXP.
7875         (LDBL_MIN_EXP): Change to MIN_EXP.
7876         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7877         nexttoward tests.
7879 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7881         * math/libm-test.inc:
7882         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7883         (TYPE_MIN): Likewise.
7884         (TYPE_TRUE_MIN): Likewise.
7885         (TYPE_MAX): Likewise.
7886         (MIN_EXP): Likewise.
7887         (MAX_EXP): Likewise.
7888         (MANT_DIG): Likewise.
7890         (FSTR_MAX): New macro.
7891         (__CONCATX): Likewise.
7892         (QTYPE_STR): Likewise.
7893         (TEST_COND_binary32): Likewise.
7894         (TEST_COND_binary64): Likewise.
7895         (TEST_COND_binary128): Likewise.
7896         (TEST_COND_ibm128): Likewise.
7897         (TEST_COND_intel96): Likewise.
7898         (TEST_COND_m68k96): Likewise.
7900         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7901         (TEST_COND_dbl_64): Likewise.
7902         (TEST_COND_ldbl_96_intel): Likewise.
7903         (TEST_COND_ldbl_96_m68k): Likewise.
7904         (TEST_COND_ldbl_128): Likewise.
7905         (TEST_COND_ldbl_128ibm): Likewise.
7907         (plus_zero): Redefine using LIT macro.
7908         (minus_zero): Likewise.
7909         (plus_infty): Redefine as (INF).
7910         (minux_infty): Redefine as (-INF).
7911         (max_value): Redefine as TYPE_MAX.
7912         (min_value): Redefine as TYPE_MIN.
7913         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7915         (print_float): Refactor to use snprintf to convert FLOAT values
7916         to string. This brings it closer to dropin replacement of strtof
7917         for the TS 18661 defined types.
7918         (update_stats): Likewise.
7919         (print_complex_function_ulps): Likewise.
7920         (print_max_error): Likewise.
7921         (print_complex_max_error): Likewise.
7922         (check_float_internal): Likewise.
7924         * math/test-float.h (PREFIX): New macro.
7925         (LIT): Likewise.
7926         (TYPE_STR): Likewise.
7927         (FTOSTR): Likewise.
7929         * math/test-double.h (PREFIX): New macro.
7930         (LIT): Likewise.
7931         (TYPE_STR): Likewise.
7932         (FTOSTR): Likewise.
7934         * math/test-ldouble.h (PREFIX): New macro.
7935         (LIT): Likewise.
7936         (TYPE_STR): Likewise.
7937         (FTOSTR): Likewise.
7939 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7941         [BZ #20156]
7942         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7943         to itself when zero or not finite.
7944         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7945         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7946         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7947         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7949 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7951         [BZ #20153]
7952         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7953         x * x + x for infinities and NaNs.
7955         [BZ #20151]
7956         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7957         argument to itself before returning result.
7958         (__ieee754_y0l): Likewise.
7959         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7960         (__ieee754_y1l).
7962         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7963         (atan_test_data): Likewise.
7964         (ceil_test_data): Likewise.
7965         (cos_test_data): Likewise.
7966         (cosh_test_data): Likewise.
7967         (erf_test_data): Likewise.
7968         (exp2_test_data): Likewise.
7969         (fabs_test_data): Likewise.
7970         (floor_test_data): Likewise.
7971         (ilogb_test_data): Likewise.
7972         (j0_test_data): Likewise.
7973         (j1_test_data): Likewise.
7974         (jn_test_data): Likewise.
7975         (lgamma_test_data): Likewise.
7976         (lrint_test_data): Likewise.
7977         (llrint_test_data): Likewise.
7978         (logb_test_data): Likewise.
7979         (lround_test_data): Likewise.
7980         (llround_test_data): Likewise.
7981         (nearbyint_test_data): Likewise.
7982         (rint_test_data): Likewise.
7983         (round_test_data): Likewise.
7984         (sin_test_data): Likewise.
7985         (sincos_test_data): Likewise.
7986         (sinh_test_data): Likewise.
7987         (sqrt_test_data): Likewise.
7988         (tan_test_data): Likewise.
7989         (tanh_test_data): Likewise.
7990         (tgamma_test_data): Likewise.
7991         (trunc_test_data): Likewise.
7992         (y0_test_data): Likewise.
7993         (y1_test_data): Likewise.
7994         (yn_test_data): Likewise.
7996         * math/libm-test.inc: Update comment about NaN testing.
7997         (TEST_SNAN): New macro.
7998         (snan_value): Likewise.
7999         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8000         (fpclassify_test_data): Add sNaN tests.
8001         (isfinite_test_data): Likewise.
8002         (isinf_test_data): Likewise.
8003         (isnan_test_data): Likewise.
8004         (isnormal_test_data): Likewise.
8005         (issignaling_test_data): Likewise.
8006         (signbit_test_data): Likewise.
8007         * math/gen-libm-test.pl (%beautify): Add snan_value.
8008         (show_exceptions): Add argument $test_snan.
8009         (parse_args): Handle snan_value as non-finite.  Update call to
8010         show_exceptions.
8011         * math/Makefile (libm-test-no-inline-cflags): Add
8012         -fsignaling-nans.
8014 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8016         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8017         (CFLAGS-oldsendmsg.c): Add rule.
8018         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8019         Correct recvmsg symbol name.
8020         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8021         Likewise.
8023 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8025         * sysdeps/unix/sysv/linux/Makefile
8026         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8027         oldsendmmsg.
8028         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8029         sendmmsg.
8030         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8031         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8033         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8035         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8036         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8038         Likewise.
8039         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8040         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8041         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8042         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8043         iovlen and controllen fields to adjust to POSIX specification.
8044         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8046         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8047         and change to correct expected type.
8048         (msghdr.msg_controllen): Likewise.
8049         (cmsghdr.cmsg_len): Likewise.
8050         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8051         expected POSIX assumption about the size.
8052         (msghdr.msg_controllen): Likewise.
8053         (msghdr.__glibc_reserved1): Likewise.
8054         (msghdr.__glibc_reserved2): Likewise.
8055         (cmsghdr.cmsg_len): Likewise.
8056         (cmsghdr.__glibc_reserved1): Likewise.
8057         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8058         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8059         (CFLAGS-sendmsg.c): Remove rule.
8060         (CFLAGS-recvmsg.c): Likewise.
8061         (CFLAGS-oldsendmsg.c): Add rule.
8062         (CFLAGS-oldrecvmsg.c): Likewise.
8063         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8064         recvmsg and sendmsg.
8065         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8066         Likewise.
8067         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8068         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8069         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8070         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8071         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8072         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8073         Likewise.
8074         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8077         Likewise.
8078         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8079         Likewise.
8080         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8081         Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8085         (GLIBC_2.24): Likewise.
8086         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8087         Likewise.
8088         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8089         Likewise.
8090         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8091         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8092         Likewise.
8093         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8094         Likewise.
8095         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8098         (GLIBC_2.24): Likewise.
8099         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8100         Likewise.
8101         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8102         Likewise.
8103         * sysdeps/unix/sysv/linux/Makefile
8104         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8105         (CFLAGS-sendmsg.c): Add rule.
8106         (CFLAGS-recvmsg.c): Likewise.
8107         (CFLAGS-oldsendmsg.c): Likewise.
8108         (CFLAGS-oldrecvmsg.c): Likewise.
8109         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8110         initialization.
8111         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8112         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8113         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8114         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8115         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8116         iovlen and controllen fields to adjust to POSIX specification.
8117         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8118         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8119         added recvmsg and sendmsg.
8120         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8125         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8126         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8127         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8128         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8133         Likewise.
8134         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8136         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8137         Likewise.
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8141         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8142         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8143         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8144         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8146         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8148         Likewise.
8149         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8150         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8152         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8153         from auto-generation.
8154         (sendmsg): Likewise.
8155         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8156         (sendmsg): Likewise.
8157         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8158         (sendmsg): Likewise.
8159         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8160         (sendmsg): Likewise.
8161         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8162         (sendmsg): Likewise.
8163         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8164         (sendmsg): Likewise.
8165         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8166         Likewise.
8167         (sendmsg): Likewise.
8168         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8169         (sendmsg): Likewise.
8170         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
8180         (__ASSUME_SENDMSG_SYSCALL): Define.
8181         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8183         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8184         Remove.
8185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8186         Likewise.
8187         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8188         Undefine.
8189         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8190         Likewise.
8191         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8193         Remove.
8194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8195         Likewise.
8196         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8197         Undefine.
8198         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8199         Likewise.
8200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8201         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8202         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8203         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8204         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8205         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8206         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8207         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8208         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8210 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8212         * stdlib/gen-tst-strtod-round.c: Add backslash to
8213         compile command in comment.
8214         (printfp): Remove the literal suffix, and define an infinite
8215         value as INF to avoid expansion clash with INFINITY.
8216         (round_str): Remove the literal suffix.
8217         (round_for_all): Likewise, remove the now duplicate ldbl-64
8218         entry, and remove some magic constants.
8220         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8221         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8222         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8223         (_CONCAT): New macro.
8224         (CONCAT): Likewise.
8225         (CHOOSE_ld): Likewise.
8226         (CHOOSE_f): Likewise.
8227         (CHOOSE_d): Likewise.
8228         (FTYPE_MEMBER): Likewise.
8229         (BOOL_MEMBER): Likewise.
8230         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8231         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8232         (_XNTRY): Likewise.
8233         (XNTRY): Likewise.
8234         (_ENTRY): Likewise.
8235         (ENTRY): Likewise.
8236         (test_exactness): Generate members via macro.
8237         (test_results): Likewise.
8238         (test): Update members.
8239         (TEST): Redefine using new macros.
8240         (INF): New macro.
8241         (fetestmodes): New structure.
8242         (do_test): Refactor to be type generic.
8243         (test_in_one_mode): Refactor duplicate code into
8244         (GEN_ONE_TEST): New macro.
8246         * stdlib/tst-strtod-round-data.h: Regenerate.
8248         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8249         Extend to pass additional arbitrary parameters to
8250         generators.
8252 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8254         [BZ #15479]
8255         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8256         floating-point state after first floating-point operation on
8257         input.  Restore full floating-point state instead of just rounding
8258         mode.
8259         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8260         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8261         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8262         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8263         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8265         [BZ #15479]
8266         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8267         floating-point state after first floating-point operation on
8268         input.  Restore full floating-point state instead of just rounding
8269         mode.
8270         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8271         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8272         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8273         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8274         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8276 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8278         [BZ #19727]
8279         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8280         valid high surrogate.
8281         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8282         of an utf16 surrogate.
8283         * iconv/gconv_simple.c (BODY): Likewise.
8284         * iconvdata/bug-iconv12.c: New file.
8285         * iconvdata/Makefile (tests): Add bug-iconv12.
8287 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8289         [BZ #19726]
8290         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8291         outptrp in case of an illegal input.
8292         * iconv/tst-iconv6.c: New file.
8293         * iconv/Makefile (tests): Add tst-iconv6.
8295 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8297         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8298         an error in case of a value in range of an utf16 low surrogate.
8300 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8302         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8303         an error in case of a value in range of an utf16 low surrogate.
8305 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8307         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8308         Move to ...
8309         * sysdeps/s390/Makefile: ... here.
8310         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8311         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8312         (BRANCH_ON_COUNT): New define.
8313         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8314         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8315         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8316         run on s390-32, too.
8317         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8318         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8319         run on s390-32, too.
8320         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8321         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8322         run on s390-32, too.
8324 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8326         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8327         etf3eh or new vector loop-variant.
8329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8331         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8332         etf3eh or new vector loop-variant.
8334 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8336         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8337         or new vector loop-variant.
8339 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8341         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8342         Rename to TR_LOOP and usage of tr instead of troo instruction.
8344 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8346         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8349 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8351         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8352         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8353         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8354         New override define.
8355         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8357 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8359         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8360         * sysdeps/s390/configure.ac: Add test for S390 vector register
8361         support in gcc.
8362         * sysdeps/s390/configure: Regenerated.
8364 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8366         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8367         Install file from $(objpfx)gconv-modules.
8368         ($(objpfx)gconv-modules): Concatenate architecture specific file
8369         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8370         * sysdeps/s390/gconv-modules: New file.
8371         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8372         Deleted.
8373         ($(objpfx)gconv-modules-s390): Deleted.
8374         (sysdeps-gconv-modules): New variable.
8376 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8378         [BZ #15479]
8379         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8380         of immediate operand to rounding instruction.
8381         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8382         Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8384         Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8386         Likewise.
8388 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8390         * math/libm-test.inc (MIN_EXP): Directly define as
8391         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8393 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8395         * math/libm-test.inc (MANT_DIG): Directly define as
8396         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8398 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8400         * stdlib/gen-tst-strtod-round.c (main):
8401           Change usage to more closely match the generated
8402           output.  Add usage and compilation instructions.
8403           (string_to_fp): Add and use FILE* parameter as
8404           output target.
8405           (print_fp): Likewise.
8406           (round_str): Likewise.
8407           (round_for_all): Likewise.
8408         * stdlib/tst-strtod-round.c (tests): Move into
8409         * stdlib/tst-strtod-round-data.h: New file.
8411 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8413         [BZ #15479]
8414         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8415         (__round): Do not force "inexact" exception.
8416         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8417         variable.
8418         (__round): Do not force "inexact" exception.
8419         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8420         (__roundf): Do not force "inexact" exception.
8421         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8422         (__roundl): Do not force "inexact" exception.
8423         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8424         (__roundl): Do not force "inexact" exception.
8425         * math/libm-test.inc (round_test_data): Do not allow spurious
8426         "inexact" exceptions.
8428         [BZ #15479]
8429         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8430         exception in comment.
8431         (huge): Remove variable.
8432         (__floor): Do not force "inexact" exception.
8433         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8434         "inexact" exception in comment.
8435         (huge): Remove variable.
8436         (__floor): Do not force "inexact" exception.
8437         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8438         exception in comment.
8439         (huge): Remove variable.
8440         (__floorf): Do not force "inexact" exception.
8441         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8442         exception in comment.
8443         (huge): Remove variable.
8444         (__floorl): Do not force "inexact" exception.
8446         [BZ #15479]
8447         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8448         exception in comment.
8449         (huge): Remove variable.
8450         (__ceil): Do not force "inexact" exception.
8451         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8452         "inexact" exception in comment.
8453         (huge): Remove variable.
8454         (__ceil): Do not force "inexact" exception.
8455         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8456         (__ceilf): Do not force "inexact" exception.
8457         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8458         exception in comment.
8459         (huge): Remove variable.
8460         (__ceill): Do not force "inexact" exception.
8462 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8464         * config.h.in (BIND_NOW): New.
8465         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8466         * configure: Regenerated.
8467         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8468         indirect branch via the GOT slot.
8470 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8472         [BZ #19765]
8473         * sysdeps/s390/mempcpy.S: New File.
8474         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8475         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8476         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8477         Add mempcpy variants.
8478         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8479         (memcpy): Adjust to be usable from mempcpy entry point.
8480         (__memcpy_mvcle): Likewise.
8481         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8482         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8483         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8484         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8485         (__memcpy_z10): Likewise.
8486         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8488 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8490         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8491         Remove __GI_ symbol.
8492         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8493         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8494         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8495         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8496         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8497         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8499 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8501         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8502         Use cghi instead of chi to compare 64bit value.
8504 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8506         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8507         Jump to 1MB check before executing mvc-loop.
8509 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8511         [BZ #6527]
8512         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8513         unconditionally.
8514         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8516 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8518         * stdlib/tst-strtod6.c (do_test): Use new type generic
8519         invocation of the test function.
8520         (test): Refactor into ...
8521         (TEST_STRTOD): New macro base function.
8523 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8525         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8526         (TEST_STRTOD): New macro.
8527         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8529 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8531         * stdlib/tst-strtod6.c (do_test): Use new type generic
8532         invocation of the test function.
8533         (test): Refactor into ...
8534         (TEST_STRTOD): New macro base function.
8536 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8538         CVE-2016-4429
8539         [BZ #20112]
8540         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8541         payload.
8543 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8545         [BZ #20111]
8546         * bits/sockaddr.h (_SS_SIZE): Define.
8547         * bits/socket.h (_SS_SIZE): Remove.
8548         (_SS_PADSIZE): Adjust to account for all padding.
8549         (struct sockaddr_storage): Update comment.  Avoid implicit
8550         padding.
8551         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8552         (_SS_PADSIZE): Adjust to account for all padding.
8553         (struct sockaddr_storage): Update comment.  Avoid implicit
8554         padding.
8555         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8556         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8557         (_SS_PADSIZE): Adjust to account for all padding.
8558         (struct sockaddr_storage): Update comment.  Avoid implicit
8559         padding.
8560         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8561         __SS_SIZE is 126 in this version.
8562         * inet/tst-sockaddr.c: New file.
8563         * inet/Makefile (tests): Add tst-sockaddr.c
8564         (tst-sockaddr.c): Compile with non-strict aliasing.
8566 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8568         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8569         [XPG3 || XPG4].
8570         (NL_ARGMAX): Also expect for [XPG3].
8571         (NL_LANGMAX): Likewise.
8572         (NL_MSGMAX): Likewise.
8573         (NL_NMAX): Likewise.
8574         (NL_SETMAX): Likewise.
8575         (NL_TEXTMAX): Likewise.
8576         (NZERO): Likewise.
8577         (TMP_MAX): Likewise.
8578         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8579         variable.
8581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8582         (PF_MAX): Update value.
8583         (AF_KCM): New macro.
8584         (SOL_NETBEUI): Likewise.
8585         (SOL_LLC): Likewise.
8586         (SOL_DCCP): Likewise.
8587         (SOL_NETLINK): Likewise.
8588         (SOL_TIPC): Likewise.
8589         (SOL_RXRPC): Likewise.
8590         (SOL_PPPOL2TP): Likewise.
8591         (SOL_BLUETOOTH): Likewise.
8592         (SOL_PNPIPE): Likewise.
8593         (SOL_RDS): Likewise.
8594         (SOL_IUCV): Likewise.
8595         (SOL_CAIF): Likewise.
8596         (SOL_ALG): Likewise.
8597         (SOL_NFC): Likewise.
8598         (SOL_KCM): Likewise.
8599         (MSG_BATCH): New enum value and macro.
8601 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8603         [BZ #18185]
8604         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8605         sharing L2 cache to 2 for Knights Landing.
8607 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8609         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8610         (FTW_DP): Do not expect for [XPG3 || XPG4].
8611         (FTW_SL): Do not expect for [XPG3].
8612         (FTW_SLN): Likewise.
8613         (FTW_PHYS): Likewise.
8614         (FTW_MOUNT): Likewise.
8615         (FTW_DEPTH): Likewise.
8616         (FTW_CHDIR): Likewise.
8617         (nftw): Likewise.
8618         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8619         variable.
8621 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8623         * manual/errno.texi: Fix various typos & grammar errors.
8625 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8627         * manual/intro.texi: Fix duplicated typo.
8629 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8631         [BZ #13304]
8632         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8633         <float.h>, <math_private.h> and <stdlib.h>.
8634         (add_split): New function.
8635         (mul_split): Likewise.
8636         (ext_val): New typedef.
8637         (store_ext_val): New function.
8638         (mul_ext_val): New function.
8639         (compare): New function.
8640         (add_split_ext): New function.
8641         (__fmal): After checking for Inf, NaN and zero, compute result as
8642         an exact sum of scaled double values in round-to-nearest before
8643         adding those up and adjusting for other rounding modes.
8644         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8645         tests of fma.
8646         * math/auto-libm-test-out: Regenerated.
8648 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8650         [BZ #20119]
8651         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8652         processor level type mask for CPUID with EAX == 11.
8654 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8656         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8657         logical threads if the HTT bit is 0.
8658         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8659         (index_cpu_HTT): Likewise.
8660         (reg_HTT): Likewise.
8662 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8664         [BZ #20115]
8665         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8666         Remove alignments on jump targets.
8668 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8670         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8671         (getpwent): Likewise.
8672         (setpwent): Likewise.
8673         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8674         variable.
8676         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8677         (remque): Likewise.
8678         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8679         variable.
8681 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8683         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8684         not being tested.
8686 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8688         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8689         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8690         call.
8691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8692         (__condvar_cleanup1): Likewise.
8694 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8696         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8697         New
8698         (__pthread_unwind): Renamed to ...
8699         (PTHREAD_UNWIND): This.
8700         (__pthread_enable_asynccancel): Replace
8701         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8703 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8705         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8706         (CLONE_NEWCGROUP): New macro.
8708         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8709         (Q_GETNEXTQUOTA): New macro.
8711 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8713         [BZ #19907]
8714         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8715         buffer updated by the previous run.
8716         * string/test-memcpy.c (do_one_test): Likewise.
8717         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8718         * string/test-memmove.c (do_one_test): Likewise.
8720 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8722         [BZ #20094]
8723         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8724         not [__USE_XOPEN].
8725         (unlockpt): Likewise.
8726         (ptsname): Likewise.
8727         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8728         variable.
8730         [BZ #20076]
8731         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8732         instead of [__USE_UNIX98].
8733         (S_ISSOCK): Likewise.
8734         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8735         variable.
8737         [BZ #20074]
8738         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8739         [__USE_POSIX].
8740         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8741         variable.
8743         [BZ #20051]
8744         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8745         (ttyslot): Do not declare.
8746         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8747         (ttyslot): New prototype.
8748         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8749         variable.
8750         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8752 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8754         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8756 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8758         Fix race condition in tst-mallocfork2, use fewer resources.
8759         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8760         to current process group.
8761         (signal_sender): Yield in the non-sleeping case.
8763 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8765         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8766         (ecvt): Likewise.
8767         (fcvt): Likewise.
8768         (gcvt): Likewise.
8769         (getsubopt): Likewise.
8770         (grantpt): Likewise.
8771         (initstate): Likewise.
8772         (l64a): Likewise.
8773         (mktemp): Likewise.
8774         (mkstemp): Likewise.
8775         (ptsname): Likewise.
8776         (random): Likewise.
8777         (realpath): Likewise.
8778         (setstate): Likewise.
8779         (srandom): Likewise.
8780         (ttyslot): Likewise.
8781         (unlockpt): Likewise.
8782         (valloc): Likewise.
8784         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8785         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8786         variable.
8788 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8790         [BZ #20072]
8791         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8792         init_cpu_features only if SHARED is defined.
8793         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8795 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8797         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8798         non-inclusive caches on Intel processors.
8800 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8802         * malloc/malloc.c (dumped_main_arena_start)
8803         (dumped_main_arena_end): New variables.
8804         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8805         (do_check_chunk): Skip dumped fake mmapped chunks.
8806         (munmap_chunk): Likewise.
8807         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8808         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8809         mmapped chunks.
8810         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8811         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8812         and dumped_main_arena_end to cover the dumped heap.
8814 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8816         * conform/data/time.h-data (getdate_err): Do not expect for
8817         [XPG3].
8818         (getdate): Likewise.
8819         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8820         variable.
8822         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8823         (F_ULOCK): Likewise.
8824         (F_TEST): Likewise.
8825         (F_TLOCK): Likewise.
8826         (useconds_t): Likewise.
8827         (intptr_t): Do not expect for [XPG3] or [XPG4].
8828         (brk): Do not expect for [XPG3]
8829         (fchown): Likewise.
8830         (fchdir): Likewise.
8831         (ftruncate): Likewise.
8832         (getdtablesize): Likewise.
8833         (gethostid): Likewise.
8834         (getpagesize): Likewise.
8835         (getpgid): Likewise.
8836         (getsid): Likewise.
8837         (getwd): Likewise.
8838         (lchown): Likewise.
8839         (lockf): Likewise.
8840         (readlink): Likewise.
8841         (sbrk): Likewise.
8842         (setpgrp): Likewise.
8843         (setregid): Likewise.
8844         (setreuid): Likewise.
8845         (symlink): Likewise.
8846         (sync): Likewise.
8847         (truncate): Likewise.
8848         (ualarm): Likewise.
8849         (usleep): Likewise.
8850         (vfork): Likewise.
8851         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8852         variable.
8854         [BZ #20054]
8855         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8856         not [__USE_UNIX98].
8857         * conform/data/unistd.h-data (gethostname): Do not expect for
8858         [XPG3].
8860         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8861         [!POSIX] (S_IFBLK): Likewise.
8862         [!POSIX] (S_IFCHR): Likewise.
8863         [!POSIX] (S_IFIFO): Likewise.
8864         [!POSIX] (S_IFREG): Likewise.
8865         [!POSIX] (S_IFDIR): Likewise.
8866         [!POSIX] (S_IFLNK): Likewise.
8867         [!POSIX] (S_IFSOCK): Likewise.
8868         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8869         variable.
8870         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8872 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8874         * sysdeps/aarch64/memset.S (__memset):
8875         Rewrite of optimized memset.
8877 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8879         [BZ #19703]
8880         Partially async-signal-safe fork for single-threaded processes.
8881         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8882         variable.  Do not acquire and reset/release malloc and libio locks
8883         in single-threaded processes.
8884         * malloc/tst-mallocfork2.c: New file.
8885         * malloc/Makefile (tests): Add it.
8887 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8889         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8890         argument.  Use scratch buffer instead of extend_alloca.
8891         (gethosts): Use scratch buffer instead of extend_alloca.
8892         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8893         extend_alloca.
8894         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8896 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8898         [BZ #20055]
8899         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8900         instead of [__USE_UNIX98].
8901         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8902         [__USE_UNIX98].
8903         * conform/data/termios.h-data (tcgetsid): Do not expect for
8904         [XPG3].
8905         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8906         variable.
8907         (test-xfail-XPG4/termios.h/conform): Likewise.
8909 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8911         Do not use mcheck in localedef.
8912         * locale/programs/localedef.c (turn_on_mcheck)
8913         (__malloc_initialize_hook): Remove.
8915 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8917         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8918         * sysdeps/s390/s390-64/Makefile: Likewise.
8920 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8922         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8923         Remove ifunc-defines.sym.
8924         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8925         Likewise.
8926         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8927         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8928         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8929         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8930         rtld-global-offsets.sym.
8931         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8932         * sysdeps/x86/cpu-features-offsets.sym: This.
8933         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8934         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8936 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8938         [BZ #20073]
8939         * io/sys/stat.h (fchmod): Declare for
8940         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8941         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8942         variable.
8944         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8945         [XPG3] (S_IFSOCK): Likewise.
8946         [XPG3] (S_ISVTX): Likewise.
8947         [XPG3] (S_ISLNK): Likewise.
8948         [XPG3] (S_ISSOCK): Likewise.
8949         [XPG3] (fchmod): Likewise.
8950         [XPG3] (lstat): Likewise.
8951         [XPG3] (mknod): Likewise.
8953         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8954         [XPG3].  Expect type long and XFAIL for [XPG4].
8955         (st_blocks): Likewise.
8957         [BZ #20044]
8958         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8959         (pthread_atfork): New prototype.
8960         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8961         variable.
8963         [BZ #20043]
8964         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8965         prototype.
8967 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8969         [BZ #20017]
8970         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8971         gmtime.
8973 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8975         [BZ #19994]
8976         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8977         flag in _res.options.
8979 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8981         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8982         [XPG3 || XPG4].
8983         (blksize_t): Likewise.
8984         (clockid_t): Likewise.
8985         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8986         variable.
8987         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8989 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8991         * sysdeps/unix/sysv/linux/s390/init-first.c:
8992         Add VDSO_SYMBOL(getcpu).
8993         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8994         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8995         Add VDSO_SYMBOL(getcpu).
8996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8997         New define HAVE_GETCPU_VSYSCALL.
8998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9000 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9002         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9003         instead of <sysdeps/x86_64/cacheinfo.c>.
9004         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9005         * sysdeps/x86/cacheinfo.c: Here.
9007 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9009         * malloc/malloc-internal.h: Adjust header file guard.
9011 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9013         [BZ #19787]
9014         * inet/getnameinfo.c (check_sprintf_result): New function.
9015         (CHECKED_SNPRINTF): New macro.
9016         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9017         to the host buffer.
9018         (gni_host_local): Use checked_copy to copy the host name.
9019         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9020         (gni_serv_local): Use checked_copy to copy the service name.
9021         (getnameinfo): Remove unnecessary truncation of result buffers.
9023 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9025         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9026         in case of inet_ntop failure.
9028 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9030         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9031         avoid long lines.
9032         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9033         variables.
9034         (gni_host_inet, gni_host_local): Add comment.
9035         (gni_host): Add comment.  Use temporary to avoid long lines.
9037 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9039         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9040         registers specifiers where general purpose registers specifiers should
9041         have been used.
9043 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9045         [BZ #19779]
9046         CVE-2016-1234
9047         Avoid copying names of directory entries.
9048         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9049         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9050         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9051         (struct readdir_result): New type.
9052         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9053         (GL_READDIR): New macros.
9054         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9055         (convert_dirent, convert_dirent64): New functions.
9056         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9057         convert_dirent64.  Adjust references to the readdir result.
9058         * sysdeps/unix/sysv/linux/i386/glob64.c:
9059         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9060         * posix/bug-glob2.c (LONG_NAME): Define.
9061         (filesystem): Add LONG_NAME.
9062         (my_DIR): Increase the size of room_for_dirent.
9064 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9066         [BZ #20041]
9067         * misc/sys/select.h (__need_timespec): Only define if
9068         [__USE_XOPEN2K].
9069         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9070         variable.
9071         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9072         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9073         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9075 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9076             Segher Boessenkool  <segher@gcc.gnu.org>
9078         [BZ #20004]
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9080         (__novec_swapcontext): Add missing load.
9082 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9084         [BZ #20023]
9085         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9086         <time.h>.
9087         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9088         variable.
9089         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9091 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9094         flags CLONE_VM compare.
9096 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9098         [BZ #20031]
9099         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9100         completely empty.
9102 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9104         [BZ #19573]
9105         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9106         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9107         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9108         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9109         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9110         (hesiod_free_list): Mark as hidden.
9111         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9112         res_set, res_get.
9113         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9114         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9115         (hesiod_init): Remove obsolete res_ninit call.
9116         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9117         (hesiod_bind): Do not call init.
9118         (get_txt_records): Use res_mkquery, res_send instead of
9119         res_nmkquery, res_nsend.
9120         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9121         instead of _nss_hesiod_init.
9122         (_nss_hesiod_initgroups_dyn): Likewise.
9123         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9124         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9125         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9127 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9129         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9130         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9132 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9134         * hesiod/hesiod.h: Remove RCS keyword.
9135         * hesiod/hesiod_p.h: Likewise.
9137         * hesiod/hesiod.c: Likewise.
9139 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9141         [BZ #12450]
9142         * locale/iso-639.def: Add Samogitian/sgs.
9144 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9146         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9148         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9150 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9151             Carlos O'Donell  <carlos@redhat.com>
9153         [BZ #19072]
9154         * grp/Makefile (headers): Add grp-merge.h
9155         (routines): Add grp-merge.
9156         * grp/getgrgid_r.c: Include grp-merge.h.
9157         (DEEPCOPY_FN): Define.
9158         (MERGE_FN): Define.
9159         * grp/getgrname_r.c: Include grp-merge.h.
9160         (DEEPCOPY_FN): Define.
9161         (MERGE_FN): Define.
9162         * grp/grp-merge.c: New file.
9163         * grp/grp-merge.h: New file.
9164         * include/grp-merge.h: New file.
9165         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9166         __copy_grp@GLIBC_PRIVATE.
9167         * manual/nss.texi (Actions in the NSS configuration): Describe
9168         return, continue, and merge.
9169         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9170         (DEEPCOPY_FN): Define.
9171         (MERGE_FN): Define.
9172         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9173         (DEEPCOPY_FN): Define.
9174         (MERGE_FN): Define.
9175         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9176         [!MERGE_FN]: Define __merge_einval.
9177         (CHECK_MERGE): Define.
9178         (REENTRANT_NAME): Process merge if do_merge is true.
9179         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9180         (__nss_getent_r): Likewise.
9181         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9182         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9184 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9186         [BZ #20012]
9187         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9188         length to calculate the buffer to read.
9189         (fmemopen_write): Set the buffer position based on bytes written.
9190         (fmemopen_seek): Return EINVAL for invalid whence modes.
9192         [BZ #19957]
9193         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9194         tst-getpid2.
9195         (test): Add tst-clone2.
9196         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9197         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9198         pid/tid fields for CLONE_VM.
9199         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9200         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9201         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9202         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9203         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9204         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9205         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9206         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9212         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9213         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9214         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9215         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9216         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9217         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9218         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9220 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9222         [BZ #19642]
9223         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9224         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9225         (gni_serv_local, gni_serv): New functions extracted from
9226         getnameinfo.
9227         (getnameinfo): Call gni_host and gni_serv to perform the
9228         processing.  Always free scratch buffer.
9230 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9232         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9233         remaining bytes in the dest string, with zeros.
9235 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9237         [BZ #20010]
9238         CVE-2016-3706
9239         * sysdeps/posix/getaddrinfo.c
9240         (convert_hostent_to_gaih_addrtuple): New function.
9241         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9242         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9243         AF_INET data.
9245 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9247         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9248         callback function gl_readdir.
9249         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9250         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9251         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9252         memcpy to copy the name.
9253         * manual/pattern.texi (Calling Glob): Document requirements for
9254         implementations of the gl_readdir callback function.
9255         * manual/examples/mkdirent.c: New example.
9256         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9257         per the manual guidance.
9258         * posix/tst-gnuglob.c (my_readdir): Likewise.
9260 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9262         [BZ #20014]
9263         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9264         not [__USE_POSIX].
9265         (getchar_unlocked): Likewise.
9266         (putc_unlocked): Likewise.
9267         (putchar_unlocked): Likewise.
9268         (flockfile): Likewise.
9269         (ftrylockfile): Likewise.
9270         (funlockfile): Likewise.
9271         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9272         variable.
9273         (test-xfail-XPG4/stdio.h/conform): Likewise.
9275         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9276         Expect constant.
9277         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9278         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9279         variable.
9280         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9281         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9283         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9284         [__USE_LARGEFILE64] (off64_t): Likewise.
9285         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9286         variable.
9288 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9290         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9292 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9294         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9295         * resolv/res_init.c: Likewise.
9296         * resolv/res_mkquery.c: Likewise.
9298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9300         * resolv/res_init.c (isascii): Do not define.  Use definition in
9301         <ctype.h>.
9302         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9303         (LOG_AUTH): Remove.
9304         (SPRINTF): Remove, adjust caller.
9305         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9307 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9309         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9310         SUNSECURITY conditional.
9311         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9315         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9316         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9317         Remove BSD-related preprocessor conditionals.
9318         * conf/portability.h: Remove.
9320 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9322         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9323         * resolv/res_data.c: Likewise.
9325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9327         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9328         * resolv/res_data.c: Remove code conditional on ultrix.
9330 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9332         * resolv/res_init.c (RFC1535): Do not define.  Remove
9333         RFC1535 preprocessor conditionals.
9334         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9335         because there configuration options which make the resolver
9336         behavior different.
9338 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9340         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9341         RESOLVSORT preprocessor conditionals.
9342         * resolv/nss_dns/dns-host.c: Likewise.
9343         * resolv/res_init.c: Likewise.
9345 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9347         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9348         is never defined.
9350 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9352         * inet/inet_lnaof.c: Remove SCSS keyword.
9353         * inet/inet_mkadr.c: Likewise.
9354         * inet/inet_net.c: Likewise.
9355         * inet/inet_netof.c: Likewise.
9356         * inet/rcmd.c: Likewise.
9357         * inet/rexec.c: Likewise.
9358         * inet/ruserpass.c: Likewise.
9360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9362         * resolv/inet_addr.c: Remove _LIBC conditionals.
9363         * resolv/res_data.c: Likewise.
9364         * resolv/res_init.c: Likewise.
9365         * resolv/res_mkquery.c: Likewise.
9366         * resolv/res_libc.c: Update comment.
9367         * resolv/README: Update.
9369 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9371         * resolv/gethnamaddr.c: Remove SCSS keyword.
9372         * resolv/herror.c: Likewise.
9373         * resolv/inet_addr.c: Likewise.
9374         * resolv/inet_net_ntop.c: Likewise.
9375         * resolv/inet_net_pton.c: Likewise.
9376         * resolv/inet_neta.c: Likewise.
9377         * resolv/inet_ntop.c: Likewise.
9378         * resolv/inet_pton.c: Likewise.
9379         * resolv/ns_date.c: Remove RCS keyword.
9380         * resolv/ns_name.c: Likewise.
9381         * resolv/ns_netint.c: Likewise.
9382         * resolv/ns_parse.c: Likewise.
9383         * resolv/ns_print.c: Likewise.
9384         * resolv/ns_samedomain.c: Likewise.
9385         * resolv/ns_ttl.c: Likewise.
9386         * resolv/nsap_addr.c: Likewise.
9387         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9388         * resolv/res_data.c: Remove RCS keyword.
9389         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9390         * resolv/res_init.c: Likewise.
9391         * resolv/res_mkquery.c: Likewise.
9392         * resolv/res_query.c: Likewise.
9393         * resolv/res_send.c: Likewise.
9395 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9397         * conform/data/stdio.h-data (fdopen): Expect also for
9398         [XPG3 || XPG4].
9400         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9401         (fseeko): Likewise.
9402         (ftello): Likewise.
9403         (ftrylockfile): Likewise.
9404         (funlockfile): Likewise.
9405         (getc_unlocked): Likewise.
9406         (getchar_unlocked): Likewise.
9407         (putc_unlocked): Likewise.
9408         (putchar_unlocked): Likewise.
9410 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9412         [BZ #19868]
9413         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9414         DNS packet syntax checks (which were not needed before).  Skip
9415         over non-PTR records.
9417 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9419         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9420         definition.  Include <stddef.h> instead.
9422 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9424         [BZ #19831]
9425         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9426         function.
9427         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9428         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9430 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9432         [BZ #19862]
9433         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9434         (getanswer_r): Do not call syslog.
9435         (gaih_getanswer_slice): Likewise.
9436         * resolv/gethnamaddr.c (AskedForGot): Remove.
9437         (getanswer): Do not call syslog.
9438         (gethostbyaddr): Likewise.
9440 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9442         * conform/data/signal.h-data (union sigval): Expect also if
9443         [XOPEN2K].
9444         (struct sigevent): Likewise.
9445         (SIGEV_NONE): Likewise.
9446         (SIGEV_SIGNAL): Likewise.
9447         (SIGEV_THREAD): Likewise.
9448         (SIGRTMIN): Likewise.
9449         (SIGRTMAX): Likewise.
9450         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9451         variable.
9452         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9454 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9456         [BZ #19830]
9457         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9458         (gaih_getanswer_slice): Likewise.
9459         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9460         Also check for availability of RR metadata.
9462 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9464         [BZ #19825]
9465         * resolv/res_send.c (send_vc): Remove early *resplen2
9466         initialization.  Set *resplen2 on socket error.  Call
9467         close_and_return_error for other errors.
9469 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9471         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9472         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9473         (SCM_IUCV_TRGCLS): New define.
9475 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9477         [BZ #20005]
9478         * libio/fmemopen.c (fmemopen_write): Update internal position after
9479         write.
9480         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9481         * stdio-common/tst-fmemopen4.c: New file..
9483 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9485         [BZ #19996]
9486         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9487         not [__USE_XOPEN2K].
9488         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9489         variable.
9491         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9492         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9493         variable.
9495         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9496         [__USE_XOPEN2K8].
9497         [__USE_LARGEFILE64] (off64_t): Likewise.
9498         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9499         variable.
9501 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9503         [BZ #19989]
9504         * libio/stdio.h (cuserid): Do not declare if
9505         [__USE_XOPEN2K && !__USE_GNU].
9506         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9507         variable.
9509 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9511         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9512         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9514         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9515         ifunc'ed strcspn.
9516         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9517         [EALIGN]: Removed.
9518         [END]: Likewise
9519         [STRSPN]: Define instead of the above to control symbol name.
9520         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9521         New file.
9522         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9523         Likewise.
9524         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9525         Likewise.
9526         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9527         Likewise.
9528         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9529         [INITIAL_MASK]: New macro.
9530         [STRCSPN]: Likewise.
9531         [UPDATE_MASK]: Likewise.
9532         [USE_AS_STRCSPN]: Lisewise.
9534 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9536         [BZ #19931]
9537         * stdio-common/tst-vfprintf-width-prec.c: New file.
9538         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9539         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9540         (generated): Add mtrace-related files.
9541         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9542         (tst-%-mem.out): New pattern rule, replaces
9543         tst-printf-bz18872-mem.out.
9544         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9545         specifier, deallocate any previously allocated work buffer.
9547 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9549         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9550         Add nop before __startcontext, add explaining comments.
9552 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9554         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9555         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9556         completely different API.
9558         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9559         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9560         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9561         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9562         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9563         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9564         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9565         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9566         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9567         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9569 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9571         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9573 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9575         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9576         when it is the default of 0.
9578 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9580         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9581         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9582         (sysdep_routines): Add new strcasestr targets.
9583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9584         (__libc_ifunc_impl_list): Likewise.
9585         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9586         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9587         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9588         * sysdeps/powerpc/powerpc64/power8/Makefile:
9589         New file to add strcasestr-ppc64 to sysdep_routines.
9590         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9591         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9593 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9595         * benchtests/Makefile (wcsmbs-benchset): Include only for
9596         native builds and runs.
9597         (LOCALES): Likewise.
9598         (bench-build): Build timing-type here instead of the bench
9599         target.  Generate locale only for native builds.
9600         * benchtests/README: Add note for cross-building.
9602         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9604         * benchtests/README: Update README to include instructions on
9605         using bench-build.
9607         * Makefile.in (bench-build): New target.
9608         * Rules (PHONY): Add bench-build target.
9609         * benchtests/Makefile (bench): Depend on bench-build.
9610         (bench-build): New target.
9612 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9614         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9615         profil_reply_port.
9616         (profile_waiter): Do not initialize profil_reply_port.
9617         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9618         frequency instead of tick length in us.
9620 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9622         [BZ #18712]
9623         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9624         (__old_mempcpy_small): Likewise.
9625         (__old_strcpy_small): Likewise.
9626         (__old_stpcpy_small): Likewise.
9627         (__old_strpbrk_c2): Fix compat symbol name.
9628         (__old_strpbrk_c3): Likewise.
9629         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9630         (__mempcpy_small): Remove.
9631         (__strcpy_small): Remove.
9632         (__stpcpy_small): Remove.
9634 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9636         [BZ #19400]
9637         * locale/iso-639.def: Add the Talossan/tzl language.
9639 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9641         [BZ #16983]
9642         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9643         comment.  Add "ln" to strchr check on postal_fmt.
9645 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9647         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9648         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9649         tel_dom_fmt.
9651 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9653         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9654         (sysdep_routines): Added __strlen_power8.
9655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9656         __strlen_power8 entry.
9657         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9658         Implementation for POWER8.
9659         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9660         for __strlen_power8.
9661         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9662         Implementation for POWER8.
9664 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9666         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9668 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9670         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9671         Goldmont and Airmont processors.
9673 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9675         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9676         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9677         (__STRING2_SMALL_GET32): Remove.
9678         (memset): Remove.
9679         (__memset_1): Remove.
9680         (__memset_gc): Remove.
9681         (__mempcpy): Remove.
9682         (mempcpy): Remove.
9683         (__mempcpy_args): Remove.
9684         (strchr): Remove.
9685         (strcpy): Remove.
9686         (strcpy_args): Remove.
9687         (__stpcpy_args): Remove.
9688         (__strcmp_cc): Remove.
9689         (__strcmp_gc): Remove.
9690         (strstr): Remove.
9692 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9694         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9695         * nis/nis_call.c (nis_server_cache_add): Likewise.
9697 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9699         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9701 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9703         * malloc/arena.c (__malloc_fork_lock_parent)
9704         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9705         internal_function attribute.
9707 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9709         * stdio-common/printf_fp.c (__printf_fp_l):
9710         Rename ___printf_fp_l to __printf_fp_l and
9711         remove strong alias. Use libc_hidden_def instead
9712         of ldbl_hidden_def macro.
9714 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9716         Remove malloc hooks from fork handler.  They are no longer needed
9717         because malloc runs right before fork, and no malloc calls from
9718         other fork handlers are not possible anymore.
9719         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9720         declarations.
9721         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9722         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9723         (atfork_recursive_cntr): Remove.
9724         (__malloc_fork_lock_parent): Do not override malloc hooks and
9725         thread_arena.
9726         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9727         thread_arena.
9728         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9729         thread_arena instead of save_arena.
9731 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9733         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9734         (thread_atfork, thread_atfork_static): Remove.
9735         * sysdeps/mach/hurd/malloc-machine.h:
9736         (thread_atfork, thread_atfork_static): Remove.
9738 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9740         [BZ #19431]
9741         Run the malloc fork handler as late as possible to avoid deadlocks.
9742         * malloc/malloc-internal.h: New file.
9743         * malloc/malloc.c: Include it.
9744         * malloc/arena.c (ATFORK_MEM): Remove.
9745         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9746         Update comment.
9747         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9748         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9749         Remove outdated comment.
9750         (ptmalloc_init): Do not call thread_atfork.  Remove
9751         thread_atfork_static.
9752         * malloc/tst-malloc-fork-deadlock.c: New file.
9753         * Makefile (tests): Add tst-malloc-fork-deadlock.
9754         (tst-malloc-fork-deadlock): Link against libpthread.
9755         * manual/memory.texi (Aligned Memory Blocks): Update safety
9756         annotation comments.
9757         * sysdeps/nptl/fork.c (__libc_fork): Call
9758         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9759         __malloc_fork_unlock_child.
9760         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9762 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9764         [BZ #19613]
9765         Remove union wait.
9766         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9767         (w_stopsig, w_stopval): Remove.
9768         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9769         stat_loc argument.
9770         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9771         (__WAIT_STATUS_DEFN): Remove.
9772         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9773         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9774         (wait, wait3, wait4): Use int * for the stat_loc argument.
9775         * posix/wait.c (__wait): Likewise.
9776         * posix/wait3.c (__wait3): Likewise.
9777         * posix/wait4.c (__wait4): Likewise.
9778         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9779         (__WAIT_STATUS_DEFN): Remove.
9780         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9781         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9782         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9783         argument.
9784         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9785         * sysdeps/posix/wait3.c (__wait3): Likewise.
9786         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9787         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9788         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9789         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9790         stat_loc argument.
9791         * manual/process.texi (BSD Wait Functions): Remove union wait.
9793 2016-04-13  Andreas Schwab  <schwab@suse.de>
9795         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9796         (test-extras): Add tst-tlsalign-vars.
9797         * math/Makefile: Wrap long lines.
9798         (libm-vec-test-wrappers): Define.
9799         (test-extras): Add $(libm-vec-test-wrappers).
9800         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9801         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9802         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9803         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9804         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9805         (extra-test-objs): Add corresponding objects.
9807 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9809         [BZ #19928]
9810         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9811         New.
9812         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9813         times of shared cache size.
9814         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9815         (VMOVNT): New.
9816         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9817         (VMOVNT): Likewise.
9818         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9819         (VMOVNT): Likewise.
9820         (VMOVU): Changed to movups for smaller code sizes.
9821         (VMOVA): Changed to movaps for smaller code sizes.
9822         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9823         comments.
9824         (PREFETCH): New.
9825         (PREFETCH_SIZE): Likewise.
9826         (PREFETCHED_LOAD_SIZE): Likewise.
9827         (PREFETCH_ONE_SET): Likewise.
9828         Rewrite to use forward and backward loops, which move 4 vector
9829         registers at a time, to support overlapping addresses and use
9830         non temporal store if size is above the threshold and there is
9831         no overlap between destination and source.
9833 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9835         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9836         Include dl-vdso.
9837         * sysdeps/unix/sysv/linux/mips/Versions: Add
9838         __vdso_clock_gettime.
9839         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9840         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9841         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9842         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9843         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9844         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9845         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9846         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9847         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9849 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9851         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9852         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9853         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9855         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9856         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9859         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9860         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9861         syscalls generation.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9863         [__NR_pwrite64] (__NR_write): Remove define.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9865         [__NR_pwrite64] (__NR_write): Remove define.
9866         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9867         Remove define.
9868         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9869         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9870         Remove define.
9871         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9872         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9873         Linux implementation as base.
9874         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9876         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9877         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9882         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9884         syscall generation.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9886         [__NR_pread64] (__NR_pread): Remove define.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9888         [__NR_pread64] (__NR_pread): Likewise.
9889         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9890         define.
9891         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9892         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9893         Remove define.
9894         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9895         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9896         Linux implementation as base.
9897         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9898         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9899         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9901         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9902         definition.
9903         (__ALIGNMENT_COUNT): Likewise.
9904         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9905         (__ALIGNMENT_COUNT): Likewise.
9906         (SYSCALL_LL): New define.
9907         (SYSCALL_LL64): Likewise.
9908         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9909         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9910         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9911         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9913         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9914         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9916         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9917         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9918         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9920 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9922         [BZ #19865]
9923         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9924         original buffer before retry.
9926 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9928         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9929         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9930         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9931         GLRO(dl_auxv) list.
9932         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9933         including <ldsodefs.h>.
9934         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9936 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9938         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9939         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9940         $(CPPFLAGS).
9942 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9944         [BZ #17950]
9945         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9946         Add -mfpmath=387.
9948 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9950         * sysdeps/i386/configure.ac: Change == to = when calling test.
9951         * sysdeps/x86_64/configure.ac: Likewise.
9952         * sysdeps/i386/configure: Regenerated.
9953         * sysdeps/x86_64/configure: Likewise.
9955 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9957         [BZ #16137]
9958         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9959         * benchtests/bench-strcoll.c (input_files): Likewise.
9960         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9961         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9962         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9964 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9966         [BZ #19929]
9967         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9968         [__USE_XOPEN2K8 && !__USE_GNU].
9969         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9970         variable.
9972         [BZ #19925]
9973         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9974         define if [!__USE_MISC && __USE_XOPEN2K].
9975         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9976         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9977         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9980         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9981         variable.
9982         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9984 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9986         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9987         (sysdep_routines): Add new strspn targets.
9988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9989         (__libc_ifunc_impl_list): Add strspn.
9990         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9991         New file.
9992         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9993         Likewise.
9994         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9995         Likewise.
9996         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9997         Likewise.
9999 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10001         * misc/hsearch_r.c: Include <limits.h>.
10003 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10005         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10007 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10009         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10010         (MEMCPY_SYMBOL): New.
10011         (MEMPCPY_SYMBOL): Likewise.
10012         (MEMMOVE_CHK_SYMBOL): Likewise.
10013         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10014         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10015         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10016         Provide alias for memcpy in libc.a and ld.so.
10018 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10020         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10021         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10022         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10023         Disabled fro now.
10024         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10025         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10027 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10029         * benchtests/Makefile (string-benchset): Add memcpy-large,
10030         memmove-large and memset-large.
10031         * benchtests/bench-memcpy-large.c: New file.
10032         * benchtests/bench-memmove-large.c: Likewise.
10033         * benchtests/bench-memmove-large.c: Likewise.
10034         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10036 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10038         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10039         32-bit displacement to avoid long nop between instructions.
10041 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10043         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10044         a comment on VMOVU and VMOVA.
10046 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10048         [BZ #19633]
10049         Use specified locale for number formatting in strfmon_l.
10050         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10051         (__nl_lookup_word): New inline functions.
10052         * include/printf.h (__print_fp_l): Declare.
10053         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10054         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10055         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10056         (___printf_fp): New function.
10057         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10058         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10059         * stdlib/tst-strfmon_l.c (do_test): New test.
10060         * stdlib/Makefile (tests): Add kt.
10061         (LOCALES): Build additional locales.
10062         (tst-strfmon_l.out): Require locales.
10064 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10066         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10067         if not in libc.
10068         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10069         Likewise.
10070         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10071         Likewise.
10072         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10073         Likewise.
10075 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10077         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10078         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10079         with unaligned_erms.
10080         (__memmove_erms): Skip if source == destination.
10081         (__memmove_unaligned_erms): Don't check source == destination
10082         first.
10084 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10086         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10087         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10089 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10091         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10092         * string/strspn.c (strspn): Likewise.
10094 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10096         * benchtests/bench-memset.c (do_test): Support 64-byte
10097         alignment.
10098         (test_main): Test 64-byte alignment.
10100 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10102         * benchtests/bench-memmove.c (test_main): Test 64-byte
10103         alignment.
10105 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10107         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10109 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10111         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10112         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10113         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10115         * string/strpbrk.c (strpbrk): Rewrite function.
10116         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10117         (__strpbrk_c2): Likewise.
10118         (__strpbrk_c3): Likewise.
10119         * string/string-inlines.c
10120         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10121         Likewise.
10122         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10123         Likewise.
10125         * string/strspn.c (strcspn): Rewrite function.
10126         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10127         (__strspn_c1): Remove inline function.
10128         (__strspn_c2): Likewise.
10129         (__strspn_c3): Likewise.
10130         * string/string-inlines.c
10131         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10132         compatibility symbol.
10133         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10134         Likewise.
10135         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10136         Likewise.
10137         * string/string-inlines.c: Include generic version.
10139 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10140             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10142         * string/Version (libc): Add GLIBC_2.24.
10143         * string/strcspn.c (strcspn): Rewrite function.
10144         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10145         (__strcspn_c1): Remove inline function.
10146         (__strcspn_c2): Likewise.
10147         (__strcspn_c3): Likewise.
10148         * string/string-inline.c
10149         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10150         compatibility symbol.
10151         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10152         Likewise.
10153         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10154         Likewise.
10155         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10157 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10159         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10160         Use ahi instead of aghi to adjust stack pointer.
10162 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10164         [BZ #19853]
10165         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10166         TEST to take significant digits as second parameter.
10167         [TEST]: Redefine in terms of TEST_N taking 30
10168         significant digits.
10169         (do_test): Add test case to demonstrate precision
10170         failure in the ldbl-128ibm printf.
10171         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10172         (__mpn_extract_long_double): Carry 7 extra intermediate
10173         bits of precision to aide computing difference when
10174         signs differ.
10176 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10178         [BZ #19881]
10179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10180         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10181         memset-avx512-unaligned-erms.
10182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10183         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10184         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10185         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10186         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10187         __memset_sse2_unaligned_erms, __memset_erms,
10188         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10189         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10190         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10191         file.
10192         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10193         Likewise.
10194         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10195         Likewise.
10196         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10197         Likewise.
10199 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10201         [BZ #19776]
10202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10203         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10204         memmove-avx512-unaligned-erms.
10205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10206         (__libc_ifunc_impl_list): Test
10207         __memmove_chk_avx512_unaligned_2,
10208         __memmove_chk_avx512_unaligned_erms,
10209         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10210         __memmove_chk_sse2_unaligned_2,
10211         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10212         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10213         __memmove_avx512_unaligned_erms, __memmove_erms,
10214         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10215         __memcpy_chk_avx512_unaligned_2,
10216         __memcpy_chk_avx512_unaligned_erms,
10217         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10218         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10219         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10220         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10221         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10222         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10223         __mempcpy_chk_avx512_unaligned_erms,
10224         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10225         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10226         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10227         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10228         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10229         __mempcpy_erms.
10230         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10231         file.
10232         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10233         Likwise.
10234         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10235         Likwise.
10236         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10237         Likwise.
10239 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10241         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10242         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10243         (La_s390_64_regs): Likewise.
10244         (La_s390_32_retval): Append vector register lrv_v24.
10245         (La_s390_64_retval): Likeweise.
10246         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10247         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10248         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10249         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10251 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10253         [BZ #19916]
10254         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10255         to create a non-vector/vector version for _dl_runtime_resolve and
10256         _dl_runtime_profile. Move implementation to ...
10257         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10258         (_dl_runtime_resolve) Save and restore fpr/vrs.
10259         (_dl_runtime_profile) Save and restore vrs and fix some issues
10260         if _dl_call_pltexit is called.
10261         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10262         Choose the correct resolver function if running on a machine with vx.
10263         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10264         to create a non-vector/vector version for _dl_runtime_resolve and
10265         _dl_runtime_profile. Move implementation to ...
10266         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10267         (_dl_runtime_resolve) Save and restore fpr/vrs.
10268         (_dl_runtime_profile) Save and restore vrs and fix some issues
10269         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10270         Choose the correct resolver function if running on a machine with vx.
10272 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10274         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10276 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10278         [BZ #19509]
10279         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10280         skip_map != NULL.
10281         * elf/tst-dlsym-error.c: New file.
10282         * elf/Makefile (tests): Add tst-dlsym-error.
10283         (tst-dlsym-error): Link against libdl.
10285 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10288         (__ASSUME_FUTIMESAT): Remove macro.
10289         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10291 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10293         [BZ #19879]
10294         CVE-2016-3075
10295         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10296         copy name.
10298 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10300         [BZ #19837]
10301         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10302         error if parse_line fails.
10304 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10306         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10307         (index_cpu_ERMS): Likewise.
10308         (reg_ERMS): Likewise.
10310 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10312         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10313         PER_LINUX_FDPIC): Add.
10315 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10318         memcpy-avx512-no-vzeroupper.
10319         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10320         to ...
10321         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10322         (MEMCPY): Don't define.
10323         (MEMCPY_CHK): Likewise.
10324         (MEMPCPY): Likewise.
10325         (MEMPCPY_CHK): Likewise.
10326         (MEMPCPY_CHK): Renamed to ...
10327         (__mempcpy_chk_avx512_no_vzeroupper): This.
10328         (MEMPCPY_CHK): Renamed to ...
10329         (__mempcpy_chk_avx512_no_vzeroupper): This.
10330         (MEMCPY_CHK): Renamed to ...
10331         (__memmove_chk_avx512_no_vzeroupper): This.
10332         (MEMCPY): Renamed to ...
10333         (__memmove_avx512_no_vzeroupper): This.
10334         (__memcpy_avx512_no_vzeroupper): New alias.
10335         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10337 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10339         [BZ #18858]
10340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10341         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10342         and mempcpy-avx512-no-vzeroupper.
10343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10344         New.
10345         (MEMPCPY): Likewise.
10346         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10347         (MEMPCPY_CHK): New.
10348         (MEMPCPY): Likewise.
10349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10350         (MEMPCPY): Likewise.
10351         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10352         (MEMPCPY): Likewise.
10353         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10354         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10355         Likewise.
10356         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10357         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10359 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10360              Amit Pawar  <Amit.Pawar@amd.com>
10362         [BZ #19583]
10363         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10364         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10365         processors.  Set Fast_Copy_Backward for AMD Excavator
10366         processors.
10367         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10368         New.
10369         (index_arch_Fast_Unaligned_Copy): Likewise.
10370         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10371         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10373 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10375         [BZ #19791]
10376         * resolv/res_send.c (close_and_return_error): New function.
10377         (send_dg): Initialize *resplen2 after reopen failure.  Call
10378         close_and_return_error for error returns.  On error paths without
10379         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10380         successful return.
10382 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10384         [BZ# 19860]
10385         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10386         zero if the compiler does not provide the AVX512F bit.
10388 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10390         [BZ #19848]
10391         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10392         from 8 to 4.
10393         (__ieee754_powl): Compare integer exponent against 4 not 8.
10394         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10395         from 8 to 4.
10396         (__ieee754_powl): Compare integer exponent against 4 not 8.
10397         * math/auto-libm-test-in: Add more tests of pow.
10398         * math/auto-libm-test-out: Regenerated.
10399         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10402 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10404         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10405         Make code unconditional.
10406         [!__NR_utimensat]: Remove conditional code.
10407         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10408         Make code unconditional.
10409         [!__NR_utimensat]: Remove conditional code.
10410         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10411         Make code unconditional.
10412         [!__NR_utimensat]: Remove conditional code.
10414 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10416         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10417         Make code unconditional.
10419 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10421         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10422         call-clobbered %eax on retry path.
10423         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10425 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10427         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10428         Don't set %rcx twice before "rep movsb".
10430 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10432         [BZ #19583]
10433         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10434         inline.  Check family before setting family, model and
10435         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10436         bits here.
10437         (init_cpu_features): Replace HAS_CPU_FEATURE and
10438         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10439         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10440         for Intel processors with usable AVX2.  Call get_common_indeces
10441         for other processors with family == NULL.
10442         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10443         (CPU_FEATURES_ARCH_P): Likewise.
10444         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10445         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10447 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10449         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10450         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10451         $(shared-thread-library) instead of hardcoding the path to libpthread.
10453 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10455         * sysdeps/unix/sysv/linux/kernel-features.h
10456         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10457         * sysdeps/unix/sysv/linux/getdents.c
10458         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10459         [!have_no_getdents64_defined]: Likewise.
10460         (__GETDENTS): Remove __have_no_getdents64 conditional.
10462 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10465         Remove macro.
10466         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10467         <kernel-features.h>.
10468         (signalfd) [__NR_signalfd4]: Make code unconditional.
10469         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10471 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10473         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10474         style.
10476 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10478         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10479         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10480         __pthread_unwind.
10481         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10482         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10483         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10484         (__condvar_cleanup1): Likewise.
10486 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10488         [BZ #19822]
10489         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10490         move it to the final $@ location.
10492 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10494         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10495         access where posix_spawn success and pid argument is null.
10496         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10497         success case.
10499 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10501         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10503         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10505         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10506         and __fcntl.
10507         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10508         __fcntl only.
10509         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10510         adding attribute_hidden to __open and __fcntl.
10512         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10513         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10514         depend on libc-modules.h,
10515         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10517 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10519         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10520         Remove macro.
10521         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10522         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10523         entry.
10525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10526         Remove macro.
10527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10528         include <kernel-features.h>.
10529         [!__ASSUME_FALLOCATE]: Remove conditional code.
10530         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10532 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10534         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10535         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10537         (_ZGVdN4v_cos_avx2): Likewise.
10538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10539         (_ZGVdN4v_cos): Likewise.
10540         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10541         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10543         (_ZGVdN4v_exp_avx2): Likewise.
10544         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10545         (_ZGVdN4v_exp): Likewise.
10546         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10547         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10548         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10549         (_ZGVdN4v_log_avx2): Likewise.
10550         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10551         (_ZGVdN4v_log): Likewise.
10552         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10553         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10554         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10555         (_ZGVdN4vv_pow_avx2): Likewise.
10556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10557         (_ZGVdN4vv_pow): Likewise.
10558         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10559         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10560         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10561         (_ZGVdN4v_sin_avx2): Likewise.
10562         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10563         (_ZGVdN4v_sin): Likewise.
10564         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10565         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10567         (_ZGVdN4vvv_sincos_avx2): Likewise.
10568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10569         (_ZGVdN4vvv_sincos): Likewise.
10570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10571         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10573         (_ZGVbN4v_cosf_sse4): Likewise.
10574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10575         (_ZGVdN8v_cosf_avx2): Likewise.
10576         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10577         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10578         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10579         (_ZGVbN4v_expf_sse4): Likewise.
10580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10581         (_ZGVdN8v_expf_avx2): Likewise.
10582         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10583         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10584         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10585         (_ZGVbN4v_logf_sse4): Likewise.
10586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10587         (_ZGVdN8v_logf_avx2): Likewise.
10588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10589         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10591         (_ZGVbN4vv_powf_sse4): Likewise.
10592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10593         (_ZGVdN8vv_powf_avx2): Likewise.
10594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10595         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10597         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10599         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10600         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10601         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10602         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10603         (_ZGVbN4v_sinf_sse4): Likewise.
10604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10605         (_ZGVdN8v_sinf_avx2): Likewise.
10606         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10607         Use JUMPTARGET to call callee.
10608         (WRAPPER_IMPL_SSE2_ff): Likewise.
10609         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10610         (WRAPPER_IMPL_AVX): Likewise.
10611         (WRAPPER_IMPL_AVX_ff): Likewise.
10612         (WRAPPER_IMPL_AVX_fFF): Likewise.
10613         (WRAPPER_IMPL_AVX512): Likewise.
10614         (WRAPPER_IMPL_AVX512_ff): Likewise.
10615         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10616         Likewise.
10617         (WRAPPER_IMPL_SSE2_ff): Likewise.
10618         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10619         (WRAPPER_IMPL_AVX): Likewise.
10620         (WRAPPER_IMPL_AVX_ff): Likewise.
10621         (WRAPPER_IMPL_AVX_fFF): Likewise.
10622         (WRAPPER_IMPL_AVX512): Likewise.
10623         (WRAPPER_IMPL_AVX512_ff): Likewise.
10624         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10626 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10628         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10629         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10630         qualifier.
10631         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10632         internal_function qualifiers.
10634 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10636         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10637         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10638         * math/atest-exp.c (exp_mpn): Mark chk unused.
10639         * math/atest-exp2.c (exp_mpn): Likwise.
10640         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10641         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10643 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10646         Remove macro.
10647         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10648         <kernel-features.h>.
10649         [__NR_ppoll]: Make code unconditional.
10650         [!__ASSUME_PPOLL]: Remove conditional code.
10652         * sysdeps/unix/sysv/linux/kernel-features.h
10653         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10654         (__ASSUME_ACCEPT4): Likewise.
10655         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10656         Define.
10657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10658         Likewise.
10659         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10660         Likewise.
10661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10662         Likewise.
10663         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10664         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10665         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10666         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10667         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10668         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10669         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10670         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10671         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10673         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10674         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10677         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10678         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10679         Likewise.
10680         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10681         Likewise.
10682         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10683         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10684         0x040300].
10685         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10686         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10687         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10688         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10689         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10690         0x030300].
10691         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10693         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10694         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10695         0x040300].
10696         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10699         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10700         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10701         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10702         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10703         0x030300].
10704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10705         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10706         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10707         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10709         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10712         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10713         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10714         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10715         0x040300].
10716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10718         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10719         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10720         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10722         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10723         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10724         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10725         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10727         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10730         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10731         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10733         Likewise.
10734         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10735         Likewise.
10737 2016-03-15  Andreas Schwab  <schwab@suse.de>
10739         [BZ #19257]
10740         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10741         statp->_u._ext.nscount as loop count.
10743 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10745         * math/test-signgam-finite-c99.c: Also #undef
10746         __LIBC_INTERNAL_MATH_INLINES.
10747         * math/test-signgam-main.c: Likewise.
10749 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10751         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10752         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10753         (MADV_FREE): Likewise.
10754         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10755         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10756         EPOLLEXCLUSIVE.
10758 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10760         * timezone/README: Remove mention of checktab.awk. Mention wiki
10761         SharedSourceFiles.
10763 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10765         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10766         WUNTRACED.
10768 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10770         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10771         order to match the type of p when calling atomic_exchange_acq().
10773 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10775         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10776         cfi_offset calls.
10777         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10778         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10779         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10780         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10781         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10783 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10785         * timezone/checktab.awk: Removed.
10787 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10789         * manual/math.texi (Errors in Math Functions): Document relaxed
10790         accuracy goals for IBM long double.
10791         * math/libm-test.inc (test_exceptions): Always allow spurious
10792         "underflow" and "inexact" exceptions for IBM long double.
10794 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10796         [BZ #19762]
10797         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10798         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10799         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10800         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10801         (bit_arch_*): This for feature array.
10802         (bit_*): Renamed to ...
10803         (bit_cpu_*): This for cpu array.
10804         (index_*): Renamed to ...
10805         (index_arch_*): This for feature array.
10806         (index_*): Renamed to ...
10807         (index_cpu_*): This for cpu array.
10808         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10809         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10810         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10811         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10812         bit_##name with index_cpu_##name and bit_cpu_##name.
10813         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10814         bit_##name with index_arch_##name and bit_arch_##name.
10816 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10818         [BZ #19792]
10819         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10820         Terminate FDE before return label.
10822 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10824         [BZ #19790]
10825         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10826         (rintl): Define as macro.
10827         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10828         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10829         of fesetround.  Ensure results are evaluated before end of scope.
10830         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10831         USE_AS_NEARBYINTL and include s_rintl.c.
10832         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10833         Disable exception traps in new environment.
10834         (libc_feholdsetround_ppc_ctx): Likewise.
10836 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10838         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10839         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10840         (tst_audit10_aux) [__AVX512F__]: ... here.
10842 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10844         * include/sys/auxv.h: New file.
10846 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10848         [BZ #19759]
10849         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10851 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10853         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10854         operand modifier.
10855         (feclearexcept): Likewise.
10857 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10859         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10860         to reflect the entire 32-bit HWCAP.
10861         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10862         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10864 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10866         [BZ #19783]
10867         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10868         $(test-via-rtld-prefix).
10869         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10871 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10873         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10874         union wait.  Report any non-zero exit status as error.
10876 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10878         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10879         configured with --enable-hardcoded-path-in-tests.
10881 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10883         [BZ #19677]
10884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10885         (__ieee754_remainderl): Put zero low parts in canonical form.
10886         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10887         file.  Based on
10888         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10889         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10890         with wrapper round test-fmodrem-ldbl-128ibm.c.
10891         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10892         file.
10893         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10894         Likewise.
10895         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10896         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10898 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10900         [BZ #19610]
10901         * elf/ldconfig.c (opt_link): Update comment.
10902         (options): Update help string for option -X.
10903         (search_dir): Unlink stale symbolic link only if updating symbolic
10904         links.
10905         * elf/tst-ldconfig-X.sh: New file.
10906         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10907         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10909 2016-03-07  Andreas Schwab  <schwab@suse.de>
10911         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10912         needed arguments.
10914 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10916         [BZ #15333]
10917         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10918         to lstat64.
10920 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10922         * libio/filedoalloc.c (isatty): Remove.
10923         (local_isatty): Add comment.  Call __isatty directly.
10924         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10925         * libio/wfiledoalloc.c (isatty): Remove.
10926         (_IO_wfile_doallocate): Update comment.
10928 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10930         [BZ #19269]
10931         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10932         tst-audit4-aux.o.
10933         (tst-audit10): Depend on tst-audit10-aux.o.
10934         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10935         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10936         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10937         instead of inline AVX code.
10938         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10939         instead of inline AVX512 code.
10940         * sysdeps/x86_64/tst-audit4-aux.c: New file
10941         * sysdeps/x86_64/tst-audit10-aux.c: New file
10943         [BZ #19648]
10944         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10946 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10948         [BZ #14750]
10949         [BZ #10354]
10950         [BZ #18433]
10951         * include/sched.h (__clone): Add hidden prototype.
10952         (__clone2): Likewise.
10953         * include/unistd.h (__dup): Likewise.
10954         * posix/Makefile (tests): Add tst-spawn2.
10955         * posix/tst-spawn2.c: New file.
10956         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10957         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10958         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10959         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10960         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10961         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10962         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10963         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10964         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10965         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10966         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10968         Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10970         Likewise.
10971         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10972         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10973         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10976         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10977         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10978         * sysdeps/unix/sysv/linux/nptl-signals.h
10979         (____nptl_is_internal_signal): New function.
10980         * sysdeps/unix/sysv/linux/spawni.c: New file.
10982         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10983         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10984         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10985         * posix/tst-execvp2.c (do_test): Likewise.
10986         * posix/tst-execvp3.c (do_test): Likewise.
10987         * posix/tst-execvp4.c (do_test): Likewise.
10988         * posix/tst-execvpe1.c: New file.
10989         * posix/tst-execvpe2.c: Likewise.
10990         * posix/tst-execvpe3.c: Likewise.
10991         * posix/tst-execvpe4.c: Likewise.
10992         * posix/tst-execvpe5.c: Likewise.
10993         * posix/tst-execvpe6.c: Likewise.
10995         [BZ #19534]
10996         * posix/execl.c (execl): Remove dynamic memory allocation.
10997         * posix/execle.c (execle): Likewise.
10998         * posix/execlp.c (execlp): Likewise.
11000 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11002         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11003         Replace .text with .text.avx512.
11004         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11005         Likewise.
11007 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11009         * sysdeps/generic/libnsl.abilist: New file.
11010         * sysdeps/generic/libutil.abilist: New file.
11012 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11014         [BZ #19762]
11015         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11016         HAS_ARCH_FEATURE with Fast_Rep_String.
11017         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11018         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11019         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11020         Likewise.
11021         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11022         Likewise.
11023         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11024         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11025         Likewise.
11026         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11027         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11028         Likewise.
11030 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11032         [BZ #19745]
11033         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11034         with *%rax in call.
11036 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11038         [BZ #19745]
11039         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11040         with *__libc_start_main@GOTPCREL(%rip) in call.
11042 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11044         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11045         inside conditional for nonempty $(CXX).
11047         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11048         nonempty.
11050         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11051         to test for empty $(CXX) rather than $(CXX) of "no".
11053 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11055         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11057 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11058             H.J. Lu  <hongjiu.lu@intel.com>
11060         [BZ #18880]
11061         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11062         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11063         enable __memcpy_ssse3_back.
11065 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11067         [BZ #19758]
11068         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11069         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11071 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11073         [BZ #19490]
11074         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11075         (__fentry__): Likewise.
11077 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11079         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11080         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11082 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11084         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11085         __mcount_internal directly.
11086         (C_LABEL(__fentry__)): Likewise.
11087         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11088         directly.
11090 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11092         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11093         (__start_context): Call __setcontext directly.
11095 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11097         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11098         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11099         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11100         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11102         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11103         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11104         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11105         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11106         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11107         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11108         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11109         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11110         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11111         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11112         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11113         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11115         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11116         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11117         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11118         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11119         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11120         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11121         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11122         Remove conditional code.
11123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11124         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11125         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11126         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11127         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11128         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11129         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11130         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11131         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11132         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11133         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11134         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11136 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11138         * NEWS (2.23): Fix typo in bug 19048 text.
11140 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11142         [BZ #14259]
11143         * Makeconfig: Rename msgcatdir to localedir.
11144         Rename inst_msgcatdir to inst_localedir.
11145         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11146         * config.make.in: Add localedir.
11147         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11148         (ldd-rewrite): Likewise.
11149         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11150         (install-others): Use inst_localedir.
11151         (CPPFLAGS): Use localedir.
11152         * locale/Makefile (locale-CPPFLAGS): Likewise.
11153         * po/Makefile (mo-installed): Use inst_localedir.
11155         [BZ #19575]
11156         * localedata/charmaps/GB18030: Update comments regarding PAU to
11157         non-PUA mappings.
11159 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11161         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11162         test for header.
11163         * sysdeps/unix/sysv/linux/configure: Regenerated.
11164         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11165         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11166         Remove conditional code.
11167         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11169         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11170         Define to 3.2.0.
11171         (arch_minimum_kernel): Likewise.
11172         * sysdeps/unix/sysv/linux/configure: Regenerated.
11173         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11174         Define to 2.6.32.
11175         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11176         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11177         (arch_minimum_kernel): Define to 2.6.32.
11178         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11179         * README: Document Linux 3.2 requirement.
11180         * manual/install.texi (Linux): Document Linux 3.2 headers
11181         requirement.
11182         * INSTALL: Regenerated.
11184 2016-02-24  Andreas Schwab  <schwab@suse.de>
11186         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11187         if !NO_LONG_DOUBLE.
11189 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11191         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11192         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11194 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11196         [BZ #19512]
11197         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11199 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11201         * posix/tst-dir.c: Include libc-internal.h.
11203 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11205         [BZ #19056]
11206         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11207         * manual/filesys.texi (Reading/Closing Directory): Mention
11208         deprecaion.
11209         * posix/tst-dir.c (main): Disable deprecation warning in test.
11211 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11213         [BZ #19679]
11214         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11215         Renamed to ...
11216         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11217         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11218         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11219         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11220         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11221         * sysdeps/x86_64/dl-trampoline.h
11222         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11223         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11225 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11227         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11229 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11231         * elf/elf.h (R_386_GOT32X): New.
11232         (R_386_NUM): Update.
11233         (R_X86_64_GOTPCRELX: New.
11234         (R_X86_64_REX_GOTPCRELX): New.
11235         (R_X86_64_NUM): Update.
11237 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11239         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11241 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11243         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11244         assign attr->stackaddr to it, and adjust it down when
11245         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11246         [_STACK_GROWS_UP]: Delete assert.
11247         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11248         Implement stack grows up logic.
11249         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11250         stack grows up logic.
11252 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11254         * NEWS: Update with 2.24 template.
11256 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11258         [BZ #19678]
11259         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11260         Ensure +0.0 is returned when taking the next value below the least
11261         positive value.
11263 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11265         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11266         available.  Do not define NO_THREADS.
11267         * malloc/malloc.c: Do not check NO_THREADS.
11268         * malloc/arena.c: Likewise.
11270 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11272         * malloc/malloc.c (__libc_mallinfo): Update comment.
11273         (struct malloc_par): Remove max_total_mem member, it was always 0.
11274         (int_mallinfo): Store 0 into usmblks (no functional change).
11275         * malloc/hooks.c (struct malloc_state): Document that
11276         max_total_mem is always 0.
11277         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11278         always 0.
11279         * manual/memory.texi (Statistics of Malloc): Likewise.
11281 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11283         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11284         * malloc/arena.c (arena_max): Remove.
11285         (heap_trim, _int_new_arena): Do not update arena_max.
11287 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11289         * resolv/res_init.c (res_ninit): Update comment.
11291 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11293         [BZ #19505]
11294         * posix/spawn_int.h: Add headers and include guard.
11295         (__spawn_valid_fd): New function.
11296         * posix/spawn_faction_addopen.c
11297         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11298         * posix/spawn_faction_addclose.c
11299         (posix_spawn_file_actions_addclose): Likewise.
11300         * posix/spawn_faction_adddup2.c
11301         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11302         second file descriptor.
11303         * posix/spawn_valid_fd.c: New file.
11304         * posix/tst-posix_spawn-fd.c: New file.
11305         * posix/Makefile (routines): Add spawn_valid_fd.
11306         (tests): Add tst-posix_spawn-fd.
11308 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11310         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11311         (do_test): Limit the number of arenas, so that we can use fewer
11312         outer threads.  Limit timeout to 3 seconds, in preparation for a
11313         larger TIMEOUT value.
11315 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11317         [BZ #19674]
11318         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11319         sign in overflowing and underflowing results when overflow or
11320         underflow is detected early.  Include sign in result before rather
11321         than after scaling.
11323         [BZ #19603]
11324         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11325         (__ieee754_remainderl): Adjust sign of integer version of low part
11326         when taking absolute value of high part.
11327         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11328         * math/libm-test.inc (remainder_test_data): Add another test.
11329         (remquo_test_data): Likewise.
11331 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11333         [BZ #19602]
11334         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11335         equal high parts and both low parts zero specially.
11336         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11337         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11338         Add test-fmodl-ldbl-128ibm.
11340         [BZ #19595]
11341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11342         common logic for all cases of shifting subnormal results.  Do not
11343         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11344         exponent to ldbl_insert_mantissa in subnormal case.
11346         [BZ #19594]
11347         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11348         on high and low parts then adjust result and use
11349         ldbl_canonicalize_int if needed.
11351         [BZ #19593]
11352         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11353         on high part and __floor or __ceil on low part then use
11354         ldbl_canonicalize_int if needed.
11356         [BZ #19592]
11357         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11358         high and low parts then use ldbl_canonicalize_int if needed.
11360         [BZ #17899]
11361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11362         New function.
11363         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11364         on high and low parts then use ldbl_canonicalize_int if needed.
11366 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11368         * configure: Regenerated.
11370         * po/libc.pot: Regenerated.
11372         * po/be.po: Updated translation.
11373         * po/bg.po: Likewise.
11374         * po/ca.po: Likewise.
11375         * po/cs.po: Likewise.
11376         * po/da.po: Likewise.
11377         * po/el.po: Likewise.
11378         * po/eo.po: Likewise.
11379         * po/es.po: Likewise.
11380         * po/fi.po: Likewise.
11381         * po/fr.po: Likewise.
11382         * po/gl.po: Likewise.
11383         * po/hr.po: Likewise.
11384         * po/hu.po: Likewise.
11385         * po/ia.po: Likewise.
11386         * po/id.po: Likewise.
11387         * po/it.po: Likewise.
11388         * po/ja.po: Likewise.
11389         * po/lt.po: Likewise.
11390         * po/nb.po: Likewise.
11391         * po/nl.po: Likewise.
11392         * po/pt_BR.po: Likewise.
11393         * po/rw.po: Likewise.
11394         * po/sk.po: Likewise.
11395         * po/sl.po: Likewise.
11396         * po/sv.po: Likewise.
11397         * po/tr.po: Likewise.
11398         * po/zh_CN.po: Likewise.
11399         * po/zh_TW.po: Likewise.
11401         * version.h (RELEAES): Set to "development".
11402         (VERSION): Set to 2.23.90.
11404         * version.h (RELEASE): Set to "stable".
11405         (VERSION): Set to 2.23.
11406         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11408         * NEWS: Updated fixed bugs.
11410 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11411             Wilco Dijkstra  <wdijkstr@arm.com>
11413         [BZ #19462]
11414         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11415         (_STRING_INLINE_unaligned): This.
11416         * include/string.h: Include <string_private.h>.
11417         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11418         _STRING_INLINE_unaligned.
11419         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11420         (_STRING_INLINE_unaligned): New.
11421         * sysdeps/aarch64/string_private.h: New file.
11422         * sysdeps/generic/string_private.h: Likewise.
11423         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11424         * sysdeps/s390/string_private.h: Likewise.
11425         * sysdeps/x86/string_private.h: Likewise.
11426         * sysdeps/m68k/m680x0/m68020/bits/string.h
11427         (_STRING_ARCH_unaligned): Renamed to ...
11428         (_STRING_INLINE_unaligned): This.
11429         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11430         to ...
11431         (_STRING_INLINE_unaligned): This.
11432         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11433         to ...
11434         (_STRING_INLINE_unaligned): This.
11435         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11436         to ...
11437         (_STRING_INLINE_unaligned): This.
11439 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11440             H.J. Lu  <hongjiu.lu@intel.com>
11442         [BZ #19590]
11443         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11444         relocation.
11446 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11448         [BZ #18665]
11449         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11450         *herrno_p.
11451         (gaih_getanswer): Document functional behviour. Return tryagain
11452         if any result is tryagain.
11453         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11454         when freed.
11455         * resolv/res_send.c: Add copyright text.
11456         (__libc_res_nsend): Document that MAXPACKET is expected.
11457         (send_vc): Document. Remove buffer reuse.
11458         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11459         size of the buffer. Add Dprint for truncated UDP buffer.
11461 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11463         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11464         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11465         * INSTALL: Regenerate.
11467 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11468             Jonathan Wakely  <jwakely@redhat.com>
11469             Carlos O'Donell  <carlos@redhat.com>
11471         [BZ 19439]
11472         * math/Makefile (tests): Add test-math-isinff.
11473         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11474         * math/bits/mathcalls.h [__USE_MISC]: Use
11475         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11476         functions not in C++11 and which don't conflict e.g. isinff,
11477         isinfl etc.
11478         * math/test-math-isinff.cc: New file.
11480 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11482         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11484 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11486         [BZ #19529]
11487         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11489 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11491         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11493 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11495         [BZ #19550]
11496         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11497         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11498         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11499         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11500         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11501         New syscall entry.
11502         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11503         New syscall entry.
11504         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11505         syscall entry.
11507 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11509         [BZ #18240]
11510         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11511         unsigned int wraparound.
11513 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11515         [BZ #18240]
11516         * misc/bug18240.c: New test.
11517         * misc/Makefile (tests): Add it.
11519 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11520             Joseph Myers  <joseph@codesourcery.com>
11522         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11523         load in branch delay slot when less than a word of input left.
11525 2016-01-27  Andreas Schwab  <schwab@suse.de>
11527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11528         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11529         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11530         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11532 2016-01-26  David S. Miller  <davem@davemloft.net>
11534         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11536 2016-01-25  David S. Miller  <davem@davemloft.net>
11538         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11539         __sqrtl_finite.
11540         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11541         instead using versioned_symbol.
11542         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11543         of entries.
11545         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11546         __sqrtl_finite to GLIBC_2.23
11548 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11550         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11552 2016-01-25  Andreas Schwab  <schwab@suse.de>
11554         [BZ #17514]
11555         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11556         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11557         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11558         * nptl/tst-mutex-errorcheck.c: New file.
11560 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11562         [BZ #18560]
11563         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11564         (IPCOP_semop): Likewise.
11565         (IPCOP_semget): Likewise.
11566         (IPCOP_semctl): Likewise.
11567         (IPCOP_msgsnd): Likewise.
11568         (IPCOP_msgrcv): Likewise.
11569         (IPCOP_msgget): Likewise.
11570         (IPCOP_msgctl): Likewise.
11571         (IPCOP_shmat): Likewise.
11572         (IPCOP_shmdt): Likewise.
11573         (IPCOP_shmget): Likewise.
11574         (IPCOP_shmctl): Likewise.
11576 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11578         * string/tst-endian.c: Include <libc-internal.h>.
11579         (do_test): Ignore tautological-compare warnings around
11580         "htobeXX (beXXtoh (i)) != i" and
11581         "htoleXX (leXXtoh (i)) != i" if-statements.
11583 2016-01-24  David S. Miller  <davem@davemloft.net>
11585         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11586         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11587         alias.
11588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11589         __sqrtl_finite.
11591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11593 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11595         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11596         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11597         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11599 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11601         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11602         (thread_func): Use new function to simplify barrier check.
11603         (do_test): Use new function to simplify checking barrier exit
11604         code, and actually join the child thread.
11606 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11608         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11609         semicolon.
11610         (__libc_tend): Likewise.
11611         (__libc_tabort): Likewise.
11613 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11615         * sysdeps/nios2/libm-test-ulps: Update.
11616         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11617         (__gtsf2): Likewise.
11618         (__unorddf2): Likewise.
11619         (__unordsf2): Likewise.
11620         (__ledf2): Likewise.
11622 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11624         * nis/nis_table.c (__follow_path): Disable diagnostic for
11625         uninitialized variable that is a false positive for gcc 4.7.
11626         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11628 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11630         * sysdeps/nacl/lowlevellock-futex.h
11631         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11632         Always evaluate PRIVATE argument.
11634 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11636         [BZ #19490]
11637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11638         (pthread_cond_broadcast): Use ENTRY/END
11639         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11640         (pthread_cond_signal): Likewise.
11641         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11642         Likewise.
11643         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11644         Likewise.
11645         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11646         Likewise.
11648 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11650         * sysdeps/ieee754/dbl-64/s_finite.c
11651         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11652         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11653         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11655         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11658         (__gtsf2): Add as optional for libc.so.
11659         (__unordsf2): Likewise.
11660         (__signbit): Remove for libc.so.
11661         (__signbitl): Likewise.
11663 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11665         * iconvdata/bug-iconv11.c (test_ibm93x):
11666         Use %zu printf format specifier for size_t argument.
11668 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11670         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11671         already-recorded ulps.
11672         * sysdeps/arm/libm-test-ulps: Regenerated.
11673         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11674         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11675         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11677 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11678             Paul Pluzhnikov  <ppluzhnikov@google.com>
11680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11681         assembler not supporting AVX-512.
11683 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11685         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11687 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11689         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11690         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11692         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11694         * sysdeps/arm/libm-test-ulps: Regenerated.
11696 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11698         [BZ #19451]
11699         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11701 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11703         [BZ #19486]
11704         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11705         * sysdeps/generic/fix-fp-int-convert-overflow.h
11706         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11707         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11708         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11709         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11710         Likewise.
11711         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11712         Avoid conversions to long int where inexact exceptions
11713         could be raised.
11714         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11715         Likewise.
11716         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11717         Avoid conversions to long long int where inexact exceptions
11718         could be raised.
11719         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11720         Likewise.
11722 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11724         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11725         * configure: Regenerated.
11727 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11729         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11731 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11734         outside of comment.
11736 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11738         * nptl/tst-barrier1.c: Add description on first line.
11739         * nptl/tst-barrier2.c: Likewise.
11740         * nptl/tst-barrier3.c: Likewise.
11741         * nptl/tst-barrier4.c: Likewise.
11742         * nptl/tst-barrier5.c: Likewise.
11744 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11746         [BZ #18868]
11747         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11749 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11753         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11754         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11755         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11756         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11757         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11758         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11759         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11760         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11761         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11763 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11765         [BZ #13065]
11766         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11767         new implementation.
11768         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11769         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11770         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11771         (BARRIER_IN_THRESHOLD): New macro.
11772         * nptl/pthread_barrierattr_setpshared.c
11773         (pthread_barrierattr_setpshared): Clean up.
11774         * nptl/tst-barrier4.c: Correct comment.
11775         * nptl/tst-barrier5.c: New file.
11776         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11777         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11778         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11779         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11780         * nptl/lowlevelbarrier.sym: Remove.
11781         * nptl/DESIGN-barrier.txt: Remove.
11782         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11783         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11784         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11785         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11786         error.
11787         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11788         implementation.
11790 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11792         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11793         (do_child): Mask SIGRTMIN while thr is running.
11795 2016-01-15  Martin Sebor  <msebor@redhat.com>
11797         [BZ #19432]
11798         * iconvdata/Makefile: Add bug-iconv11.
11799         * iconvdata/bug-iconv11.c: New test.
11800         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11801         * iconvdata/ibm933.c: Same.
11802         * iconvdata/ibm935.c: Same.
11803         * iconvdata/ibm937.c: Same.
11804         * iconvdata/ibm939.c: Same.
11806 2016-01-15  Martin Sebor  <msebor@redhat.com>
11808         [BZ #19443]
11809         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11810         [DEBUG] (_ufc_set_bits): Declare used.
11811         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11812         [DEBUG] (print_all): Declare used.
11813         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11814         operands of the ternary ?: expression to target type.
11815         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11816         calling the undeclared abort.
11817         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11819 2016-01-15  Martin Sebor  <msebor@redhat.com>
11821         [BZ #18755]
11822         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11823         warnings.
11824         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11825         (__gai_create_helper_thread): Same.
11826         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11827         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11828         to suppress -Wmaybe-uninitialized warnings.
11830 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11832         [BZ #19465]
11833         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11834         inside if.
11835         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11839 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11841         [BZ #19466]
11842         * time/tst-mktime2.c (time_t_max): Removed.
11843         (time_t_min): Likewise.
11844         (TYPE_SIGNED): New.
11845         (TYPE_MINIMUM): Likewise.
11846         (TYPE_MAXIMUM): Likewise.
11847         (TIME_T_MIN): Likewise.
11848         (TIME_T_MAX): Likewise.
11849         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11850         and TIME_T_MIN.
11851         (do_test): Likewise.
11853 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11855         [BZ #19467]
11856         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11857         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11859 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11861         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11863 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11865         * benchtests/Makefile (PYTHON): Define.
11866         (bench-func): Use $(PYTHON) to run python scripts.
11867         ($(objpfx)bench-%.c): Likewise.
11869 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11871         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11872         leading slash when `file_name' is "/".
11874 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11876         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11877         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11880         Likewise.
11881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11882         Likewise.
11883         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11884         enum constant and macro.
11885         (PTRACE_SETSIGMASK): Likewise.
11886         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11887         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11888         (PTRACE_GETSIGMASK): Likewise.
11889         (PTRACE_SETSIGMASK): Likewise.
11890         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11892         Likewise.
11893         (PTRACE_SETSIGMASK): Likewise.
11894         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11896         (PTRACE_GETSIGMASK): Likewise.
11897         (PTRACE_SETSIGMASK): Likewise.
11898         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11899         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11900         Likewise.
11901         (PTRACE_SETSIGMASK): Likewise.
11902         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11904         Likewise.
11905         (PTRACE_SETSIGMASK): Likewise.
11906         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11907         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11908         Likewise.
11909         (PTRACE_SETSIGMASK): Likewise.
11910         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11912 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11913             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11915         [BZ #19439]
11916         * math/bits/mathcalls.h
11917         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11918         prototype.
11919         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11921 2016-01-11  Andreas Schwab  <schwab@suse.de>
11923         [BZ #19253]
11924         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11925         cache when TZDEFRULES was used.
11926         * time/tst-tzname.c: New file.
11927         * time/Makefile (test): Add tst-tzname.
11928         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11929         * timezone/Makefile (test-zones): Add $(posixrules-file).
11930         ($(testdata)/$(posixrules-file)): New rule.
11932 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11934         Fix doc quoting problems with Texinfo 5
11935         Without this change, in the info file output, Texinfo 5 quotes code
11936         in text with undirected single quotes 'like this' and generates
11937         code examples that with many PDF readers cannot be cut out of PDFs
11938         and pasted into code.
11939         * manual/libc.texinfo: Configure the libc manual like the GNU
11940         Emacs manual, by using @documentencoding and setting
11941         txicodequoteundirected and txicodequotebacktick.  This way,
11942         Texinfo 5 quotes code in text with directed single quotes ‘like
11943         this’ and produces examples that can be cut out of PDFs.  This
11944         change causes Texinfo 5 to generate info files that contain UTF-8
11945         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11946         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11948 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11950         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11951         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11952         barriers to their respective compiler built-ins.
11953         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11954         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11955         * sysdeps/powerpc/sysdep.h: Likewise.
11956         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11957         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11958         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11960 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11962         * scripts/config.guess: Revert previous shebang change.
11963         * scripts/config.sub: Likewise.
11964         * scripts/mkinstalldirs: Likewise.
11966 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11968         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11969         PPC_FEATURE2_HAS_IEEE128.
11970         * sysdeps/powerpc/dl-procinfo.c:
11971         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11973 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11975         [BZ #19415]
11976         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11977         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11978         (_dl_lookup_address): Rewrite using function resolver trampoline.
11979         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11980         two bits in address.
11982 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11984         * longlong.h: Change !__SHMEDIA__ to
11985         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11986         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11988 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11989             Joseph Myers  <joseph@codesourcery.com>
11990             Mark Shinwell  <shinwell@codesourcery.com>
11991             Andrew Stubbs  <ams@codesourcery.com>
11992             Rich Felker <dalias@libc.org>
11994         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11996 2016-01-07  Richard Henderson  <rth@redhat.com>
11998         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12000 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12002         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12003         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12004         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12005         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12006         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12008 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12009             Joseph Myers  <joseph@codesourcery.com>
12011         * timezone/private.h: Update from tzcode 2015g.
12012         * timezone/tzfile.h: Likewise.
12013         * timezone/tzselect.ksh: Likewise.
12014         * timezone/zdump.c: Likewise.
12015         * timezone/zic.c: Likewise.
12016         * timezone/ialloc.c: Remove file.
12017         * timezone/scheck.c: Likewise.
12018         * timezone/Makefile (extra-objs): Remove variable.
12019         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12020         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12021         -Wno-maybe-uninitialized.
12022         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12023         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12024         (CFLAGS-ialloc.c): Remove variable.
12025         (CFLAGS-scheck.c): Likewise.
12026         * timezone/README: Update list of files from tzcode.
12028 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12030         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12031         instead of __fxprintf when _LIBC is undefined.
12033 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12035         * catgets/test-gencat.sh: Remove space after shebang.
12036         * conform/GlibcConform.pm: Likewise.
12037         * conform/check-header-lists.sh: Likewise.
12038         * conform/conformtest.pl: Likewise.
12039         * conform/linknamespace.pl: Likewise.
12040         * conform/list-header-symbols.pl: Likewise.
12041         * debug/catchsegv.sh: Likewise.
12042         * elf/genrtldtbl.awk: Likewise.
12043         * elf/tst-pathopt.sh: Likewise.
12044         * elf/tst-rtld-load-self.sh: Likewise.
12045         * grp/tst_fgetgrent.sh: Likewise.
12046         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12047         * iconvdata/gen-8bit-gap.sh: Likewise.
12048         * iconvdata/gen-8bit.sh: Likewise.
12049         * iconvdata/run-iconv-test.sh: Likewise.
12050         * intl/tst-gettext.sh: Likewise.
12051         * intl/tst-gettext2.sh: Likewise.
12052         * intl/tst-gettext4.sh: Likewise.
12053         * intl/tst-gettext6.sh: Likewise.
12054         * intl/tst-translit.sh: Likewise.
12055         * io/ftwtest-sh: Likewise.
12056         * libio/test-freopen.sh: Likewise.
12057         * locale/gen-translit.pl: Likewise.
12058         * malloc/tst-mtrace.sh: Likewise.
12059         * manual/check-safety.sh: Likewise.
12060         * manual/libc-texinfo.sh: Likewise.
12061         * manual/tsort.awk: Likewise.
12062         * manual/xtract-typefun.awk: Likewise.
12063         * nptl/tst-cancel-wrappers.sh: Likewise.
12064         * nptl/tst-tls6.sh: Likewise.
12065         * posix/globtest.sh: Likewise.
12066         * posix/tst-getconf.sh: Likewise.
12067         * posix/wordexp-tst.sh: Likewise.
12068         * scripts/check-c++-types.sh: Likewise.
12069         * scripts/check-local-headers.sh: Likewise.
12070         * scripts/config.guess: Likewise.
12071         * scripts/config.sub: Likewise.
12072         * scripts/cpp: Likewise.
12073         * scripts/cross-test-ssh.sh: Likewise.
12074         * scripts/documented.sh: Likewise.
12075         * scripts/evaluate-test.sh: Likewise.
12076         * scripts/gen-libc-abis: Likewise.
12077         * scripts/gen-sorted.awk: Likewise.
12078         * scripts/list-fixed-bugs.py: Likewise.
12079         * scripts/merge-test-results.sh: Likewise.
12080         * scripts/mkinstalldirs: Likewise.
12081         * scripts/rellns-sh: Likewise.
12082         * scripts/test-installation.pl: Likewise.
12083         * scripts/update-copyrights: Likewise.
12084         * stdio-common/tst-printf.sh: Likewise.
12085         * stdio-common/tst-unbputc.sh: Likewise.
12086         * stdlib/tst-fmtmsg.sh: Likewise.
12087         * stdlib/tst-setcontext3.sh: Likewise.
12088         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12089         * sysdeps/unix/make-syscalls.sh: Likewise.
12091 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12093         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12094         asm stw with atomic_exchange_rel.  Add explanatory comment.
12095         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12096         Likewise.
12098 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12100         [BZ #19122]
12101         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12102         * sysdeps/generic/dl-unistd.h: New file.
12103         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12105 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12107          [BZ #19122]
12108          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12109          * sysdeps/generic/dl-mman.h: New file.
12110          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12112 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12114         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12115         trailing whitespace removed.
12116         * scripts/config.guess: Update to version 2016-01-01.
12117         * scripts/config.sub: Update to version 2016-01-01.
12118         * scripts/move-if-change: Update from gnulib.
12120 2016-01-04  Anton Blanchard  <anton@samba.org>
12122         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12123         for array indices.
12124         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12126 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12128         * NEWS: Update copyright dates.
12129         * catgets/gencat.c (print_version): Likewise.
12130         * csu/version.c (banner): Likewise.
12131         * debug/catchsegv.sh: Likewise.
12132         * debug/pcprofiledump.c (print_version): Likewise.
12133         * debug/xtrace.sh (do_version): Likewise.
12134         * elf/ldconfig.c (print_version): Likewise.
12135         * elf/ldd.bash.in: Likewise.
12136         * elf/pldd.c (print_version): Likewise.
12137         * elf/sotruss.sh: Likewise.
12138         * elf/sprof.c (print_version): Likewise.
12139         * iconv/iconv_prog.c (print_version): Likewise.
12140         * iconv/iconvconfig.c (print_version): Likewise.
12141         * locale/programs/locale.c (print_version): Likewise.
12142         * locale/programs/localedef.c (print_version): Likewise.
12143         * login/programs/pt_chown.c (print_version): Likewise.
12144         * malloc/memusage.sh (do_version): Likewise.
12145         * malloc/memusagestat.c (print_version): Likewise.
12146         * malloc/mtrace.pl: Likewise.
12147         * manual/libc.texinfo: Likewise.
12148         * nptl/version.c (banner): Likewise.
12149         * nscd/nscd.c (print_version): Likewise.
12150         * nss/getent.c (print_version): Likewise.
12151         * nss/makedb.c (print_version): Likewise.
12152         * posix/getconf.c (main): Likewise.
12153         * scripts/test-installation.pl: Likewise.
12154         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12156         * All files with FSF copyright notices: Update copyright dates
12157         using scripts/update-copyrights.
12158         * intl/plural.c: Regenerated.
12159         * locale/programs/charmap-kw.h: Likewise.
12160         * locale/programs/locfile-kw.h: Likewise.
12162 2016-01-02  Helge Deller  <deller@gmx.de>
12164         [BZ #19285]
12165         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12166         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12167         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12168         (MADV_xxK_PAGES): Remove.
12170 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12172         [BZ #15421]
12173         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12174         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12175         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12176         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12178 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12180         [BZ #19408]
12181         * sysdeps/unix/sysv/linux/personality.c: New file.
12182         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12183         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12185         (sysdep_routines): Add personality.
12186         (tests): Add tst-personality.
12187         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12189         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12190         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12191         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12192         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12193         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12194         Likewise.
12195         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12196         Likewise.
12197         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12198         Likewise.
12199         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12200         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12201         Likewise.
12203 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12205         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12206         (PATH_ARM_SYSTYPE): Remove.
12207         (PATH_CPUINFO): Likewise.
12208         (IO_BASE_FOOTBRIDGE): Likewise.
12209         (IO_SHIFT_FOOTBRIDGE): Likewise.
12210         (struct platform): Likewise.
12211         (init_iosys): Remove compatibility code for 2.4 kernels.
12212         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12214 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12216         * malloc/tst-malloc-thread-fail.c: New file.
12217         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12218         (tst-malloc-thread-fail): Link against libpthread.
12220 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12222         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12223         (get_parser): New function.
12224         (main): New function.
12226 2015-12-29  Rob Wu  <rob@robwu.nl>
12228         [BZ #19369]
12229         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12231 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12233         [BZ #19270]
12234         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12236 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12238         [BZ #15421]
12239         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12241 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12243         [BZ #13690]
12244         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12245         after releasing it.
12246         (__lll_robust_unlock): Likewise.
12247         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12248         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12249         (lll_robust_unlock): Likewise.
12250         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12251         Prevent warnings in callers.
12253 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12255         * malloc/arena.c (list_lock): Update comment.
12257 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12259         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12260         __parse_hwcap_and_convert_at_platform to libc.a.
12262 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12265         platform and feature support for POWER9.
12266         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12267         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12268         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12269         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12270         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12271         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12272         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12273         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12275 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12277         Harmonize generic stdio-lock support with nptl
12279         This fixes build when _IO_funlockfile is a macro, fixes build where
12280         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12281         stack unwind.
12283         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12284         _IO_release_lock ): Use cleanup attribute on new
12285         _IO_acquire_lock_file variable instead of assuming that
12286         _IO_release_lock will be called.
12287         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12288         _IO_acquire_lock_needs_exceptions_enabled.
12289         (_IO_acquire_lock_clear_flags2): New macro.
12291 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12293         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12295 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12297         [BZ #19182]
12298         * malloc/arena.c (list_lock): Document lock ordering requirements.
12299         (free_list_lock): New lock.
12300         (ptmalloc_lock_all): Comment on free_list_lock.
12301         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12302         (detach_arena): Update comment.  free_list_lock is now needed.
12303         (_int_new_arena): Use free_list_lock around detach_arena call.
12304         Acquire arena lock after list_lock.  Add comment, including FIXME
12305         about incorrect synchronization.
12306         (get_free_list): Switch to free_list_lock.
12307         (reused_arena): Acquire free_list_lock around detach_arena call
12308         and attached threads counter update.  Add two FIXMEs about
12309         incorrect synchronization.
12310         (arena_thread_freeres): Switch to free_list_lock.
12311         * malloc/malloc.c (struct malloc_state): Update comments to
12312         mention free_list_lock.
12314 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12316         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12317         Remove functions.
12318         (sloww, sloww1): Accept argument to offset quadrant.
12319         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12320         quadrant.
12321         (__sin, __cos): Consolidate common code into new functions.
12322         (reduce_sincos_1, do_sincos_1): New functions.
12323         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12326         code to new functions.
12327         (reduce_sincos_2, do_sincos_2): New functions.
12328         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12331         common code for sincos.
12332         (__cos) [!IN_SINCOS]: Likewise.
12333         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12334         New function.
12335         (__sincos): Use it.
12337 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12339         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12340         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12341         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12343 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12345         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12348         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12349         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12350         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12351         index_Prefer_No_VZEROUPPER): New feature.
12352         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12353         Prefer_No_VZEROUPPER for Knights Landing.
12355 015-12-18  Torvald Riegel  <triegel@redhat.com>
12357         * math/atest-exp2.c (mp_exp_m1): Remove.
12359 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12361         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12362         syscalls.
12363         (__SYSCALL0): New macro.
12364         (__SYSCALL1): Likewise.
12365         (__SYSCALL2): Likewise.
12366         (__SYSCALL3): Likewise.
12367         (__SYSCALL4): Likewise.
12368         (__SYSCALL5): Likewise.
12369         (__SYSCALL6): Likewise.
12370         (__SYSCALL_CONCAT_X): Likewise.
12371         (__SYSCALL_CONCAT): Likewise.
12372         (__SYSCALL_DIST): Likewise.
12373         (__SYSCALL_CALL): Likewise.
12375 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12377         [BZ #19363]
12378         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12380 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12382         [BZ #19375]
12383         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12384         negative subnormals.
12386 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12388         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12389         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12390         (INTERNAL_SYSCALL_NCS): Use it.
12391         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12393 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12395         [BZ #19243]
12396         * malloc/arena.c (get_free_list): Remove assert and adjust
12397         reference count handling.  Add comment about reused_arena
12398         interaction.
12399         (reused_arena): Add comments abount get_free_list interaction.
12400         * malloc/tst-malloc-thread-exit.c: New file.
12401         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12402         (tst-malloc-thread-exit): Link against libpthread.
12404 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12406         [BZ #19367]
12407         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12408         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12409         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12410         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12411         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12413 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12415         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12416         Silvermont optimizations for Knights Landing.
12418 2015-12-15  Andreas Schwab  <schwab@suse.de>
12420         [BZ #17197]
12421         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12422         immediately after emitting SI.
12423         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12424         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12425         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12426         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12427         * iconvdata/bug-iconv10.c: New file.
12428         * iconvdata/Makefile (tests): Add bug-iconv10.
12429         ($(objpfx)bug-iconv10.out): New rule.
12431 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12433         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12434         aliasing violation.
12436 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12438         [BZ #18472]
12439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12440         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12441         conditionals for them.
12442         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12443         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12445         sys/kdaemon.h.
12446         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12447         compat-only syscall, obsoleted in glibc 2.23.
12448         (create_module): Likewise.
12449         (get_kernel_syms): Likewise.
12450         (query_module): Likewise.
12451         (uselib): Likewise.
12452         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12454 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12456         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12457         <linux/version.h>.
12458         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12459         conditional code.
12460         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12461         and ioshift_name initialization.
12463 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12465         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12466         Fix indentation.
12468 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12470         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12472 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12474         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12476 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12477             Jakub Wilk  <jwilk@debian.org>
12479         [BZ #19347]
12480         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12481         to change the group of the device to the tty group.
12483 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12485         Split large string section; add truncation advice
12486         * manual/examples/strncat.c: Remove.
12487         This example was misleading, as the code would have undefined
12488         behavior if "hello" was longer than SIZE.  Anyway, the manual
12489         shouldn't encourage strncpy+strncat for this sort of thing.
12490         * manual/string.texi (Copying Strings and Arrays): Split into
12491         three sections Copying Strings and Arrays, Concatenating Strings,
12492         and Truncating Strings, as this section was way too long.  All
12493         cross-referenced changed.  Add advice about string-truncation
12494         functions.  Remove misleading strncat example.
12496 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12498         * manual/nss.texi (NSS Modules Interface): Document
12499         NSS_STATUS_NOTFOUND and SUCCESS.
12501 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12503         [BZ 18568]
12504         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12505         201505L, for Unicode 8.
12507 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12509         * locale/C-translit.h: Regenerate.
12511 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12513         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12514         and U+0153.
12516 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12518         [BZ #19351]
12519         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12520         expanding log(1+z), compare z rather than its square with epsilon
12521         to determine when to avoid evaluating the expansion.
12523         [BZ #19350]
12524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12525         Increase overflow threshold.
12527         [BZ #19349]
12528         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12529         when small.
12531         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12533         New macro.
12534         [__LINUX_KERNEL_VERSION >= 0x040300]
12535         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12537         Likewise.
12538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12539         Likewise.
12540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12541         Likewise.
12542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12543         Likewise.
12544         [__LINUX_KERNEL_VERSION >= 0x040300]
12545         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12546         [__LINUX_KERNEL_VERSION >= 0x040300]
12547         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12548         [__LINUX_KERNEL_VERSION >= 0x040300]
12549         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12550         [__LINUX_KERNEL_VERSION >= 0x040300]
12551         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12552         [__LINUX_KERNEL_VERSION >= 0x040300]
12553         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12555         Likewise.
12556         [__LINUX_KERNEL_VERSION >= 0x040300]
12557         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12559         Likewise.
12560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12561         Likewise.
12562         [__LINUX_KERNEL_VERSION >= 0x040300]
12563         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12565         Likewise.
12566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12567         Likewise.
12568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12570         Likewise.
12571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12572         Likewise.
12573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12574         Likewise.
12575         [__LINUX_KERNEL_VERSION >= 0x040300]
12576         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12578         Likewise.
12579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12580         Likewise.
12581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12582         Likewise.
12583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12584         Likewise.
12585         [__LINUX_KERNEL_VERSION >= 0x040300]
12586         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12587         [__LINUX_KERNEL_VERSION >= 0x040300]
12588         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12589         [__LINUX_KERNEL_VERSION >= 0x040300]
12590         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12591         [__LINUX_KERNEL_VERSION >= 0x040300]
12592         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12593         [__LINUX_KERNEL_VERSION >= 0x040300]
12594         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12596         Likewise.
12597         [__LINUX_KERNEL_VERSION >= 0x040300]
12598         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12600         Likewise.
12601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12602         Likewise.
12603         [__LINUX_KERNEL_VERSION >= 0x040300]
12604         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12605         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12606         Likewise.
12607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12610         (__ASSUME_SOCKET_SYSCALL): Likewise.
12611         (__ASSUME_BIND_SYSCALL): Likewise.
12612         (__ASSUME_CONNECT_SYSCALL): Likewise.
12613         (__ASSUME_LISTEN_SYSCALL): Likewise.
12614         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12615         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12616         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12617         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12618         (__ASSUME_SEND_SYSCALL): Likewise.
12619         (__ASSUME_SENDTO_SYSCALL): Likewise.
12620         (__ASSUME_RECV_SYSCALL): Likewise.
12621         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12622         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12623         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12624         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12625         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12626         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12627         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12628         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12629         Likewise.
12630         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12631         Likewise.
12632         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12633         Likewise.
12634         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12635         Likewise.
12636         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12637         Likewise.
12638         [__LINUX_KERNEL_VERSION >= 0x020625]
12639         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12640         [__LINUX_KERNEL_VERSION >= 0x020625]
12641         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12642         [__LINUX_KERNEL_VERSION >= 0x020625]
12643         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12644         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12645         Likewise.
12646         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12647         Likewise.
12648         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12649         Likewise.
12650         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12651         Likewise.
12652         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12653         Likewise.
12654         [__LINUX_KERNEL_VERSION >= 0x020625]
12655         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12656         [__LINUX_KERNEL_VERSION >= 0x020625]
12657         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12658         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12659         Likewise.
12660         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12661         Likewise.
12663 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12665         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12666         record the current if the current ABI and CPU support the FP64
12667         extension.
12668         (has-modd-spreg): Define to record the current if the current ABI and
12669         CPU support 32-bit floating point values in odd FPU registers.
12670         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12671         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12672         $(has-modd-spreg) equals yes.
12673         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12674         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12675         $(has-modd-spreg) equal yes.
12677 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12679         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12680         basename.
12682 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12684         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12685         (bench-string): ... here.
12686         (bench): Add bench-string.
12687         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12688         to *-benchset to reflect what they are.
12689         (benchset): Adjust.
12691         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12692         cos-inputs.
12694 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12696         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12697         __attribute__ ((__simd__)) for vector math function declarations.
12699 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12701         Fix typo in strncat, wcsncat manual entries
12702         * manual/string.texi (Copying and Concatenation): Fix typos in
12703         sample implementations of strncat and wcsncat, by having them use
12704         the old value of the destination length, not the new one.
12706 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12708         [BZ #16961]
12709         [BZ #16962]
12710         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12711         string on the stack for strtod.
12712         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12713         a string on the stack for strtof.
12714         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12715         constructing a string on the stack for strtold.
12716         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12717         __strtold_nan to GLIBC_PRIVATE.
12718         * math/test-nan-overflow.c: New file.
12719         * math/test-nan-payload.c: Likewise.
12720         * math/Makefile (tests): Add test-nan-overflow and
12721         test-nan-payload.
12723 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12725         Consistency about byte vs character in string.texi
12726         * manual/string.texi (String and Array Utilities):
12727         Distinguish more carefully among bytes, multibyte characters,
12728         and wide characters.  Use "byte" when talking about C 'char',
12729         to distinguish it more clearly from multibyte characters.
12730         Say "wide character" or "multibyte character" instead of
12731         "character", when a wide or multibyte character is intended.
12732         Similarly for "multibyte string" versus "string".
12733         Define these terms more carefully.
12735 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12737         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12738         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12739         Likewise.
12740         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12741         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12742         * sysdeps/sh/math_private.h: New file.
12743         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12744         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12745         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12746         long double function name.
12747         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12749         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12753         Remove __finitel, __isinfl, and __isnanl.
12754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12755         Likewise.
12756         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12758         Remove __finitel.
12759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12760         Likewise.
12761         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12763 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12765         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12766         installed libmvec_nonshared.a.
12768 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12770         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12771         (sysdep_routines): Likewise.
12772         (sysdep-rtld-routines): Likewise.
12773         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12774         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12775         * sysdeps/powerpc/Versions: Added new
12776         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12777         * sysdeps/powerpc/hwcapinfo.c: New file.
12778         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12779         and parse hwcap, hwcap2 and platform number information.
12780         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12781         to store HWCAP+HWCAP2 and platform number.
12782         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12783         for HWCAP+HWCAP2 and platform number in the TCB.
12784         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12785         the HWCAP, HWCAP2 and platform number in the TCB.
12786         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12787         (TLS_INIT_TP): Included calls to add the hwcap and
12788         at_platform values in the TCB in TP initialization.
12789         (TLS_DEFINE_INIT_TP): Likewise.
12790         (THREAD_GET_HWCAP): New macro.
12791         (THREAD_SET_HWCAP): Likewise.
12792         (THREAD_GET_AT_PLATFORM): Likewise.
12793         (THREAD_SET_AT_PLATFORM): Likewise.
12794         * sysdeps/powerpc/powerpc32/dl-machine.h:
12795         (dl_platform_init): New function that calls
12796         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12797         powerpc32.
12798         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12799         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12800         this functionality, static linking case.
12801         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12802         linking case.
12803         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12804         __parse_hwcap_and_convert_at_platform for the static linking case.
12805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12806         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12807         ABI list for GLIBC 2.23.
12808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12809         Likewise.
12810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12811         Likewise.
12813 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12815         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12816         * configure: Regenerate.
12817         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12818         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12820 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12822         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12823         * iconvdata/ibm933.c: Likewise.
12824         * iconvdata/ibm935.c: Likewise.
12825         * iconvdata/ibm937.c: Likewise.
12826         * iconvdata/ibm939.c: Likewise.
12828 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12830         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12831         pthread_join.
12832         * nptl/tst-cancel21.c (tf): Likewise.
12834 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12836         [BZ #19313]
12837         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12838         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12839         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12840         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12841         Likewise.
12842         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12843         Likewise.
12844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12845         Likewise.
12846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12847         Likewise.
12848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12849         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12850         unsigned long int with __CPU_MASK_TYPE.
12852 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12854         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12856 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12858         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12859         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12860         t512.x.
12861         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12863 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12865         [BZ #19214]
12866         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12867         argument to return extended model.  Update family and model
12868         with extended family and model when family == 0x0f.
12869         (init_cpu_features): Updated.
12871 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12873         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12874         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12876         * sysdeps/mach/hurd/mmap64.c: New file.
12878 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12880         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12881         rights for its main user thread in NEWTASK.
12883 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12885         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12886         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12888 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12890         [BZ #14259]
12891         * Makeconfig: Rename localedir to complocaledir.
12892         Rename inst_localedir to inst_complocaledir.
12893         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12894         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12895         * configure.ac: Use libc_cv_complocaledir.
12896         * configure: Regenerate.
12897         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12898         -DCOMPLOCALEDIR.
12899         * locale/findlocale.c: Use COMPLOCALEDIR.
12900         * locale/loadarchive.c: Likewise.
12901         * locale/programs/locale.c: Likewise.
12902         * locale/programs/localedef.c: Likewise.
12903         * locale/programs/locarchive.c: Likewise.
12904         * localedata/Makefile: Use inst_complocaledir.
12905         * sysdeps/gnu/configure: Regenerate.
12906         * sysdeps/hppa/configure: Regenerate.
12907         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12908         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12910         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12912         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12913         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12915 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12917         [BZ #19058]
12918         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12919         AS_NEEDED.
12920         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12921         workaround.
12922         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12923         libmvec-static-only-routines): Added new file.
12924         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12926 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12928         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12929         of interrupted RPC instead of restoring it.
12931         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12932         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12933         libc_hidden_def.
12934         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12935         into initialized data instead of common. Define rtld_hidden_data_def.
12936         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12937         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12938         libc_hidden_def.
12939         (if_freenameindex): Add libc_hidden_weak.
12940         (if_nameindex): Add libc_hidden_weak.
12941         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12942         __open64.
12943         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12944         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12945         * sysdeps/mach/nanosleep.c: Include <time.h>
12946         (__nanosleep): Rename to __libc_nanosleep.
12947         (__nanosleep): Add weak_alias.
12948         (nanosleep): Update alias.
12950 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12952         * stdlib/strtod_nan.c: New file.
12953         * stdlib/strtod_nan_double.h: Likewise.
12954         * stdlib/strtod_nan_float.h: Likewise.
12955         * stdlib/strtod_nan_main.c: Likewise.
12956         * stdlib/strtod_nan_narrow.h: Likewise.
12957         * stdlib/strtod_nan_wide.h: Likewise.
12958         * stdlib/strtof_nan.c: Likewise.
12959         * stdlib/strtold_nan.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12962         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12963         * wcsmbs/wcstod_nan.c: Likewise.
12964         * wcsmbs/wcstof_nan.c: Likewise.
12965         * wcsmbs/wcstold_nan.c: Likewise.
12966         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12967         strtold_nan.
12968         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12969         wcstof_nan.
12970         * include/stdlib.h (__strtof_nan): Declare and use
12971         libc_hidden_proto.
12972         (__strtod_nan): Likewise.
12973         (__strtold_nan): Likewise.
12974         (__wcstof_nan): Likewise.
12975         (__wcstod_nan): Likewise.
12976         (__wcstold_nan): Likewise.
12977         * include/wchar.h (____wcstoull_l_internal): Declare.
12978         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12979         (____strtoull_l_internal): Remove declaration.
12980         (STRTOF_NAN): Define macro.
12981         (SET_MANTISSA): Remove macro.
12982         (STRTOULL): Likewise.
12983         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12984         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12985         (STRTOF_NAN): Define macro.
12986         (SET_MANTISSA): Remove macro.
12987         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12988         (SET_MANTISSA): Remove macro.
12989         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12990         macro.
12991         (SET_MANTISSA): Remove macro.
12992         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12993         macro.
12994         (SET_MANTISSA): Remove macro.
12995         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12996         (SET_MANTISSA): Remove macro.
12997         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12998         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12999         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13001         [BZ #19266]
13002         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13003         upper case and lower case letters inside NAN(), not using TOLOWER.
13004         * stdlib/tst-strtod-nan-locale-main.c: New file.
13005         * stdlib/tst-strtod-nan-locale.c: Likewise.
13006         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13007         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13008         Depend on $(gen-locales).
13009         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13010         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13011         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13012         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13013         Depend on $(gen-locales).
13014         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13016 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13018         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13020         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13022         __finitel, __isinfl, and __isnanl.
13023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13024         Likewise.
13025         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13027         __finitel.
13028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13029         Likewise.
13030         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13032 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13034         * malloc/memusage.c (me): Remove redundant getenv call.
13036 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13038         [BZ #19143]
13039         [BZ #19164]
13040         * nptl/check-cpuset.h: Remove.
13041         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13042         Remove CPU set size check.
13043         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13044         Likewise.
13045         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13046         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13047         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13048         (__pthread_setaffinity_new): Remove CPU set size check.
13049         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13050         (__kernel_cpumask_size): Remove.
13051         (__sched_setaffinity_new): Remove CPU set size check.
13052         * manual/threads.texi (Default Thread Attributes): Remove stale
13053         reference to check_cpuset_attr, determine_cpumask_size in comment.
13054         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13055         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13056         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13057         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13058         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13059         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13060         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13061         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13062         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13063         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13064         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13065         skeleton test file.
13066         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13067         tst-affinity-pid.
13069 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13071         * scripts/update-abilist.sh: New file.
13072         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13073         * Makerules (update-all-abi-%, update-all-abi)
13074         (subdir_update-all-abi): New targets.
13075         * elf/Makefile (update-all-abi): New target.
13077 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13079         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13080         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13081         (__libc_lock_define_initialized): Use it.
13082         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13083         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13084         * malloc/malloc.c (main_arena): Likewise.
13085         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13086         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13088 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13090         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13091         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13092         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13093         (PTRACE_O_MASK): Update value.
13094         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13095         New value in enum __ptrace_setoptions.
13096         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13097         (PTRACE_O_MASK): Update value.
13098         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13099         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13100         (PTRACE_O_MASK): Update value.
13101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13102         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13103         (PTRACE_O_MASK): Update value.
13104         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13105         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13106         (PTRACE_O_MASK): Update value.
13107         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13108         New value in enum __ptrace_setoptions.
13109         (PTRACE_O_MASK): Update value.
13110         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13111         New value in enum __ptrace_setoptions.
13112         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13113         (PTRACE_O_MASK): Update value.
13115         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13116         New macro.
13117         (PACKET_AUXDATA): Likewise.
13118         (PACKET_ORIGDEV): Likewise.
13119         (PACKET_VERSION): Likewise.
13120         (PACKET_HDRLEN): Likewise.
13121         (PACKET_RESERVE): Likewise.
13122         (PACKET_TX_RING): Likewise.
13123         (PACKET_LOSS): Likewise.
13124         (PACKET_VNET_HDR): Likewise.
13125         (PACKET_TX_TIMESTAMP): Likewise.
13126         (PACKET_TIMESTAMP): Likewise.
13127         (PACKET_FANOUT): Likewise.
13128         (PACKET_TX_HAS_OFF): Likewise.
13129         (PACKET_QDISC_BYPASS): Likewise.
13130         (PACKET_ROLLOVER_STATS): Likewise.
13131         (PACKET_FANOUT_DATA): Likewise.
13132         (PACKET_MR_UNICAST): Likewise.
13134         [BZ #19242]
13135         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13136         (TOUPPER): Likewise.
13137         * stdlib/tst-strtol-locale-main.c: New file.
13138         * stdlib/tst-strtol-locale.c: Likewise.
13139         * stdlib/Makefile (tests): Add tst-strtol-locale.
13140         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13141         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13142         Depend on $(gen-locales).
13143         * wcsmbs/tst-wcstol-locale.c: New file.
13144         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13145         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13146         tr_TR.ISO-8859-9.
13147         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13148         Depend on $(gen-locales).
13150 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13152         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13153         __glibc_likely instead of __builtin_expect.  After falling back to
13154         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13155         system interface to register the code pages as occupied.
13157 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13159         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13160         [!ARM_MATH_PRIVATE_H].
13161         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13162         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13163         [!HPPA_MATH_PRIVATE_H].
13164         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13165         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13166         to [!I386_MATH_PRIVATE_H].
13167         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13168         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13169         Change guard to [!M68K_MATH_PRIVATE_H].
13170         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13171         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13172         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13173         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13174         macro.
13175         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13176         [!MIPS_MATH_PRIVATE_H].
13177         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13178         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13179         [!NIO2_MATH_PRIVATE_H].
13180         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13181         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13182         [!TILE_MATH_PRIVATE_H].
13183         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13185         [BZ #15421]
13186         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13187         initialize with 0 and define as weak alias of __signgam.
13188         * include/math.h [!_ISOMAC] (__signgam): Declare.
13189         * math/Makefile (libm-calls): Add w_lgamma_compat.
13190         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13191         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13192         test-signgam-ullong-init.
13193         (tests-static): Add test-signgam-uchar-static,
13194         test-signgam-uchar-init-static, test-signgam-uint-static,
13195         test-signgam-uint-init-static, test-signgam-ullong-static and
13196         test-signgam-ullong-init-static.
13197         (CFLAGS-test-signgam-uchar.c): New variable.
13198         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13199         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13200         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13201         (CFLAGS-test-signgam-uint.c): Likewise.
13202         (CFLAGS-test-signgam-uint-init.c): Likewise.
13203         (CFLAGS-test-signgam-uint-static.c): Likewise.
13204         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13205         (CFLAGS-test-signgam-ullong.c): Likewise.
13206         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13207         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13208         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13209         * math/Versions (libm): Add GLIBC_2.23.
13210         * math/lgamma-compat.h: New file.
13211         * math/test-signgam-main.c: Likewise.
13212         * math/test-signgam-uchar-init-static.c: Likewise.
13213         * math/test-signgam-uchar-init.c: Likewise.
13214         * math/test-signgam-uchar-static.c: Likewise.
13215         * math/test-signgam-uchar.c: Likewise.
13216         * math/test-signgam-uint-init-static.c: Likewise.
13217         * math/test-signgam-uint-init.c: Likewise.
13218         * math/test-signgam-uint-static.c: Likewise.
13219         * math/test-signgam-uint.c: Likewise.
13220         * math/test-signgam-ullong-init-static.c: Likewise.
13221         * math/test-signgam-ullong-init.c: Likewise.
13222         * math/test-signgam-ullong-static.c: Likewise.
13223         * math/test-signgam-ullong.c: Likewise.
13224         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13225         wrapper of w_lgamma_main.c.
13226         * math/w_lgamma_compat.c: New file.
13227         * math/w_lgamma_compatf.c: Likewise.
13228         * math/w_lgamma_compatl.c: Likewise.
13229         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13230         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13231         defining compatibility symbols.
13232         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13233         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13234         wrapper of w_lgammaf_main.c.
13235         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13236         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13237         defining compatibility symbols.
13238         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13239         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13240         wrapper of w_lgammal_main.c.
13241         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13242         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13243         defining compatibility symbols.
13244         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13245         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13246         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13247         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13248         <lgamma-compat.h>.
13249         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13250         (__ieee754_gamma): Define as alias.
13251         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13252         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13253         <lgamma-compat.h>.
13254         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13255         (__ieee754_gammaf): Define as alias.
13256         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13257         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13258         <lgamma-compat.h>.
13259         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13260         (__ieee754_gammal): Define as alias.
13261         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13262         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13263         <math/w_lgamma_compat.c>.
13264         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13265         Define as alias of __lgamma_compat and use in defining lgammal.
13266         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13267         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13268         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13269         (USE_AS_COMPAT): New macro.
13270         (LGAMMA_OLD_VER): Undefine and redefine.
13271         (lgammal): Do not define here.
13272         (gammal): Only define here if [GAMMA_ALIAS].
13273         * conform/linknamespace.pl (@whitelist): Remove signgam.
13274         * sysdeps/nacl/libm.abilist: Update.
13275         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13277         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13283         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13285         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13286         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13288         Likewise.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13290         Likewise.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13292         Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13294         Likewise.
13295         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13296         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13297         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13298         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13299         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13301         Likewise.
13302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13303         Likewise.
13304         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13306         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13308 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13310         [BZ #16364]
13311         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13312         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13314 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13316         * sysdeps/s390/fpu/bits/mathinline.h:
13317         Use __asm__ [__volatile__] instead of asm [volatile].
13318         * sysdeps/s390/abort-instr.h: Likewise.
13319         * sysdeps/s390/atomic-machine.h: Likewise.
13320         * sysdeps/s390/bits/string.h: Likewise.
13321         * sysdeps/s390/dl-tls.h: Likewise.
13322         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13323         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13324         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13325         * sysdeps/s390/fpu/fesetround.c: Likewise.
13326         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13327         * sysdeps/s390/fpu/s_fma.c: Likewise.
13328         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13329         * sysdeps/s390/memusage.h: Likewise.
13330         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13331         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13332         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13333         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13334         * sysdeps/s390/nptl/tls.h: Likewise.
13335         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13336         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13337         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13338         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13339         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13340         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13341         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13342         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13343         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13344         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13345         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13346         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13347         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13348         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13349         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13350         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13351         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13352         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13353         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13355         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13357         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13359 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13360             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13362         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13363         Add lwarx hint, and use macro for acquire instruction.
13364         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13365         Likewise.
13366         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13367         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13368         update to use new atomic macros.
13370 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13372         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13373         (__lll_trylock_elision): Fix setting of adapt_count.
13374         * sysdeps/unix/sysv/linux/powerpc/htm.h
13375         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13376         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13377         (_ABORT_SYSCALL): Renumber, and clarify definition.
13378         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13380 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13382         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13383         after system headers to prevent MIN/MAX redefinition.  Define
13384         HAVE_ALLOCA to preserve builtin alloca usage.
13386 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13389         static and don't set or restore rounding.
13390         (__cos)[IN_SINCOS]: Likewise.
13391         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13392         (__sincos): Set and restore rounding mode.  Remove check for infinite
13393         or NaN input.
13395         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13397         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13398         as used.
13400 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13402         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13404 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13406         * config.make.in (have-glob-dat-reloc): New.
13407         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13408         target supports GLOB_DAT relocaton. AC_SUBST.
13409         * configure: Regenerated.
13410         * elf/Makefile (tests): Add tst-prelink.
13411         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13412         (tst-prelink-ENV): New.
13413         ($(objpfx)tst-prelink-conflict.out): Likewise.
13414         ($(objpfx)tst-prelink-cmp.out): Likewise.
13415         * sysdeps/x86/tst-prelink.c: Moved to ...
13416         * elf/tst-prelink.c: Here.
13417         * sysdeps/x86/tst-prelink.exp: Moved to ...
13418         * elf/tst-prelink.exp: Here.
13419         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13420         (tst-prelink-ENV): Removed.
13421         ($(objpfx)tst-prelink-conflict.out): Likewise.
13422         ($(objpfx)tst-prelink-cmp.out): Likewise.
13423         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13425 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13427         [BZ #14551]
13428         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13429         (__mpn_construct_long_double): If high part overflows to infinity,
13430         set errno and recompute overflowed result of the correct sign.
13431         * sysdeps/ieee754/ldbl-128ibm/Makefile
13432         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13433         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13434         $(libm).
13435         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13437 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #15479]
13440         [BZ #19238]
13441         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13442         floating-point state after first operation on input.  Restore full
13443         state rather than just rounding mode.
13444         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13445         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13446         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13448         [BZ #19235]
13449         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13450         add 0.5 to integer arguments.
13451         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13452         Likewise.
13453         (.LC2): New object.
13455 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13457         * scripts/pylintrc (reports): Set to no.
13459 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13461         * elf/dl-load.c (open_verify): Take new argument FD.
13462         Skip __open call if passed FD is not -1.
13463         (_dl_map_object, open_path): Update callers.
13464         * elf/dl-sysdep-open.h: New file.
13465         * elf/dl-load.c: Include it.
13466         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13467         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13468         * sysdeps/nacl/dl-sysdep-open.h: New file.
13469         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13470         from libc to rtld.
13472 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13474         [BZ #19228]
13475         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13476         and restore full floating-point state.
13477         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13478         Likewise.
13479         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13480         Likewise.
13481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13482         Likewise.
13483         * math/test-nearbyint-except-2.c: New file.
13484         * math/Makefile (tests): Add test-nearbyint-except-2.
13486 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13488         [BZ #19178]
13489         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13490         (tst-prelink-ENV): New.
13491         ($(objpfx)tst-prelink-conflict.out): Likewise.
13492         ($(objpfx)tst-prelink-cmp.out): Likewise.
13493         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13494         * sysdeps/x86/tst-prelink.c: New file.
13495         * sysdeps/x86/tst-prelink.exp: Likewise.
13497 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13499         * math/auto-libm-test-in: Add another test of pow.
13500         * math/auto-libm-test-out: Regenerated.
13501         * math/libm-test.inc (pow_test_data): Add another test.
13503 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13505         [BZ #19219]
13506         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13507         weak_alias to nearbyintl.
13509 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13511         * sysdeps/aarch64/bits/string.h: New file.
13512         (_STRING_ARCH_unaligned): Define.
13514 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13516         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13517         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13518         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13519         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13522 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13524         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13525         for original name of the DSO.  Add it to the name list of the DSO
13526         if it is actually given.
13527         (_dl_map_object): Keep track of whether an audit module rewrote
13528         the file name.  If yes, pass the original name to
13529         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13530         debugging is enabled, log the change of the file name.
13531         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13532         _dl_map_object_from_fd.
13533         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13534         * elf/tst-audit11.c: New file
13535         * elf/tst-auditmod11.c: New file.
13536         * elf/tst-audit11mod1.c: New file.
13537         * elf/tst-audit11mod2.c: New file.
13538         * elf/tst-audit11mod2.map: New file.
13539         * elf/tst-audit12.c: New file
13540         * elf/tst-auditmod12.c: New file.
13541         * elf/tst-audit12mod1.c: New file.
13542         * elf/tst-audit12mod2.c: New file.
13543         * elf/tst-audit12mod2.map: New file.
13544         * elf/tst-audit12mod3.c: New file.
13546 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13548         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13549         Don't create weak aliases,
13550         because versioned symbols are created later.
13551         * sysdeps/s390/s390-32/setjmp.S
13552         (setjmp, _setjmp): Remove weak and rename to an unique name
13553         in SHARED case due to existing versioned symbols.
13554         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13555         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13556         (getcontext): Create weak alias only in non SHARED case.
13557         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13559 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13561         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13562         (__ASSUME_*_SYSCALL) Define new macros.
13563         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13564         Remove socketcall syscalls.
13565         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13566         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13567         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13568         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13569         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13570         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13572 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13574         [BZ #12926]
13575         Terminate process on invalid netlink response.
13576         * sysdeps/unix/sysv/linux/netlinkaccess.h
13577         (__netlink_assert_response): Declare.
13578         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13579         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13580         (sysdep_routines): Add netlink_assert_response.
13581         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13582         __netlink_assert_response.
13583         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13584         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13585         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13586         __netlink_assert_response.
13588 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13590         [BZ #19178]
13591         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13592         (RTYPE_CLASS_PLT): Likewise.
13593         (RTYPE_CLASS_COPY): Likewise.
13594         (RTYPE_CLASS_TLS): Likewise.
13595         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13596         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13597         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13598         DL_DEBUG_PRELINK.
13600 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13602         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13603         calls with argument -0.5.
13604         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13606         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13607         (libc_cv_z_nodlopen): Likewise.
13608         (libc_cv_z_initfirst): Likewise.
13609         * configure: Regenerated.
13611 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13613         Simplify abilist format to be line-based.
13614         * scripts/abilist.awk: Collect descriptors in the descs variable.
13615         (emit): Write descs variable and sort it
13616         externally, with sort.
13617         * sysdeps/**/*.abilist: Convert to new format.
13619 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13621         [BZ #11460]
13622         * io/Makefile (routines): Add fts64.
13623         (tests): Add tst-fts and tst-fts-lfs.
13624         (CFLAGS-fts64.c): New.
13625         * io/Versions (GLIBC_2.23): New.
13626         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13627         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13628         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13629         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13630         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13631         (FTSENT64): Likewise.
13632         (fts64_children): Likewise.
13633         (fts64_close): Likewise.
13634         (fts64_open): Likewise.
13635         (fts64_read): Likewise.
13636         (fts64_set): Likewise.
13637         * io/fts64.c: New file.
13638         * io/tst-fts.c: New test.
13639         * io/tst-fts-lfs.c: Likewise.
13640         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13641         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13642         fts64_set.
13643         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13653         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13655         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13659         Likewise.
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13662         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13663         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13664         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13665         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13666         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13671         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13672         * sysdeps/wordsize-64/fts.c: New file.
13673         * sysdeps/wordsize-64/fts64.c: Likewise.
13674         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13675         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13676         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13677         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13679 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13681         * math/libm-test.inc (NON_FINITE): New macro.
13682         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13683         * math/gen-libm-test.pl (show_exceptions): Add argument
13684         $non_finite.
13685         (parse_args): Update call to show_exceptions.
13686         * math/test-math-finite.h: New file.
13687         * math/test-math-no-finite.h: Likewise.
13688         * math/test-double-finite.c: Likewise.
13689         * math/test-float-finite.c: Likewise.
13690         * math/test-ldouble-finite.c: Likewise.
13691         * math/test-double.c: Include "test-math-no-finite.h".
13692         * math/test-float.c: Include "test-math-no-finite.h".
13693         * math/test-ldouble.c: Include "test-math-no-finite.h".
13694         * math/test-math-inline.h (TEST_FINITE): New macro.
13695         * math/test-math-vector.h (TEST_FINITE): Likewise.
13696         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13697         (libm-tests): Add test-float-finite and test-double-finite.
13698         ($(objpfx)test-float-finite.o): New dependency on
13699         $(objpfx)libm-test.stmp.
13700         ($(objpfx)test-double-finite.o): Likewise.
13701         ($(objpfx)test-ldouble-finite.o): Likewise.
13702         (libm-test-no-inline-cflags): New variable.
13703         (libm-test-finite-cflags): Likewise.
13704         (CFLAGS-test-float-finite.c): Likewise.
13705         (CFLAGS-test-double-finite.c): Likewise.
13706         (CFLAGS-test-ldouble-finite.c): Likewise.
13707         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13708         (CFLAGS-test-double.c): Likewise.
13709         (CFLAGS-test-ldouble.c): Likewise.
13711 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13713         * io/fcntl.c (__fcntl): Add ... to prototype.
13714         * misc/ioctl.c (__ioctl): Likewise.
13715         * misc/syscall.c (syscall): Likewise.
13717 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13719         * scripts/list-fixed-bugs.py: New file.
13721         [BZ #19213]
13722         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13723         returned for argument 1.
13724         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13725         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13726         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13727         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13728         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13729         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13731         [BZ #19211]
13732         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13733         __USE_XOPEN], not if [!__USE_ISOC99].
13734         (lgammaf): Likewise.
13735         (lgammal): Likewise.
13736         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13737         (gammaf): Likewise.
13738         (gammal): Likewise.
13739         * math/test-signgam-finite-c11.c: New file.
13740         * math/test-signgam-finite-c99.c: Likewise.
13741         * math/test-signgam-finite.c: Likewise.
13742         * math/Makefile (tests): Add test-signgam-finite,
13743         test-signgam-finite-c99 and test-signgam-finite-c11.
13744         (CFLAGS-test-signgam-finite.c): New variable.
13745         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13746         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13748         [BZ #19212]
13749         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13750         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13751         500].
13752         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13753         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13754         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13755         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13756         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13757         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13758         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13759         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13760         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13761         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13763         [BZ #19209]
13764         * math/bits/math-finite.h (ldexp): Remove declaration.
13765         (ldexpf): Likewise.
13766         (ldexpl): Likewise.
13768         [BZ #19205]
13769         * math/bits/math-finite.h (acosf): Condition declaration on
13770         [__USE_ISOC99].
13771         (acosl): Likewise.
13772         (acoshf): Likewise.
13773         (acoshl): Likewise.
13774         (asinf): Likewise.
13775         (asinl): Likewise.
13776         (atan2f): Likewise.
13777         (atan2l): Likewise.
13778         (atanhf): Likewise.
13779         (atanhl): Likewise.
13780         (coshf): Likewise.
13781         (coshl): Likewise.
13782         (expf): Likewise.
13783         (expl): Likewise.
13784         (fmodf): Likewise.
13785         (fmodl): Likewise.
13786         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13787         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13788         (j0l): Likewise.
13789         (y0f): Likewise.
13790         (y0l): Likewise.
13791         (j1f): Likewise.
13792         (j1l): Likewise.
13793         (y1f): Likewise.
13794         (y1l): Likewise.
13795         (jnf): Likewise.
13796         (jnl): Likewise.
13797         (ynf): Likewise.
13798         (ynl): Likewise.
13799         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13800         (lgammal_r): Likewise.
13801         (__lgamma_r_finite): New declaration.
13802         (__lgammaf_r_finite): Likewise.
13803         (__lgammal_r_finite): Likewise.
13804         (lgamma): Use __lgamma_r_finite.
13805         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13806         __lgammaf_r_finite.
13807         (lgammal): Condition definition on [__USE_ISOC99].  Use
13808         __lgammal_r_finite.
13809         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13810         __lgamma_r_finite.
13811         (gammaf): Condition definition on [__USE_ISOC99].  Use
13812         __lgammaf_r_finite.
13813         (gammal): Condition definition on [__USE_ISOC99].  Use
13814         __lgammal_r_finite.
13815         (logf): Condition declaration on [__USE_ISOC99].
13816         (logl): Likewise.
13817         (log10f): Likewise.
13818         (log10l): Likewise.
13819         (ldexpf): Likewise.
13820         (ldexpl): Likewise.
13821         (powf): Likewise.
13822         (powl): Likewise.
13823         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13824         __USE_ISOC99].
13825         (remainderf): Condition declaration on [__USE_ISOC99].
13826         (remainderl): Likewise.
13827         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13828         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13829         (scalbl): Likewise.
13830         (sinhf): Condition declaration on [__USE_ISOC99].
13831         (sinhl): Likewise.
13832         (sqrtf): Likewise.
13833         (sqrtl): Likewise.
13835 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13837         * sysdeps/arm/atomic-machine.h
13838         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13839         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13840         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13841         Remove conditional code.
13842         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13843         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13844         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13845         Change conditional to [__ASSEMBLER__].
13846         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13847         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13848         [!__ASSEMBLER__].
13849         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13850         code.
13851         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13852         conditional macro definitions.
13853         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13854         (__arch_compare_and_exchange_val_16_acq): Likewise.
13855         (__arch_compare_and_exchange_val_32_acq): Likewise.
13856         (atomic_exchange_and_add): Likewise.
13857         (atomic_add): Likewise.
13858         (atomic_add_negative): Likewise.
13859         (atomic_add_zero): Likewise.
13860         (atomic_bit_set): Likewise.
13861         (atomic_bit_test_set): Likewise.
13862         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13863         code unconditional.
13864         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13866         * math/test-math-errno.h: New file.
13867         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13868         empty.
13869         (TEST_ERRNO): New macro.
13870         (TEST_EXCEPTIONS): Likewise.
13871         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13872         (TEST_EXCEPTIONS): Likewise.
13873         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13874         * math/test-double.c: Include "test-math-errno.h".
13875         * math/test-float.c: Likewise.
13876         * math/test-ldouble.c: Likewise.
13877         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13878         code unconditional.
13879         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13880         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13881         unconditional.
13882         (test_errno): Only run code if TEST_ERRNO.
13883         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13885 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13887         * nptl/tst-once5.cc: Remove attribution.
13889 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13891         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13892         sqrt, tan, tanh, y0, y1 and yn.
13893         * math/auto-libm-test-out: Regenerated.
13894         * math/libm-test.inc (scalb_test_data): Add more tests.
13895         (scalbn_test_data): Likewise.
13896         (scalbln_test_data): Likewise.
13897         (signbit_test_data): Likewise.
13898         (sin_test_data): Likewise.
13899         (sincos_test_data): Likewise.
13900         (sinh_test_data): Likewise.
13901         (sqrt_test_data): Likewise.
13902         (tan_test_data): Likewise.
13903         (tanh_test_data): Likewise.
13904         (tgamma_test_data): Likewise.
13905         (y0_test_data): Likewise.
13906         (y1_test_data): Likewise.
13907         (yn_test_data): Likewise.
13908         (significand_test_data): Likewise.
13909         * sysdeps/i386/fpu/libm-test-ulps: Update.
13911 2015-11-03  David Kastrup  <dak@gnu.org>
13913         [BZ #18604]
13914         * assert/assert.h (assert): Don't macro-expand failed assertion
13915         expression in error message.
13916         * malloc/malloc.c (assert): Likewise.
13918 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13920         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13921         test.
13922         * configure: Regenerated.
13924 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13926         * math/libm-test.inc (modf_test_data): Add more tests.
13927         (nearbyint_test_data): Likewise.
13928         (nextafter_test_data): Likewise.
13929         (nexttoward_test_data): Likewise.
13930         (pow_test_data): Likewise.
13931         (remainder_test_data): Likewise.
13932         (remquo_test_data): Likewise.
13933         (rint_test_data): Likewise.
13935         [BZ #19201]
13936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13937         Check for zero remainder in case of large exponents and ensure
13938         correct sign of result in that case.
13939         * math/libm-test.inc (remainder_test_data): Add more tests.
13941         [BZ #6799]
13942         * math/s_nextafter.c: Include <errno.h>.
13943         (__nextafter): Set errno on overflow and underflow.
13944         * math/s_nexttowardf.c: Include <errno.h>.
13945         (__nexttowardf): Set errno on overflow and underflow.
13946         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13947         (__nextafterl): Set errno on overflow and underflow.
13948         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13949         (__nexttoward): Set errno on overflow and underflow.
13950         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13951         (__nexttowardf): Set errno on overflow and underflow.
13952         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13953         (__nextafterf): Set errno on overflow and underflow.
13954         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13955         (__nextafterl): Set errno on overflow and underflow.
13956         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13957         (__nexttoward): Set errno on overflow and underflow.
13958         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13959         (__nexttowardf): Set errno on overflow and underflow.
13960         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13961         (__nextafterl): Set errno on overflow and underflow.
13962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13963         (__nexttoward): Set errno on overflow and underflow.
13964         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13965         (__nexttowardf): Set errno on overflow and underflow.
13966         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13967         (__nexttoward): Set errno on overflow and underflow.
13968         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13969         (__nexttowardf): Set errno on overflow and underflow.
13970         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13971         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13972         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13973         (__nextafterl): Set errno on overflow and underflow.
13974         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13975         setting to be missing on overflow.  Add more tests.
13976         (nexttoward_test_data): Likewise.
13978         * configure.ac (libc_cv_initfini_array): Remove configure test.
13979         * configure: Regenerated.
13981 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13983         [BZ #19189]
13984         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13985         non-finite argument handle arguments with negative sign.
13987         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13988         result from infinite argument.
13989         (j1_test_data): Likewise.
13990         (jn_test_data): Likewise.
13991         (y0_test_data): Likewise.
13992         (y1_test_data): Likewise.
13993         (yn_test_data): Likewise.
13995         [BZ #16171]
13996         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13997         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13998         * math/w_remainderf.c (dremf): Define as weak alias of
13999         __remainderf.
14000         * math/w_remainderl.c (dreml): Define as weak alias of
14001         __remainderl.
14002         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14003         __remainder.
14004         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14005         __remainderf.
14006         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14007         __remainderl.
14008         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14009         weak alias of remainderl.
14010         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14011         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14012         alias of __remainder.
14013         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14014         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14015         strong alias of __remainderl.
14016         (dreml): Use long_double_symbol.
14017         * math/Makefile (libm-calls): Remove w_drem.
14018         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14019         (CFLAGS-nldbl-drem.c): Remove variable.
14020         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14021         * math/w_drem.c: Remove file.
14022         * math/w_dremf.c: Likewise.
14023         * math/w_dreml.c: Likewise.
14024         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14025         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14026         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14028         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14029         * sysdeps/i386/configure: Regenerated.
14030         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14031         * sysdeps/x86_64/configure: Regenerated.
14033         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14034         test.
14035         (libc_cv_visibility_attribute): Likewise.
14036         (libc_cv_protected_data): Test unconditionally.
14037         (libc_cv_broken_visibility_attribute): Remove configure test.
14038         (libc_cv_have_sdata_section): Test unconditionally.
14039         * configure: Regenerated.
14041         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14042         * include/scratch_buffer.h: Include <stddef.h> instead of
14043         <libc-internal.h>.
14044         (struct scratch_buffer): Use max_align_t instead of
14045         libc_max_align_t.
14047 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14049         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14050         instead of extend_alloca.  Change control flow to avoid a goto.
14051         Remove assert which is trivially always true.
14053 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14055         [BZ #16068]
14056         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14057         (FE_ALL_EXCEPT_X86): New macro.
14058         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14059         FE_ALL_EXCEPT.  Ensure precision control is included in
14060         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14061         handle "denormal operand exception" and clear FZ and DAZ bits.
14062         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14063         (FE_ALL_EXCEPT_X86): New macro.
14064         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14065         FE_ALL_EXCEPT.  Ensure precision control is included in
14066         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14067         handle "denormal operand exception" and clear FZ and DAZ bits.
14068         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14069         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14070         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14071         test-fenv-x87 and test-fenv-sse-2.
14072         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14074         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14075         * math/test-double.h (BUILD_COMPLEX): New macro.
14076         * math/test-float.h (BUILD_COMPLEX): Likewise.
14077         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14079         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14080         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14081         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14083         instead of DBL_DENORM_MIN in comment.
14084         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14085         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14086         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14087         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14089         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14091 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14093         [BZ# 19048]
14094         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14095         attached_threads member.
14096         (main_arena): Initialize attached_threads.
14097         * malloc/arena.c (list_lock): Update comment.
14098         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14099         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14100         (deattach_arena): New function.
14101         (_int_new_arena): Initialize arena reference count and deattach
14102         replaced arena.
14103         (get_free_list, reused_arena): Update reference count and deattach
14104         replaced arena.
14105         (arena_thread_freeres): Update arena reference count and only put
14106         unreferenced arenas on the free list.
14108 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14110         [BZ #19181]
14111         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14112         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14113         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14114         * math/test-fenv-clear-main.c: New file.
14115         * math/test-fenv-clear.c: Likewise.
14116         * math/Makefile (tests): Add test-fenv-clear.
14117         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14118         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14119         test-fenv-clear-sse.
14120         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14122         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14123         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14124         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14126 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14128         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14129         static libc.
14131 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14133         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14134         test.
14135         * sysdeps/i386/configure: Regenerated.
14136         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14137         test.
14138         * sysdeps/x86_64/configure: Regenerated.
14139         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14141         memset-avx2 unconditionally instead of conditionally on
14142         [$(config-cflags-avx2) = yes].
14143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14144         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14145         unconditional.
14146         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14147         * sysdeps/x86_64/multiarch/memset_chk.S
14148         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14149         to [IS_IN (libc) && SHARED].
14151 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14153         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14154         configure test.
14155         * sysdeps/arm/configure: Regenerated.
14156         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14157         Define variable if not already defined.
14159         [BZ #17404]
14160         * sysdeps/mips/atomic-machine.h
14161         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14162         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14163         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14165         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14166         unconditional.
14167         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14168         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14169         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14170         unconditional.
14171         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14172         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14173         unconditional.
14174         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14175         * stdlib/setenv.c
14176         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14177         code unconditional.
14178         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14179         Remove conditional code.
14180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14181         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14182         unconditional.
14183         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14184         code.
14185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14186         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14187         unconditional.
14188         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14189         code.
14190         * sysdeps/ieee754/ldbl-128/k_tanl.c
14191         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14192         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14193         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14194         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14195         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14197         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14198         unconditional.
14199         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14200         code.
14201         * sysdeps/ieee754/ldbl-96/k_tanl.c
14202         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14203         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14205         * nptl/tst-initializers1-c11.c: New file.
14206         * nptl/tst-initializers1-gnu11.c: Likewise.
14207         * nptl/Makefile (tests): Add these new tests.
14208         (CFLAGS-tst-initializers1-c11.c): New variable.
14209         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14211         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14212         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14213         instead of -std=gnu99.
14214         * configure.ac (systemtap): Test with -std=gnu11 instead of
14215         -std=gnu99.
14216         * configure: Regenerated.
14217         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14218         in compilation command in comment.
14220         * sysdeps/nptl/configure.ac: Remove file.
14221         * sysdeps/nptl/configure: Remove generated file.
14222         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14223         * configure: Regenerated.
14224         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14225         * config.make.in (have-forced-unwind): Remove variable.
14226         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14227         unconditional.
14228         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14229         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14230         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14231         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14232         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14233         unconditional.
14235 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14237         [BZ #19174]
14238         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14239         .skip_lock_out_of_tbegin_retries.
14240         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14241         (__lll_lock_elision): Likewise, and respect a value of
14242         try_tbegin <= 0.
14244 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14246         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14247         statement.
14249 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14251         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14252         variable.
14253         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14254         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14256         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14257         of -std=c1x -D_ISOC11_SOURCE.
14259         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14260         * configure: Regenerated.
14261         * manual/install.texi (Tools for Compilation): Document
14262         requirement for GCC 4.7 or later.
14263         * INSTALL: Regenerated.
14265 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14267         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14268         on CNT to a conditional jump to 'puntdata'.
14270 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14272         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14273         (libc_cv_gcc_tls_model_attr): Likewise.
14274         * configure: Regenerated.
14276         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14277         * configure: Regenerated.
14278         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14280 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14282         * configure.ac (old_glibc_headers): Remove configure test.
14283         * configure: Regenerated.
14284         * config.make.in (old-glibc-headers): Remove variable.
14285         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14286         (install): Remove dependency on remove-old-headers.
14287         (headers2_0): Remove variable.
14288         (remove-old-headers): Remove rule.
14290         * configure.ac (libc_cv_dot_text): Remove configure test.
14291         (libc_cv_asm_set_directive): Use .text instead of
14292         ${libc_cv_dot_text} in configure test.
14293         * configure: Regenerated.
14295 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14297         [BZ #19168]
14298         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14300 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14302         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14303         not support static linking.
14304         * configure: Regenerate.
14306 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14308         * math/libm-test.inc (check_float_internal): Do not special-case
14309         errors up to 0.5 ulp.
14311         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14312         log2.
14313         * math/auto-libm-test-out: Regenerated.
14314         * math/libm-test.inc (MAX_EXP): New macro.
14315         (ilogb_test_data): Add more tests.
14316         (isfinite_test_data): Likewise.
14317         (isgreater_test_data): Likewise.
14318         (isgreaterequal_test_data): Likewise.
14319         (isinf_test_data): Likewise.
14320         (isless_test_data): Likewise.
14321         (islessequal_test_data): Likewise.
14322         (islessgreater_test_data): Likewise.
14323         (isnan_test_data): Likewise.
14324         (isnormal_test_data): Likewise.
14325         (issignaling_test_data): Likewise.
14326         (isunordered_test_data): Likewise.
14327         (j0_test_data): Likewise.
14328         (j1_test_data): Likewise.
14329         (jn_test_data): Likewise.
14330         (lgamma_test_data): Likewise.
14331         (log_test_data): Likewise.
14332         (log10_test_data): Likewise.
14333         (log1p_test_data): Likewise.
14334         (log2_test_data): Likewise.
14335         (logb_test_data): Likewise.
14336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14338         [BZ #18611]
14339         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14340         avoid excess range and precision on underflow.
14341         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14342         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14343         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14344         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14345         underflow.
14346         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14347         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14348         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14349         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14350         * math/auto-libm-test-in: Do not allow missing errno setting for
14351         tests of j1 and jn.
14352         * math/auto-libm-test-out: Regenerated.
14354 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #15491]
14357         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14358         floating-point environment instead of clearing all exceptions.
14359         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14360         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14361         merging in "invalid" exceptions from frndint.
14362         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14363         * math/test-nearbyint-except.c: New file.
14364         * math/Makefile (tests): Add test-nearbyint-except.
14366 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14368         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14370         * sysdeps/tile/libm-test-ulps: Regenerated.
14372 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14375         (__NR_sync_file_range2): Assume it is always defined.
14376         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14377         (__NR_sync_file_range): Assume it is always defined.
14379 2015-10-22  Andreas Schwab  <schwab@suse.de>
14381         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14382         INTERNAL_SYSCALL_ERRNO.
14383         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14384         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14385         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14386         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14390 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14392         * io/tst-fcntl.c (fd): New static variable.
14393         (do_prepare): Open temporary file here....
14394         (do_test): ...not here.
14396         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14398 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14400         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14401         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14402         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14403         Moved before "#ifdef __ASSEMBLER__".
14405 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14407         [BZ #19156]
14408         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14409         arguments very close to 0.
14411 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14413         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14414         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14416 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14418         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14419         New.  Defined for GCC 5 and above when not compiling for
14420         profiling.
14421         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14423         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14424         Renamed to ...
14425         (CFLAGS-epoll_pwait.o): This.
14426         (CFLAGS-mmap.c): Renamed to ...
14427         (CFLAGS-mmap.o): This.
14428         (CFLAGS-mmap64.c): Renamed to ...
14429         (CFLAGS-mmap64.o): This.
14430         (CFLAGS-epoll_pwait.os): New.
14431         (CFLAGS-mmap.os): Likewise.
14432         (CFLAGS-mmap64.os): Likewise.
14433         (CFLAGS-semtimedop.os): Likewise.
14434         (CFLAGS-semtimedop.c): Renamed to ...
14435         (CFLAGS-semtimedop.o): This.
14437 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14439         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14440         warning message.
14442 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14444         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14445         * Makefile ($(objpfx)c++-types-check.out): Filter out
14446         $(+gccwarn-c) instead of -Wstrict-prototypes.
14448         * io/fts.c (fts_open): Convert to prototype-style function
14449         definition.
14450         * malloc/mcheck.c (mcheck): Likewise.
14451         (mcheck_pedantic): Likewise.
14452         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14453         internal_function.
14454         (re_search_internal): Likewise.
14455         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14456         prototype-style function definition.
14457         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14458         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14459         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14460         (xdr_utmpptr): Likewise.
14461         (xdr_utmparr): Likewise.
14462         (xdr_utmpidle): Likewise.
14463         (xdr_utmpidleptr): Likewise.
14464         (xdr_utmpidlearr): Likewise.
14466         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14467         log, log10 and log2.
14468         * math/auto-libm-test-out: Regenerated.
14469         * math/libm-test.inc (fmod_test_data): Add more tests.
14470         (fpclassify_test_data): Likewise.
14471         (frexp_test_data): Likewise.
14472         (hypot_test_data): Likewise.
14473         (ilogb_test_data): Likewise.
14475 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14477         * debug/fortify_fail.c (__fortify_fail): Convert to
14478         prototype-style function definition.  Use internal_function.
14479         * libio/genops.c (save_for_backup): Convert to prototype-style
14480         function definition.
14481         * libio/wgenops.c (save_for_wbackup): Likewise.
14482         * login/grantpt.c (grantpt): Likewise.
14483         * login/ptsname.c (ptsname): Likewise.
14484         (__ptsname_r): Likewise.
14485         * login/unlockpt.c (unlockpt): Likewise.
14486         * mach/msgserver.c (__mach_msg_server): Likewise.
14487         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14488         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14489         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14490         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14491         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14492         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14493         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14494         Likewise.
14495         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14496         internal_function.
14497         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14498         prototype-style function definition.
14499         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14500         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14501         (__pthread_create_2_0): Likewise.
14502         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14503         * nptl/register-atfork.c (__register_atfork): Likewise.
14504         * posix/glob.c (glob): Likewise.
14505         * posix/regcomp.c (re_comp): Likewise.
14506         * posix/regexec.c (re_exec): Likewise.
14507         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14508         [!__STDC__]: Remove conditional code.
14509         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14510         [!__STDC__]: Remove conditional code.
14511         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14512         [!__STDC__]: Remove conditional code.
14513         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14514         [!__STDC__]: Remove conditional code.
14515         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14516         [!__STDC__]: Remove conditional code.
14517         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14518         [!__STDC__]: Remove conditional code.
14519         * stdlib/mul.c [__STDC__]: Make code unconditional.
14520         [!__STDC__]: Remove conditional code.
14521         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14522         [!__STDC__]: Remove conditional code.
14523         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14524         [!__STDC__]: Remove conditional code.
14525         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14526         function definition.
14527         (STRTOF): Likewise.
14528         * stdlib/strtod_l.c (__STRTOF): Likewise.
14529         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14530         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14531         (__strtol_l): Likewise.
14532         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14533         [!__STDC__]: Remove conditional code.
14534         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14535         definition.
14536         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14537         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14538         type.
14539         (__strcasecmp): Convert to prototype-style function definition.
14540         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14541         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14542         type.
14543         (__strncasecmp): Convert to prototype-style function definition.
14544         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14545         * sunrpc/xdr.c (xdr_union): Likewise.
14546         * sunrpc/xdr_array.c (xdr_array): Likewise.
14547         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14548         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14549         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14550         Likewise.
14551         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14552         Likewise.
14553         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14554         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14555         Likewise.
14556         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14557         (LOCALE_PARAM_PROTO): Likewise.
14558         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14559         argument type.
14560         (ut_argument_spec): Remove macro.
14561         (ut_argument_spec_iso): Rename to ut_argument_spec.
14562         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14563         prototype-style function definition.
14564         (memcpy_uppcase): Likewise.
14565         (__strftime_internal): Likewise.
14566         (my_strftime): Likewise.
14567         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14568         (LOCALE_PARAM_DECL): Likewise.
14569         [_LIBC] (LOCALE_PARAM): Include argument type.
14570         (__strptime_internal): Convert to prototype-style function
14571         definition.
14572         (strptime): Likewise.
14573         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14574         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14575         type.
14576         (__wcscasecmp): Convert to prototype-style function definition.
14577         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14578         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14579         type.
14580         (__wcsncasecmp): Convert to prototype-style function definition.
14582         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14583         function definition.
14584         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14585         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14586         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14587         * elf/dl-minimal.c (_itoa): Likewise.
14588         * hurd/hurdmalloc.c (malloc): Likewise.
14589         (free): Likewise.
14590         (realloc): Likewise.
14591         * inet/inet6_option.c (inet6_option_space): Likewise.
14592         (inet6_option_init): Likewise.
14593         (inet6_option_append): Likewise.
14594         (inet6_option_alloc): Likewise.
14595         (inet6_option_next): Likewise.
14596         (inet6_option_find): Likewise.
14597         * io/ftw.c (FTW_NAME): Likewise.
14598         (NFTW_NAME): Likewise.
14599         (NFTW_NEW_NAME): Likewise.
14600         (NFTW_OLD_NAME): Likewise.
14601         * libio/iofwide.c (_IO_fwide): Likewise.
14602         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14603         (_IO_str_init_static): Likewise.
14604         (_IO_str_init_readonly): Likewise.
14605         (_IO_str_overflow): Likewise.
14606         (_IO_str_underflow): Likewise.
14607         (_IO_str_count): Likewise.
14608         (_IO_str_seekoff): Likewise.
14609         (_IO_str_pbackfail): Likewise.
14610         (_IO_str_finish): Likewise.
14611         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14612         (_IO_wstr_overflow): Likewise.
14613         (_IO_wstr_underflow): Likewise.
14614         (_IO_wstr_count): Likewise.
14615         (_IO_wstr_seekoff): Likewise.
14616         (_IO_wstr_pbackfail): Likewise.
14617         (_IO_wstr_finish): Likewise.
14618         * locale/programs/localedef.c (normalize_codeset): Likewise.
14619         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14620         (add_locales_to_archive): Likewise.
14621         (delete_locales_from_archive): Likewise.
14622         * malloc/malloc.c (__libc_mallinfo): Likewise.
14623         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14624         * misc/tsearch.c (__tfind): Likewise.
14625         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14626         * nptl/pthread_attr_getdetachstate.c
14627         (__pthread_attr_getdetachstate): Likewise.
14628         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14629         Likewise.
14630         * nptl/pthread_attr_getinheritsched.c
14631         (__pthread_attr_getinheritsched): Likewise.
14632         * nptl/pthread_attr_getschedparam.c
14633         (__pthread_attr_getschedparam): Likewise.
14634         * nptl/pthread_attr_getschedpolicy.c
14635         (__pthread_attr_getschedpolicy): Likewise.
14636         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14637         Likewise.
14638         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14639         Likewise.
14640         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14641         Likewise.
14642         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14643         Likewise.
14644         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14645         (__pthread_attr_init_2_0): Likewise.
14646         * nptl/pthread_attr_setdetachstate.c
14647         (__pthread_attr_setdetachstate): Likewise.
14648         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14649         Likewise.
14650         * nptl/pthread_attr_setinheritsched.c
14651         (__pthread_attr_setinheritsched): Likewise.
14652         * nptl/pthread_attr_setschedparam.c
14653         (__pthread_attr_setschedparam): Likewise.
14654         * nptl/pthread_attr_setschedpolicy.c
14655         (__pthread_attr_setschedpolicy): Likewise.
14656         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14657         Likewise.
14658         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14659         Likewise.
14660         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14661         Likewise.
14662         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14663         Likewise.
14664         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14665         Likewise.
14666         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14667         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14668         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14669         use internal_function.
14670         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14671         prototype-style function definition.
14672         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14673         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14674         internal_function.
14675         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14676         Convert to prototype-style function definition.
14677         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14678         Likewise.
14679         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14680         Likewise.
14681         (__pthread_mutex_unlock): Likewise.
14682         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14683         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14684         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14685         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14686         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14687         * nss/makedb.c (process_input): Likewise.
14688         * posix/fnmatch.c (__strchrnul): Likewise.
14689         (__wcschrnul): Likewise.
14690         (fnmatch): Likewise.
14691         * posix/fnmatch_loop.c (FCT): Likewise.
14692         * posix/glob.c (globfree): Likewise.
14693         (__glob_pattern_type): Likewise.
14694         (__glob_pattern_p): Likewise.
14695         * posix/regcomp.c (re_compile_pattern): Likewise.
14696         (re_set_syntax): Likewise.
14697         (re_compile_fastmap): Likewise.
14698         (regcomp): Likewise.
14699         (regerror): Likewise.
14700         (regfree): Likewise.
14701         * posix/regexec.c (regexec): Likewise.
14702         (re_match): Likewise.
14703         (re_search): Likewise.
14704         (re_match_2): Likewise.
14705         (re_search_2): Likewise.
14706         (re_search_stub): Likewise.  Use internal_function
14707         (re_copy_regs): Likewise.
14708         (re_set_registers): Convert to prototype-style function
14709         definition.
14710         (prune_impossible_nodes): Likewise.  Use internal_function.
14711         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14712         prototype-style function definition.
14713         (inet_net_pton_ipv4): Likewise.
14714         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14715         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14716         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14717         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14718         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14719         Make variadic.
14720         * time/strptime_l.c (localtime_r): Convert to prototype-style
14721         function definition.
14722         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14723         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14724         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14725         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14727         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14728         definition.
14729         (_ufc_doit_r): Likewise.
14730         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14731         (_ufc_output_conversion_r): Likewise.
14732         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14733         * inet/rcmd.c (rcmd_af): Likewise.
14734         (rcmd): Likewise.
14735         (ruserok_af): Likewise.
14736         (ruserok): Likewise.
14737         (ruserok2_sa): Likewise.
14738         (ruserok_sa): Likewise.
14739         (iruserok_af): Likewise.
14740         (iruserok): Likewise.
14741         (__ivaliduser): Likewise.
14742         (__validuser2_sa): Likewise.
14743         * inet/rexec.c (rexec_af): Likewise.
14744         (rexec): Likewise.
14745         * inet/ruserpass.c (ruserpass): Likewise.
14746         * locale/programs/xmalloc.c (xcalloc): Likewise.
14747         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14748         * math/w_drem.c (__drem): Likewise.
14749         * math/w_dremf.c (__dremf): Likewise.
14750         * math/w_dreml.c (__dreml): Likewise.
14751         * misc/daemon.c (daemon): Likewise.
14752         * resolv/res_debug.c (p_fqnname): Likewise.
14753         * stdlib/div.c (div): Likewise.
14754         * string/memcmp.c (memcmp_bytes): Likewise.
14755         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14756         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14758         * crypt/cert.c (main): Convert to prototype-style function
14759         definition.
14760         * io/pipe.c (__pipe): Likewise.
14761         * io/pipe2.c (__pipe2): Likewise.
14762         * misc/futimesat.c (futimesat): Likewise.
14763         * misc/utimes.c (__utimes): Likewise.
14764         * posix/execve.c (__execve): Likewise.
14765         * posix/execvp.c (execvp): Likewise.
14766         * posix/execvpe.c (__execvpe): Likewise.
14767         * posix/fexecve.c (fexecve): Likewise.
14768         * socket/socketpair.c (socketpair): Likewise.
14769         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14770         * stdlib/erand48.c (erand48): Likewise.
14771         * stdlib/erand48_r.c (__erand48_r): Likewise.
14772         * stdlib/jrand48.c (jrand48): Likewise.
14773         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14774         * stdlib/lcong48.c (lcong48): Likewise.
14775         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14776         * stdlib/nrand48.c (nrand48): Likewise.
14777         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14778         * stdlib/seed48.c (seed48): Likewise.
14779         * stdlib/seed48_r.c (__seed48_r): Likewise.
14780         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14781         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14782         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14784 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14786         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14787         * configure: Regenerated.
14788         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14789         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14790         unconditional.
14791         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14792         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14793         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14794         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14795         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14796         unconditional.
14797         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14799         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14800         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14802         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14803         function definition.
14804         * crypt/crypt_util.c (__encrypt_r): Likewise.
14805         * libio/genops.c (_IO_no_init): Likewise.
14806         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14807         (_IO_old_fopencookie): Likewise.
14808         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14809         * libio/iogetline.c (_IO_getline): Likewise.
14810         (_IO_getline_info): Likewise.
14811         * libio/iogetwline.c (_IO_getwline): Likewise.
14812         (_IO_getwline_info): Likewise.
14813         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14814         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14815         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14816         (find_entry): Likewise.
14817         (iterate_table): Likewise.
14818         (lookup): Likewise.
14819         * login/forkpty.c (forkpty): Likewise.
14820         * misc/hsearch_r.c (__hsearch_r): Likewise.
14821         * misc/select.c (__select): Likewise.
14822         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14823         Likewise.
14824         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14825         Likewise.
14826         * nptl/old_pthread_cond_timedwait.c
14827         (__pthread_cond_timedwait_2_0): Likewise.
14828         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14829         * nptl/pthread_barrierattr_getpshared.c
14830         (pthread_barrierattr_getpshared): Likewise.
14831         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14832         Likewise.
14833         * nptl/pthread_mutex_setprioceiling.c
14834         (pthread_mutex_setprioceiling): Likewise.
14835         * nptl/pthread_mutexattr_getprioceiling.c
14836         (pthread_mutexattr_getprioceiling): Likewise.
14837         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14838         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14839         Likewise.
14840         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14841         Likewise.
14842         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14843         Likewise.
14844         * socket/recvfrom.c (__recvfrom): Likewise.
14845         * socket/sendto.c (__sendto): Likewise.
14846         * socket/setsockopt.c (__setsockopt): Likewise.
14847         * stdio-common/_itoa.c (_itoa): Likewise.
14848         * stdio-common/_itowa.c (_itowa): Likewise.
14849         * stdio-common/reg-printf.c (__register_printf_specifier):
14850         Likewise.
14851         (__register_printf_function): Likewise.
14852         * stdio-common/tempname.c (__path_search): Likewise.
14853         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14854         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14855         * stdlib/random_r.c (__initstate_r): Likewise.
14856         * stdlib/setenv.c (__add_to_environ): Likewise.
14857         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14858         * streams/getpmsg.c (getpmsg): Likewise.
14859         * streams/putmsg.c (putmsg): Likewise.
14860         * streams/putpmsg.c (putpmsg): Likewise.
14861         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14862         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14863         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14864         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14865         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14866         * sunrpc/svc_udp.c (cache_get): Likewise.
14867         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14868         * sysdeps/mach/hurd/getcwd.c
14869         (__canonicalize_directory_name_internal): Likewise.
14870         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14871         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14872         * sysdeps/mach/hurd/select.c (__select): Likewise.
14873         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14874         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14875         * sysdeps/sparc/nptl/pthread_barrier_init.c
14876         (__pthread_barrier_init): Likewise.
14877         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14878         (__pthread_cond_timedwait): Likewise.
14879         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14880         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14881         Likewise.
14882         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14883         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14884         Likewise.
14885         * sysvipc/semtimedop.c (semtimedop): Likewise.
14886         * time/setitimer.c (__setitimer): Likewise.
14887         * time/strftime_l.c (emacs_strftime): Likewise.
14889 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14891         * config.make.in (have-ssp): Delete.
14892         (stack-protector): New variable.
14893         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14894         cache test for -fstack-protector-strong.  Export stack_protector to
14895         the best ssp flag.
14896         * configure: Regenerated.
14897         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14898         * nscd/Makefile (CFLAGS-nscd): Likewise.
14899         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14901 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14903         [BZ #19122]
14904         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14905         attribute_hidden.
14907 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14909         [BZ #18743]
14910         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14911         code to...
14912         (ELIDE_LOCK): ...here.
14913         (__get_new_count): New function with part of the code from
14914         __elide_lock that updates the value of adapt_count after a
14915         transaction abort.
14916         (__elided_trylock): Moved this code to...
14917         (ELIDE_TRYLOCK): ...here.
14919 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14921         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14922         * configure: Regenerate.
14923         * INSTALL: Regenerate.
14924         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14925         and tweak grammar.
14927 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14929         * login/programs/pt_chown.c: Include signal.h
14930         (main): Clear any signal mask from the parent process.
14932 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14934         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14935         * configure: Regenerated.
14936         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14937         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14938         $(gnu89-inline-CFLAGS).
14940         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14941         test.
14942         (libc_cv_asm_weakext_directive): Likewise.
14943         * configure: Regenerated.
14944         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14945         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14946         * include/libc-symbols.h
14947         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14948         #error.
14949         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14950         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14952         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14953         prototype-style function definition.
14954         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14955         * sysdeps/i386/ffs.c (__ffs): Likewise.
14956         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14957         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14958         Likewise.
14959         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14960         Likewise.
14961         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14963         Likewise.
14964         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14965         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14966         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14967         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14968         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14969         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14970         * sysdeps/mach/hurd/access.c (__access): Likewise.
14971         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14972         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14973         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14974         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14975         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14976         (cthread_getspecific): Likewise.
14977         (cthread_setspecific): Likewise.
14978         (__libc_getspecific): Likewise.
14979         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14980         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14981         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14982         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14983         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14984         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14985         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14986         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14987         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14988         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14989         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14990         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14991         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14992         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14993         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14994         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14995         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14996         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14997         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14998         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14999         * sysdeps/mach/hurd/link.c (__link): Likewise.
15000         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15001         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15002         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15003         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15004         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15005         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15006         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15007         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15008         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15009         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15010         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15011         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15012         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15013         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15014         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15015         * sysdeps/mach/hurd/send.c (__send): Likewise.
15016         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15017         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15018         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15019         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15020         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15021         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15022         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15023         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15024         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15025         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15026         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15027         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15028         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15029         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15030         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15031         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15032         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15033         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15034         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15035         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15036         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15037         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15038         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15039         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15040         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15041         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15042         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15043         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15044         * sysdeps/posix/alarm.c (alarm): Likewise.
15045         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15046         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15047         * sysdeps/posix/dup.c (__dup): Likewise.
15048         * sysdeps/posix/dup2.c (__dup2): Likewise.
15049         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15050         (main): Likewise.
15051         * sysdeps/posix/flock.c (__flock): Likewise.
15052         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15053         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15054         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15055         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15056         * sysdeps/posix/isatty.c (__isatty): Likewise.
15057         * sysdeps/posix/killpg.c (killpg): Likewise.
15058         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15059         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15060         * sysdeps/posix/raise.c (raise): Likewise.
15061         * sysdeps/posix/remove.c (remove): Likewise.
15062         * sysdeps/posix/rename.c (rename): Likewise.
15063         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15064         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15065         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15066         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15067         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15068         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15069         * sysdeps/posix/sigset.c (sigset): Likewise.
15070         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15071         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15072         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15073         * sysdeps/posix/time.c (time): Likewise.
15074         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15075         (ttyname): Likewise.
15076         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15077         * sysdeps/posix/utime.c (utime): Likewise.
15078         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15079         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15080         Likewise.
15081         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15082         (pthread_spin_trylock): Likewise.
15083         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15084         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15085         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15086         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15087         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15088         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15089         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15090         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15091         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15092         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15093         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15094         * sysdeps/s390/ffs.c (__ffs): Likewise.
15095         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15096         Likewise.
15097         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15098         Likewise.
15099         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15100         Likewise.
15101         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15102         (pthread_barrier_destroy): Likewise.
15103         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15104         (__pthread_barrier_wait): Likewise.
15105         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15106         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15107         (__pthread_barrier_wait): Likewise.
15108         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15109         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15110         (memcmp_not_common_alignment): Likewise.
15111         (MEMCMP): Likewise.
15112         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15113         (_wordcopy_fwd_dest_aligned): Likewise.
15114         (_wordcopy_bwd_aligned): Likewise.
15115         (_wordcopy_bwd_dest_aligned): Likewise.
15116         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15117         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15118         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15119         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15120         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15121         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15122         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15123         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15124         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15125         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15126         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15127         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15128         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15129         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15130         * sysdeps/unix/stime.c (stime): Likewise.
15131         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15132         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15133         Likewise.  Use internal_function.
15134         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15135         Convert to prototype-style function definition.
15136         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15137         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15138         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15139         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15140         Likewise.  Use internal_function.
15141         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15142         prototype-style function definition
15143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15144         Likewise.
15145         (__getlogin_r): Likewise.
15146         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15147         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15148         (__pthread_cond_broadcast): Likewise.
15149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15150         (__pthread_cond_destroy): Likewise.
15151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15152         (__pthread_cond_init): Likewise.
15153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15154         (__pthread_cond_signal): Likewise.
15155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15156         (__pthread_cond_wait): Likewise.
15157         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15158         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15159         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15160         Likewise.
15161         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15164         Likewise.
15165         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15169         (__ftruncate64): Likewise.
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15171         (truncate64): Likewise.
15172         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15173         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15174         (pthread_getcpuclockid): Likewise.
15175         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15176         Likewise.
15177         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15180         Likewise.
15181         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15184         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15185         (__libc_sigaction): Likewise.
15186         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15187         Likewise.
15188         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15189         (__sigprocmask): Likewise.
15190         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15191         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15192         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15193         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15194         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15195         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15196         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15199         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15200         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15201         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15202         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15203         Likewise.
15204         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15205         (__sigprocmask): Likewise.
15206         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15207         (cfgetispeed): Likewise.
15208         (cfsetospeed): Likewise.
15209         (cfsetispeed): Likewise.
15210         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15211         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15212         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15213         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15214         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15215         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15216         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15217         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15218         Likewise.
15219         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15220         Likewise.
15221         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15222         Likewise.
15223         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15224         Likewise.
15225         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15227 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15229         sunrpc: Rewrite with explicit TLS access using __thread.
15230         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15231         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15232         directly.
15233         (__rpc_thread_variables): Access thread_rpc_vars directly.
15234         Eliminate redundant assignment of the tvp variable.
15236 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15238         malloc: Rewrite with explicit TLS access using __thread.
15239         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15240         (tsd_setspecific, tsd_getspecific): Remove.
15241         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15242         (tsd_setspecific, tsd_getspecific): Likewise.
15243         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15244         (tsd_setspecific, tsd_getspecific): Likewise.
15245         * malloc/arena.c (thread_arena): New TLS variable.
15246         (arena_key): Remove variable.
15247         (arena_get): Use thread_arena.
15248         (arena_lookup): Remove macro.
15249         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15250         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15251         (_int_new_arena, get_free_list, reused_arena)
15252         (arena_thread_freeres): Use thread_arena.
15253         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15254         tsd_getspecific, tsd_setspecific from safety annotations.
15255         (Allocating Cleared Space): Remove arena_lookup from safety
15256         annotations.
15258 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15260         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15261         struct scratch_buffer instead of extend_alloca.
15263 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15265         * sysdeps/unix/sysv/linux/kernel-features.h
15266         (__ASSUME_SOCK_CLOEXEC): Remove.
15267         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15268         (__have_paccept): Remove unused macro.
15269         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15270         * misc/syslog.c (openlog_internal): Remove fallback code for
15271         !__ASSUME_SOCK_CLOEXEC.
15272         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15273         missing SOCK_CLOEXEC.
15274         * nscd/connections.c (have_sock_cloexec): Remove definition.
15275         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15276         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15277         !__ASSUME_SOCK_CLOEXEC.
15278         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15279         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15280         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15281         definition.
15282         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15283         code for !__ASSUME_SOCK_CLOEXEC.
15285 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15287         [BZ #18982]
15288         * manual/stdio.texi (Variable Arguments Output): Add portability
15289         note, explaining that vfprintf clobbers the va_list pointer.
15291 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15293         * math/libm-test.inc (fabs_test_data): Add more tests.
15294         (fdim_test_data): Likewise.
15295         (fma_test_data): Likewise.
15296         (fmax_test_data): Likewise.
15297         (fmin_test_data): Likewise.
15298         (fmod_test_data): Likewise.
15300 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15302         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15303         data.
15305 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15307         * math/libm-test.inc (ceil_test_data): Add more tests and more
15308         expectations for "inexact".
15309         (floor_test_data): Add more tests.
15310         (round_test_data): Likewise.
15311         (trunc_test_data): Likewise.
15313         * crypt/cert.c (good_bye): Convert to prototype-style function
15314         definition.
15315         (get8): Likewise.
15316         (put8): Likewise.
15317         * crypt/crypt-entry.c (crypt): Likewise.
15318         (__fcrypt): Likewise.
15319         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15320         (_ufc_set_bits): Likewise.
15321         (_ufc_clearmem): Likewise.
15322         (__init_des_r): Likewise.
15323         (shuffle_sb): Likewise.
15324         (shuffle_sb): Likewise.
15325         (_ufc_setup_salt_r): Likewise.
15326         (_ufc_mk_keytab_r): Likewise.
15327         (_ufc_dofinalperm_r): Likewise.
15328         (encrypt): Likewise.
15329         (__setkey_r): Likewise.
15330         (setkey): Likewise.
15331         * crypt/md5.c (md5_init_ctx): Likewise.
15332         (md5_read_ctx): Likewise.
15333         (md5_finish_ctx): Likewise.
15334         (md5_stream): Likewise.
15335         (md5_buffer): Likewise.
15336         (md5_process_bytes): Likewise.
15337         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15338         (__sha256_finish_ctx): Likewise.
15339         (__sha256_process_bytes): Likewise.
15340         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15341         (__sha512_finish_ctx): Likewise.
15342         (__sha512_process_bytes): Likewise.
15343         * ctype/isctype.c (__isctype): Likewise.
15344         * debug/backtrace.c (__backtrace): Likewise.
15345         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15346         * debug/fgets_chk.c (__fgets_chk): Likewise.
15347         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15348         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15349         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15350         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15351         * debug/memset_chk.c (__memset_chk): Likewise.
15352         * debug/strcat_chk.c (__strcat_chk): Likewise.
15353         * debug/strncat_chk.c (__strncat_chk): Likewise.
15354         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15355         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15356         * dirent/dirfd.c (dirfd): Likewise.
15357         * dirent/getdents.c (__getdirentries): Likewise.
15358         * dirent/getdents64.c (getdirentries64): Likewise.
15359         * dirent/rewinddir.c (__rewinddir): Likewise.
15360         * dirent/seekdir.c (seekdir): Likewise.
15361         * dirent/telldir.c (telldir): Likewise.
15362         * elf/sln.c (makesymlinks): Likewise.
15363         (makesymlink): Likewise.
15364         * gmon/gmon.c (__moncontrol): Likewise.
15365         (__monstartup): Likewise.
15366         (write_hist): Likewise.
15367         (write_call_graph): Likewise.
15368         (write_bb_counts): Likewise.
15369         * grp/setgroups.c (setgroups): Likewise.
15370         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15371         * inet/inet_net.c (inet_network): Likewise.
15372         * inet/inet_netof.c (inet_netof): Likewise.
15373         * inet/rcmd.c (rresvport_af): Likewise.
15374         (rresvport): Likewise.
15375         * io/access.c (__access): Likewise.
15376         * io/chdir.c (__chdir): Likewise.
15377         * io/chmod.c (__chmod): Likewise.
15378         * io/chown.c (__chown): Likewise.
15379         * io/close.c (__close): Likewise.
15380         * io/creat.c (creat): Likewise.
15381         * io/creat64.c (creat64): Likewise.
15382         * io/dup.c (__dup): Likewise.
15383         * io/dup2.c (__dup2): Likewise.
15384         * io/dup3.c (__dup3): Likewise.
15385         * io/euidaccess.c (__euidaccess): Likewise.
15386         * io/faccessat.c (faccessat): Likewise.
15387         * io/fchmod.c (__fchmod): Likewise.
15388         * io/fchmodat.c (fchmodat): Likewise.
15389         * io/fchown.c (__fchown): Likewise.
15390         * io/fchownat.c (fchownat): Likewise.
15391         * io/fcntl.c (__fcntl): Likewise.
15392         * io/flock.c (__flock): Likewise.
15393         * io/fts.c (fts_load): Likewise.
15394         (fts_close): Likewise.
15395         (fts_read): Likewise.
15396         (fts_set): Likewise.
15397         (fts_children): Likewise.
15398         (fts_build): Likewise.
15399         (fts_stat): Likewise.
15400         (fts_sort): Likewise.
15401         (fts_alloc): Likewise.
15402         (fts_lfree): Likewise.
15403         (fts_palloc): Likewise.
15404         (fts_padjust): Likewise.
15405         (fts_maxarglen): Likewise.
15406         (fts_safe_changedir): Likewise.
15407         * io/getwd.c (getwd): Likewise.
15408         * io/isatty.c (__isatty): Likewise.
15409         * io/lchown.c (__lchown): Likewise.
15410         * io/link.c (__link): Likewise.
15411         * io/linkat.c (linkat): Likewise.
15412         * io/lseek.c (__libc_lseek): Likewise.
15413         * io/mkdir.c (__mkdir): Likewise.
15414         * io/mkdirat.c (mkdirat): Likewise.
15415         * io/mkfifo.c (mkfifo): Likewise.
15416         * io/mkfifoat.c (mkfifoat): Likewise.
15417         * io/open.c (__libc_open): Likewise.
15418         * io/open64.c (__libc_open64): Likewise.
15419         * io/readlink.c (__readlink): Likewise.
15420         * io/readlinkat.c (readlinkat): Likewise.
15421         * io/rmdir.c (__rmdir): Likewise.
15422         * io/symlink.c (__symlink): Likewise.
15423         * io/symlinkat.c (symlinkat): Likewise.
15424         * io/ttyname.c (ttyname): Likewise.
15425         * io/ttyname_r.c (__ttyname_r): Likewise.
15426         * io/umask.c (__umask): Likewise.
15427         * io/unlink.c (__unlink): Likewise.
15428         * io/unlinkat.c (unlinkat): Likewise.
15429         * io/utime.c (utime): Likewise.
15430         * libio/clearerr.c (clearerr): Likewise.
15431         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15432         * libio/feof.c (_IO_feof): Likewise.
15433         * libio/feof_u.c (feof_unlocked): Likewise.
15434         * libio/ferror.c (_IO_ferror): Likewise.
15435         * libio/ferror_u.c (ferror_unlocked): Likewise.
15436         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15437         * libio/fileno.c (__fileno): Likewise.
15438         * libio/fputc.c (fputc): Likewise.
15439         * libio/fputc_u.c (fputc_unlocked): Likewise.
15440         * libio/fputwc.c (fputwc): Likewise.
15441         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15442         * libio/freopen.c (freopen): Likewise.
15443         * libio/freopen64.c (freopen64): Likewise.
15444         * libio/fseek.c (fseek): Likewise.
15445         * libio/fseeko.c (fseeko): Likewise.
15446         * libio/fseeko64.c (fseeko64): Likewise.
15447         * libio/ftello.c (__ftello): Likewise.
15448         * libio/ftello64.c (ftello64): Likewise.
15449         * libio/fwide.c (fwide): Likewise.
15450         * libio/genops.c (_IO_un_link): Likewise.
15451         (_IO_link_in): Likewise.
15452         (_IO_least_marker): Likewise.
15453         (_IO_switch_to_main_get_area): Likewise.
15454         (_IO_switch_to_backup_area): Likewise.
15455         (_IO_switch_to_get_mode): Likewise.
15456         (_IO_free_backup_area): Likewise.
15457         (_IO_switch_to_put_mode): Likewise.
15458         (__overflow): Likewise.
15459         (__underflow): Likewise.
15460         (__uflow): Likewise.
15461         (_IO_setb): Likewise.
15462         (_IO_doallocbuf): Likewise.
15463         (_IO_default_underflow): Likewise.
15464         (_IO_default_uflow): Likewise.
15465         (_IO_default_xsputn): Likewise.
15466         (_IO_sgetn): Likewise.
15467         (_IO_default_xsgetn): Likewise.
15468         (_IO_sync): Likewise.
15469         (_IO_default_setbuf): Likewise.
15470         (_IO_default_seekpos): Likewise.
15471         (_IO_default_doallocate): Likewise.
15472         (_IO_init): Likewise.
15473         (_IO_old_init): Likewise.
15474         (_IO_default_sync): Likewise.
15475         (_IO_default_finish): Likewise.
15476         (_IO_default_seekoff): Likewise.
15477         (_IO_sputbackc): Likewise.
15478         (_IO_sungetc): Likewise.
15479         (_IO_set_column): Likewise.
15480         (_IO_set_column): Likewise.
15481         (_IO_adjust_column): Likewise.
15482         (_IO_get_column): Likewise.
15483         (_IO_init_marker): Likewise.
15484         (_IO_remove_marker): Likewise.
15485         (_IO_marker_difference): Likewise.
15486         (_IO_marker_delta): Likewise.
15487         (_IO_seekmark): Likewise.
15488         (_IO_unsave_markers): Likewise.
15489         (_IO_nobackup_pbackfail): Likewise.
15490         (_IO_default_pbackfail): Likewise.
15491         (_IO_default_seek): Likewise.
15492         (_IO_default_stat): Likewise.
15493         (_IO_default_read): Likewise.
15494         (_IO_default_write): Likewise.
15495         (_IO_default_showmanyc): Likewise.
15496         (_IO_default_imbue): Likewise.
15497         (_IO_iter_next): Likewise.
15498         (_IO_iter_file): Likewise.
15499         * libio/getc.c (_IO_getc): Likewise.
15500         * libio/getwc.c (_IO_getwc): Likewise.
15501         * libio/iofclose.c (_IO_new_fclose): Likewise.
15502         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15503         * libio/iofflush.c (_IO_fflush): Likewise.
15504         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15505         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15506         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15507         * libio/iofgets.c (_IO_fgets): Likewise.
15508         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15509         * libio/iofgetws.c (fgetws): Likewise.
15510         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15511         * libio/iofopen64.c (_IO_fopen64): Likewise.
15512         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15513         (_IO_cookie_write): Likewise.
15514         (_IO_cookie_seek): Likewise.
15515         (_IO_cookie_close): Likewise.
15516         (_IO_cookie_seekoff): Likewise.
15517         (_IO_old_cookie_seek): Likewise.
15518         * libio/iofputs.c (_IO_fputs): Likewise.
15519         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15520         * libio/iofputws.c (fputws): Likewise.
15521         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15522         * libio/iofread.c (_IO_fread): Likewise.
15523         * libio/iofread_u.c (__fread_unlocked): Likewise.
15524         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15525         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15526         * libio/ioftell.c (_IO_ftell): Likewise.
15527         * libio/iofwrite.c (_IO_fwrite): Likewise.
15528         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15529         * libio/iogets.c (_IO_gets): Likewise.
15530         * libio/iopadn.c (_IO_padn): Likewise.
15531         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15532         (_IO_new_popen): Likewise.
15533         (_IO_new_proc_close): Likewise.
15534         * libio/ioputs.c (_IO_puts): Likewise.
15535         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15536         (_IO_seekoff): Likewise.
15537         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15538         (_IO_seekpos): Likewise.
15539         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15540         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15541         * libio/ioungetc.c (_IO_ungetc): Likewise.
15542         * libio/ioungetwc.c (ungetwc): Likewise.
15543         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15544         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15545         * libio/iowpadn.c (_IO_wpadn): Likewise.
15546         * libio/libc_fatal.c (__libc_fatal): Likewise.
15547         * libio/memstream.c (__open_memstream): Likewise.
15548         (_IO_mem_sync): Likewise.
15549         (_IO_mem_finish): Likewise.
15550         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15551         (_IO_old_file_close_it): Likewise.
15552         (_IO_old_file_finish): Likewise.
15553         (_IO_old_file_fopen): Likewise.
15554         (_IO_old_file_attach): Likewise.
15555         (_IO_old_file_setbuf): Likewise.
15556         (_IO_old_do_write): Likewise.
15557         (old_do_write): Likewise.
15558         (_IO_old_file_underflow): Likewise.
15559         (_IO_old_file_overflow): Likewise.
15560         (_IO_old_file_sync): Likewise.
15561         (_IO_old_file_seekoff): Likewise.
15562         (_IO_old_file_write): Likewise.
15563         (_IO_old_file_xsputn): Likewise.
15564         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15565         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15566         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15567         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15568         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15569         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15570         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15571         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15572         (_IO_old_popen): Likewise.
15573         (_IO_old_proc_close): Likewise.
15574         * libio/oldpclose.c (__old_pclose): Likewise.
15575         * libio/pclose.c (__new_pclose): Likewise.
15576         * libio/peekc.c (_IO_peekc_locked): Likewise.
15577         * libio/putc.c (_IO_putc): Likewise.
15578         * libio/putc_u.c (putc_unlocked): Likewise.
15579         * libio/putchar.c (putchar): Likewise.
15580         * libio/putchar_u.c (putchar_unlocked): Likewise.
15581         * libio/putwc.c (putwc): Likewise.
15582         * libio/putwc_u.c (putwc_unlocked): Likewise.
15583         * libio/putwchar.c (putwchar): Likewise.
15584         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15585         * libio/rewind.c (rewind): Likewise.
15586         * libio/setbuf.c (setbuf): Likewise.
15587         * libio/setlinebuf.c (setlinebuf): Likewise.
15588         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15589         * libio/vscanf.c (_IO_vscanf): Likewise.
15590         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15591         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15592         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15593         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15594         (_IO_switch_to_main_wget_area): Likewise.
15595         (_IO_switch_to_wbackup_area): Likewise.
15596         (_IO_wsetb): Likewise.
15597         (_IO_wdefault_pbackfail): Likewise.
15598         (_IO_wdefault_finish): Likewise.
15599         (_IO_wdefault_uflow): Likewise.
15600         (__woverflow): Likewise.
15601         (__wuflow): Likewise.
15602         (__wunderflow): Likewise.
15603         (_IO_wdefault_xsputn): Likewise.
15604         (_IO_wdefault_xsgetn): Likewise.
15605         (_IO_wdoallocbuf): Likewise.
15606         (_IO_wdefault_doallocate): Likewise.
15607         (_IO_switch_to_wget_mode): Likewise.
15608         (_IO_free_wbackup_area): Likewise.
15609         (_IO_switch_to_wput_mode): Likewise.
15610         (_IO_sputbackwc): Likewise.
15611         (_IO_sungetwc): Likewise.
15612         (_IO_adjust_wcolumn): Likewise.
15613         (_IO_init_wmarker): Likewise.
15614         (_IO_wmarker_delta): Likewise.
15615         (_IO_seekwmark): Likewise.
15616         (_IO_unsave_wmarkers): Likewise.
15617         * libio/wmemstream.c (open_wmemstream): Likewise.
15618         (_IO_wmem_sync): Likewise.
15619         (_IO_wmem_finish): Likewise.
15620         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15621         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15622         * locale/programs/simple-hash.c (init_hash): Likewise.
15623         (delete_hash): Likewise.
15624         (insert_entry): Likewise.
15625         (set_entry): Likewise.
15626         (next_prime): Likewise.
15627         (is_prime): Likewise.
15628         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15629         (xmalloc): Likewise.
15630         (xrealloc): Likewise.
15631         * locale/programs/xstrdup.c (xstrdup): Likewise.
15632         * localedata/collate-test.c (xstrcoll): Likewise.
15633         * localedata/xfrm-test.c (xstrcmp): Likewise.
15634         * login/getlogin_r.c (__getlogin_r): Likewise.
15635         * login/getpt.c (__posix_openpt): Likewise.
15636         * login/login_tty.c (login_tty): Likewise.
15637         * login/setlogin.c (setlogin): Likewise.
15638         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15639         (mach_msg_destroy_port): Likewise.
15640         (mach_msg_destroy_memory): Likewise.
15641         * malloc/mcheck.c (flood): Likewise.
15642         * misc/acct.c (acct): Likewise.
15643         * misc/brk.c (__brk): Likewise.
15644         * misc/chflags.c (chflags): Likewise.
15645         * misc/chroot.c (chroot): Likewise.
15646         * misc/fchflags.c (fchflags): Likewise.
15647         * misc/fstab.c (getfsspec): Likewise.
15648         (getfsfile): Likewise.
15649         * misc/fsync.c (fsync): Likewise.
15650         * misc/ftruncate.c (__ftruncate): Likewise.
15651         * misc/ftruncate64.c (__ftruncate64): Likewise.
15652         * misc/getdomain.c (getdomainname): Likewise.
15653         (getdomainname): Likewise.
15654         * misc/gethostname.c (__gethostname): Likewise.
15655         * misc/getpass.c (getpass): Likewise.
15656         * misc/getttyent.c (skip): Likewise.
15657         (value): Likewise.
15658         * misc/gtty.c (gtty): Likewise.
15659         * misc/hsearch.c (hsearch): Likewise.
15660         (hcreate): Likewise.
15661         * misc/hsearch_r.c (__hcreate_r): Likewise.
15662         (__hdestroy_r): Likewise.
15663         * misc/ioctl.c (__ioctl): Likewise.
15664         * misc/mkdtemp.c (mkdtemp): Likewise.
15665         * misc/mkostemp.c (mkostemp): Likewise.
15666         * misc/mkostemp64.c (mkostemp64): Likewise.
15667         * misc/mkostemps.c (mkostemps): Likewise.
15668         * misc/mkostemps64.c (mkostemps64): Likewise.
15669         * misc/mkstemp.c (mkstemp): Likewise.
15670         * misc/mkstemp64.c (mkstemp64): Likewise.
15671         * misc/mkstemps.c (mkstemps): Likewise.
15672         * misc/mkstemps64.c (mkstemps64): Likewise.
15673         * misc/mktemp.c (__mktemp): Likewise.
15674         * misc/preadv.c (preadv): Likewise.
15675         * misc/preadv64.c (preadv64): Likewise.
15676         * misc/pwritev.c (pwritev): Likewise.
15677         * misc/pwritev64.c (pwritev64): Likewise.
15678         * misc/readv.c (__readv): Likewise.
15679         * misc/revoke.c (revoke): Likewise.
15680         * misc/setdomain.c (setdomainname): Likewise.
15681         * misc/setegid.c (setegid): Likewise.
15682         * misc/seteuid.c (seteuid): Likewise.
15683         * misc/sethostid.c (sethostid): Likewise.
15684         * misc/sethostname.c (sethostname): Likewise.
15685         * misc/setregid.c (__setregid): Likewise.
15686         * misc/setreuid.c (__setreuid): Likewise.
15687         * misc/sstk.c (sstk): Likewise.
15688         * misc/stty.c (stty): Likewise.
15689         * misc/syscall.c (syscall): Likewise.
15690         * misc/syslog.c (setlogmask): Likewise.
15691         * misc/truncate.c (__truncate): Likewise.
15692         * misc/truncate64.c (truncate64): Likewise.
15693         * misc/ualarm.c (ualarm): Likewise.
15694         * misc/usleep.c (usleep): Likewise.
15695         * misc/ustat.c (ustat): Likewise.
15696         * misc/writev.c (__writev): Likewise.
15697         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15698         * nptl/old_pthread_cond_broadcast.c
15699         (__pthread_cond_broadcast_2_0): Likewise.
15700         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15701         Likewise.
15702         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15703         Likewise.
15704         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15705         Likewise.
15706         * nptl/pt-raise.c (raise): Likewise.
15707         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15708         Likewise.
15709         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15710         * nptl/pthread_barrierattr_destroy.c
15711         (pthread_barrierattr_destroy): Likewise.
15712         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15713         Likewise.
15714         * nptl/pthread_barrierattr_setpshared.c
15715         (pthread_barrierattr_setpshared): Likewise.
15716         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15717         Likewise.
15718         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15719         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15720         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15721         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15722         Likewise.
15723         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15724         Likewise.
15725         * nptl/pthread_condattr_getpshared.c
15726         (pthread_condattr_getpshared): Likewise.
15727         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15728         Likewise.
15729         * nptl/pthread_condattr_setpshared.c
15730         (pthread_condattr_setpshared): Likewise.
15731         * nptl/pthread_detach.c (pthread_detach): Likewise.
15732         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15733         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15734         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15735         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15736         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15737         Likewise.
15738         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15739         Likewise.
15740         * nptl/pthread_mutex_getprioceiling.c
15741         (pthread_mutex_getprioceiling): Likewise.
15742         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15743         Likewise.
15744         * nptl/pthread_mutexattr_getprotocol.c
15745         (pthread_mutexattr_getprotocol): Likewise.
15746         * nptl/pthread_mutexattr_getpshared.c
15747         (pthread_mutexattr_getpshared): Likewise.
15748         * nptl/pthread_mutexattr_getrobust.c
15749         (pthread_mutexattr_getrobust): Likewise.
15750         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15751         Likewise.
15752         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15753         Likewise.
15754         * nptl/pthread_mutexattr_setprioceiling.c
15755         (pthread_mutexattr_setprioceiling): Likewise.
15756         * nptl/pthread_mutexattr_setprotocol.c
15757         (pthread_mutexattr_setprotocol): Likewise.
15758         * nptl/pthread_mutexattr_setpshared.c
15759         (pthread_mutexattr_setpshared): Likewise.
15760         * nptl/pthread_mutexattr_setrobust.c
15761         (pthread_mutexattr_setrobust): Likewise.
15762         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15763         Likewise.
15764         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15765         Likewise.
15766         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15767         Likewise.
15768         * nptl/pthread_rwlockattr_getkind_np.c
15769         (pthread_rwlockattr_getkind_np): Likewise.
15770         * nptl/pthread_rwlockattr_getpshared.c
15771         (pthread_rwlockattr_getpshared): Likewise.
15772         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15773         Likewise.
15774         * nptl/pthread_rwlockattr_setkind_np.c
15775         (pthread_rwlockattr_setkind_np): Likewise.
15776         * nptl/pthread_rwlockattr_setpshared.c
15777         (pthread_rwlockattr_setpshared): Likewise.
15778         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15779         Likewise.
15780         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15781         Likewise.
15782         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15783         Likewise.
15784         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15785         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15786         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15787         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15788         * nptl/sem_close.c (sem_close): Likewise.
15789         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15790         * nptl/sem_init.c (__old_sem_init): Likewise.
15791         * nptl/sigaction.c (__sigaction): Likewise.
15792         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15793         * posix/_exit.c (_exit): Likewise.
15794         * posix/alarm.c (alarm): Likewise.
15795         * posix/confstr.c (confstr): Likewise.
15796         * posix/fpathconf.c (__fpathconf): Likewise.
15797         * posix/getgroups.c (__getgroups): Likewise.
15798         * posix/getpgid.c (__getpgid): Likewise.
15799         * posix/group_member.c (__group_member): Likewise.
15800         * posix/pathconf.c (__pathconf): Likewise.
15801         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15802         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15803         * posix/setgid.c (__setgid): Likewise.
15804         * posix/setpgid.c (__setpgid): Likewise.
15805         * posix/setuid.c (__setuid): Likewise.
15806         * posix/sleep.c (__sleep): Likewise.
15807         * posix/sysconf.c (__sysconf): Likewise.
15808         * posix/times.c (__times): Likewise.
15809         * posix/uname.c (__uname): Likewise.
15810         * posix/waitid.c (__waitid): Likewise.
15811         * pwd/getpw.c (__getpw): Likewise.
15812         * resolv/base64.c (b64_pton): Likewise.
15813         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15814         * resolv/gethnamaddr.c (Dprintf): Likewise.
15815         (gethostbyname): Likewise.
15816         (gethostbyname2): Likewise.
15817         (gethostbyaddr): Likewise.
15818         (_sethtent): Likewise.
15819         (_gethtbyname): Likewise.
15820         (_gethtbyname2): Likewise.
15821         (_gethtbyaddr): Likewise.
15822         (map_v4v6_address): Likewise.
15823         (map_v4v6_hostent): Likewise.
15824         (addrsort): Likewise.
15825         (ht_sethostent): Likewise.
15826         (ht_gethostbyname): Likewise.
15827         (ht_gethostbyaddr): Likewise.
15828         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15829         (inet_net_ntop_ipv4): Likewise.
15830         * resolv/inet_neta.c (inet_neta): Likewise.
15831         * resolv/inet_ntop.c (inet_ntop): Likewise.
15832         (inet_ntop4): Likewise.
15833         (inet_ntop6): Likewise.
15834         * resolv/inet_pton.c (__inet_pton): Likewise.
15835         (inet_pton4): Likewise.
15836         (inet_pton6): Likewise.
15837         * resolv/res_debug.c (loc_aton): Likewise.
15838         (loc_ntoa): Likewise.
15839         * resource/getpriority.c (__getpriority): Likewise.
15840         * resource/getrusage.c (__getrusage): Likewise.
15841         * resource/nice.c (nice): Likewise.
15842         * resource/setpriority.c (__setpriority): Likewise.
15843         * resource/setrlimit64.c (setrlimit64): Likewise.
15844         * resource/vlimit.c (vlimit): Likewise.
15845         * resource/vtimes.c (vtimes): Likewise.
15846         * rt/aio_error.c (aio_error): Likewise.
15847         * rt/aio_return.c (aio_return): Likewise.
15848         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15849         * signal/kill.c (__kill): Likewise.
15850         * signal/killpg.c (killpg): Likewise.
15851         * signal/raise.c (raise): Likewise.
15852         * signal/sigaction.c (__sigaction): Likewise.
15853         * signal/sigaddset.c (sigaddset): Likewise.
15854         * signal/sigaltstack.c (sigaltstack): Likewise.
15855         * signal/sigandset.c (sigandset): Likewise.
15856         * signal/sigblock.c (__sigblock): Likewise.
15857         * signal/sigdelset.c (sigdelset): Likewise.
15858         * signal/sigempty.c (sigemptyset): Likewise.
15859         * signal/sigfillset.c (sigfillset): Likewise.
15860         * signal/sighold.c (sighold): Likewise.
15861         * signal/sigignore.c (sigignore): Likewise.
15862         * signal/sigintr.c (siginterrupt): Likewise.
15863         * signal/sigisempty.c (sigisemptyset): Likewise.
15864         * signal/sigismem.c (sigismember): Likewise.
15865         * signal/signal.c (signal): Likewise.
15866         * signal/sigorset.c (sigorset): Likewise.
15867         * signal/sigpause.c (__sigpause): Likewise.
15868         * signal/sigpending.c (sigpending): Likewise.
15869         * signal/sigprocmask.c (__sigprocmask): Likewise.
15870         * signal/sigrelse.c (sigrelse): Likewise.
15871         * signal/sigreturn.c (__sigreturn): Likewise.
15872         * signal/sigset.c (sigset): Likewise.
15873         * signal/sigsetmask.c (__sigsetmask): Likewise.
15874         * signal/sigstack.c (sigstack): Likewise.
15875         * signal/sigsuspend.c (__sigsuspend): Likewise.
15876         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15877         * signal/sysv_signal.c (__sysv_signal): Likewise.
15878         * socket/accept.c (accept): Likewise.
15879         * socket/accept4.c (__libc_accept4): Likewise.
15880         * socket/bind.c (__bind): Likewise.
15881         * socket/connect.c (__connect): Likewise.
15882         * socket/getpeername.c (getpeername): Likewise.
15883         * socket/getsockname.c (__getsockname): Likewise.
15884         * socket/getsockopt.c (getsockopt): Likewise.
15885         * socket/listen.c (__listen): Likewise.
15886         * socket/recv.c (__recv): Likewise.
15887         * socket/recvmsg.c (__recvmsg): Likewise.
15888         * socket/send.c (__send): Likewise.
15889         * socket/sendmsg.c (__sendmsg): Likewise.
15890         * socket/shutdown.c (shutdown): Likewise.
15891         * socket/sockatmark.c (sockatmark): Likewise.
15892         * socket/socket.c (__socket): Likewise.
15893         * stdio-common/ctermid.c (ctermid): Likewise.
15894         * stdio-common/cuserid.c (cuserid): Likewise.
15895         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15896         * stdio-common/remove.c (remove): Likewise.
15897         * stdio-common/rename.c (rename): Likewise.
15898         * stdio-common/renameat.c (renameat): Likewise.
15899         * stdio-common/tempname.c (__gen_tempname): Likewise.
15900         * stdio-common/xbug.c (InitBuffer): Likewise.
15901         (AppendToBuffer): Likewise.
15902         (ReadFile): Likewise.
15903         * stdlib/a64l.c (a64l): Likewise.
15904         * stdlib/drand48_r.c (drand48_r): Likewise.
15905         * stdlib/getcontext.c (getcontext): Likewise.
15906         * stdlib/getenv.c (getenv): Likewise.
15907         * stdlib/l64a.c (l64a): Likewise.
15908         * stdlib/llabs.c (llabs): Likewise.
15909         * stdlib/lldiv.c (lldiv): Likewise.
15910         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15911         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15912         * stdlib/putenv.c (putenv): Likewise.
15913         * stdlib/random.c (__srandom): Likewise.
15914         (__initstate): Likewise.
15915         (__setstate): Likewise.
15916         * stdlib/random_r.c (__srandom_r): Likewise.
15917         (__setstate_r): Likewise.
15918         (__random_r): Likewise.
15919         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15920         * stdlib/setcontext.c (setcontext): Likewise.
15921         * stdlib/setenv.c (setenv): Likewise.
15922         (unsetenv): Likewise.
15923         * stdlib/srand48.c (srand48): Likewise.
15924         * stdlib/srand48_r.c (__srand48_r): Likewise.
15925         * stdlib/swapcontext.c (swapcontext): Likewise.
15926         * stdlib/system.c (__libc_system): Likewise.
15927         * stdlib/tst-strtod.c (expand): Likewise.
15928         * stdlib/tst-strtol.c (expand): Likewise.
15929         * stdlib/tst-strtoll.c (expand): Likewise.
15930         * streams/fattach.c (fattach): Likewise.
15931         * streams/fdetach.c (fdetach): Likewise.
15932         * streams/getmsg.c (getmsg): Likewise.
15933         * streams/isastream.c (isastream): Likewise.
15934         * string/ffs.c (__ffs): Likewise.
15935         * string/ffsll.c (ffsll): Likewise.
15936         * string/memcmp.c (memcmp_common_alignment): Likewise.
15937         (memcmp_not_common_alignment): Likewise.
15938         (MEMCMP): Likewise.
15939         * string/memcpy.c (memcpy): Likewise.
15940         * string/memmove.c (MEMMOVE): Likewise.
15941         * string/memset.c (memset): Likewise.
15942         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15943         * string/strchrnul.c (STRCHRNUL): Likewise.
15944         * string/strerror.c (strerror): Likewise.
15945         * string/strndup.c (__strndup): Likewise.
15946         * string/strverscmp.c (__strverscmp): Likewise.
15947         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15948         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15949         (clnttcp_freeres): Likewise.
15950         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15951         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15952         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15953         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15954         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15955         (xdr_callhdr): Likewise.
15956         * sunrpc/rpcinfo.c (udpping): Likewise.
15957         (tcpping): Likewise.
15958         (pstatus): Likewise.
15959         (pmapdump): Likewise.
15960         (brdcst): Likewise.
15961         (deletereg): Likewise.
15962         (getprognum): Likewise.
15963         (getvers): Likewise.
15964         (get_inet_address): Likewise.
15965         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15966         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15967         (svcudp_stat): Likewise.
15968         (svcudp_recv): Likewise.
15969         (svcudp_reply): Likewise.
15970         (svcudp_getargs): Likewise.
15971         (svcudp_freeargs): Likewise.
15972         (svcudp_destroy): Likewise.
15973         * sunrpc/xdr.c (xdr_bytes): Likewise.
15974         (xdr_netobj): Likewise.
15975         (xdr_string): Likewise.
15976         (xdr_wrapstring): Likewise.
15977         * sunrpc/xdr_float.c (xdr_float): Likewise.
15978         (xdr_double): Likewise.
15979         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15980         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15981         * sysvipc/ftok.c (ftok): Likewise.
15982         * sysvipc/msgctl.c (msgctl): Likewise.
15983         * sysvipc/msgget.c (msgget): Likewise.
15984         * sysvipc/msgrcv.c (msgrcv): Likewise.
15985         * sysvipc/msgsnd.c (msgsnd): Likewise.
15986         * sysvipc/semget.c (semget): Likewise.
15987         * sysvipc/semop.c (semop): Likewise.
15988         * sysvipc/shmat.c (shmat): Likewise.
15989         * sysvipc/shmctl.c (shmctl): Likewise.
15990         * sysvipc/shmdt.c (shmdt): Likewise.
15991         * sysvipc/shmget.c (shmget): Likewise.
15992         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15993         * termios/speed.c (cfgetospeed): Likewise.
15994         (cfgetispeed): Likewise.
15995         (cfsetospeed): Likewise.
15996         (cfsetispeed): Likewise.
15997         * termios/tcflow.c (tcflow): Likewise.
15998         * termios/tcflush.c (tcflush): Likewise.
15999         * termios/tcgetattr.c (__tcgetattr): Likewise.
16000         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16001         * termios/tcgetsid.c (tcgetsid): Likewise.
16002         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16003         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16004         * time/adjtime.c (__adjtime): Likewise.
16005         * time/dysize.c (dysize): Likewise.
16006         * time/ftime.c (ftime): Likewise.
16007         * time/getitimer.c (__getitimer): Likewise.
16008         * time/gettimeofday.c (__gettimeofday): Likewise.
16009         * time/gmtime.c (__gmtime_r): Likewise.
16010         (gmtime): Likewise.
16011         * time/localtime.c (__localtime_r): Likewise.
16012         (localtime): Likewise.
16013         * time/offtime.c (__offtime): Likewise.
16014         * time/settimeofday.c (__settimeofday): Likewise.
16015         * time/stime.c (stime): Likewise.
16016         * time/strftime_l.c (tm_diff): Likewise.
16017         (iso_week_days): Likewise.
16018         * time/strptime.c (strptime): Likewise.
16019         * time/time.c (time): Likewise.
16020         * time/timespec_get.c (timespec_get): Likewise.
16021         * time/tzset.c (tzset_internal): Likewise.
16022         (compute_change): Likewise.
16023         (__tz_compute): Likewise.
16024         * wcsmbs/btowc.c (__btowc): Likewise.
16025         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16026         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16027         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16028         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16029         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16030         * wcsmbs/wcscat.c (__wcscat): Likewise.
16031         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16032         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16033         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16034         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16035         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16036         * wcsmbs/wcslen.c (__wcslen): Likewise.
16037         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16038         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16039         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16040         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16041         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16042         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16043         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16044         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16045         * wcsmbs/wcstok.c (wcstok): Likewise.
16046         * wcsmbs/wctob.c (wctob): Likewise.
16047         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16048         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16049         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16050         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16051         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16052         * wcsmbs/wmemset.c (__wmemset): Likewise.
16053         * wctype/wcfuncs.c (__towlower): Likewise.
16054         (__towupper): Likewise.
16056         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16057         (lll_unlock_elision): Add adapt_count parameter.
16059 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16061         * sysdeps/nptl/configure.ac: Do not give errors based on the
16062         results of top-level configure tests.
16063         * sysdeps/nptl/configure: Regenerated.
16065         * configure.ac (libc_cv_Bgroup): Remove configure test.
16066         * configure: Regenerated.
16067         * config.make.in (have-Bgroup): Remove variable.
16069         * configure.ac (sizeof_long_double): Remove configure test.
16070         * configure: Regenerated.
16071         * config.make.in (sizeof-long-double): Remove variable.
16073         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16074         * configure: Regenerated.
16075         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16076         variable.
16077         (exceptions): Likewise.
16078         * sysdeps/arm/configure: Regenerated.
16079         * config.make.in (exceptions): Remove variable.
16080         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16081         $(exceptions).
16082         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16083         (CFLAGS-vdprintf_chk.c): Likewise.
16084         (CFLAGS-printf_chk.c): Likewise.
16085         (CFLAGS-fprintf_chk.c): Likewise.
16086         (CFLAGS-vprintf_chk.c): Likewise.
16087         (CFLAGS-vfprintf_chk.c): Likewise.
16088         (CFLAGS-gets_chk.c): Likewise.
16089         (CFLAGS-fgets_chk.c): Likewise.
16090         (CFLAGS-fgets_u_chk.c): Likewise.
16091         (CFLAGS-fread_chk.c): Likewise.
16092         (CFLAGS-fread_u_chk.c): Likewise.
16093         (CFLAGS-wprintf_chk.c): Likewise.
16094         (CFLAGS-fwprintf_chk.c): Likewise.
16095         (CFLAGS-vwprintf_chk.c): Likewise.
16096         (CFLAGS-vfwprintf_chk.c): Likewise.
16097         (CFLAGS-fgetws_chk.c): Likewise.
16098         (CFLAGS-fgetws_u_chk.c): Likewise.
16099         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16100         (CFLAGS-fputc.c): Likewise.
16101         (CFLAGS-fputwc.c): Likewise.
16102         (CFLAGS-freopen64.c): Likewise.
16103         (CFLAGS-freopen.c): Likewise.
16104         (CFLAGS-fseek.c): Likewise.
16105         (CFLAGS-fseeko64.c): Likewise.
16106         (CFLAGS-fseeko.c): Likewise.
16107         (CFLAGS-ftello64.c): Likewise.
16108         (CFLAGS-ftello.c): Likewise.
16109         (CFLAGS-fwide.c): Likewise.
16110         (CFLAGS-genops.c): Likewise.
16111         (CFLAGS-getc.c): Likewise.
16112         (CFLAGS-getchar.c): Likewise.
16113         (CFLAGS-getwc.c): Likewise.
16114         (CFLAGS-getwchar.c): Likewise.
16115         (CFLAGS-iofclose.c): Likewise.
16116         (CFLAGS-iofflush.c): Likewise.
16117         (CFLAGS-iofgetpos64.c): Likewise.
16118         (CFLAGS-iofgetpos.c): Likewise.
16119         (CFLAGS-iofgets.c): Likewise.
16120         (CFLAGS-iofgetws.c): Likewise.
16121         (CFLAGS-iofputs.c): Likewise.
16122         (CFLAGS-iofputws.c): Likewise.
16123         (CFLAGS-iofread.c): Likewise.
16124         (CFLAGS-iofsetpos64.c): Likewise.
16125         (CFLAGS-iofsetpos.c): Likewise.
16126         (CFLAGS-ioftell.c): Likewise.
16127         (CFLAGS-iofwrite.c): Likewise.
16128         (CFLAGS-iogetdelim.c): Likewise.
16129         (CFLAGS-iogetline.c): Likewise.
16130         (CFLAGS-iogets.c): Likewise.
16131         (CFLAGS-iogetwline.c): Likewise.
16132         (CFLAGS-ioputs.c): Likewise.
16133         (CFLAGS-ioseekoff.c): Likewise.
16134         (CFLAGS-ioseekpos.c): Likewise.
16135         (CFLAGS-iosetbuffer.c): Likewise.
16136         (CFLAGS-iosetvbuf.c): Likewise.
16137         (CFLAGS-ioungetc.c): Likewise.
16138         (CFLAGS-ioungetwc.c): Likewise.
16139         (CFLAGS-oldfileops.c): Likewise.
16140         (CFLAGS-oldiofclose.c): Likewise.
16141         (CFLAGS-oldiofgetpos64.c): Likewise.
16142         (CFLAGS-oldiofgetpos.c): Likewise.
16143         (CFLAGS-oldiofsetpos64.c): Likewise.
16144         (CFLAGS-oldiofsetpos.c): Likewise.
16145         (CFLAGS-peekc.c): Likewise.
16146         (CFLAGS-putc.c): Likewise.
16147         (CFLAGS-putchar.c): Likewise.
16148         (CFLAGS-putwc.c): Likewise.
16149         (CFLAGS-putwchar.c): Likewise.
16150         (CFLAGS-rewind.c): Likewise.
16151         (CFLAGS-wfileops.c): Likewise.
16152         (CFLAGS-wgenops.c): Likewise.
16153         (CFLAGS-oldiofopen.c): Likewise.
16154         (CFLAGS-iofopen.c): Likewise.
16155         (CFLAGS-iofopen64.c): Likewise.
16156         (CFLAGS-oldtmpfile.c): Likewise.
16157         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16158         (CFLAGS-fprintf.c): Likewise.
16159         (CFLAGS-printf.c): Likewise.
16160         (CFLAGS-vfwprintf.c): Likewise.
16161         (CFLAGS-vfscanf.c): Likewise.
16162         (CFLAGS-vfwscanf.c): Likewise.
16163         (CFLAGS-fscanf.c): Likewise.
16164         (CFLAGS-scanf.c): Likewise.
16165         (CFLAGS-isoc99_vfscanf.c): Likewise.
16166         (CFLAGS-isoc99_vscanf.c): Likewise.
16167         (CFLAGS-isoc99_fscanf.c): Likewise.
16168         (CFLAGS-isoc99_scanf.c): Likewise.
16169         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16170         (CFLAGS-isoc99_fwscanf.c): Likewise.
16171         (CFLAGS-isoc99_vwscanf.c): Likewise.
16172         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16174         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16175         after mkstemp64.
16176         * login/tst-utmp.c (do_prepare): Likewise.
16177         * rt/tst-aio.c (do_prepare): Likewise.
16178         * rt/tst-aio64.c (do_prepare): Likewise.
16180 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16182         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16183         (__lll_lock_elision): Remove adapt_count decrement...
16184         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16185         (__lll_trylock_elision): Likewise.
16186         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16187         (__lll_unlock_elision): ... to here. And utilize
16188         new adapt_count parameter.
16189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16190         (__lll_unlock_elision): Update to include adapt_count
16191         parameter.
16192         (lll_unlock_elision): Pass pointer to adapt_count
16193         variable.
16195 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16197         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16198         Add elision adapt_count parameter to list of arguments.
16199         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16200         (lll_unlock_elision): Update with new parameter list
16201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16202         (lll_unlock_elision): Likewise.
16203         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16204         (lll_unlock_elision): Likewise.
16206 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16208         [BZ #19122]
16209         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16210         attribute_hidden.
16212         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16213         attribute_hidden.
16214         [IS_IN (rtld)] (__strdup): Likewise.
16215         [IS_IN (rtld)] (__strerror_r): Likewise.
16216         [IS_IN (rtld)] (__strsep_g): Likewise.
16217         [IS_IN (rtld)] (memchr): Likewise.
16218         [IS_IN (rtld)] (memcmp): Likewise.
16219         [IS_IN (rtld)] (memcpy): Likewise.
16220         [IS_IN (rtld)] (memmove): Likewise.
16221         [IS_IN (rtld)] (memset): Likewise.
16222         [IS_IN (rtld)] (rawmemchr): Likewise.
16223         [IS_IN (rtld)] (stpcpy): Likewise.
16224         [IS_IN (rtld)] (strchr): Likewise.
16225         [IS_IN (rtld)] (strcmp): Likewise.
16226         [IS_IN (rtld)] (strlen): Likewise.
16227         [IS_IN (rtld)] (strnlen): Likewise.
16228         [IS_IN (rtld)] (strsep): Likewise.
16230         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16231         attribute_hidden.
16232         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16234         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16235         attribute_hidden.
16236         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16238         * include/setjmp.h (__longjmp): Add attribute_hidden.
16239         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16241         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16242         Add attribute_hidden.
16244         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16245         [IS_IN (rtld)] (__open): Likewise.
16246         [IS_IN (rtld)] (__fcntl): Likewise.
16248         * include/dirent.h (__opendirat): Add attribute_hidden.
16249         (__getdents): Likewise.
16250         (__getdents64): Likewise.
16251         (__alloc_dir): Likewise.
16252         [IS_IN (rtld)] (__closedir): Likewise.
16253         [IS_IN (rtld)] (__fdopendir): Likewise.
16254         [IS_IN (rtld)] (__readdir): Likewise.
16255         [IS_IN (rtld)] (__readdir64): Likewise.
16256         [IS_IN (rtld)] (__rewinddir): Likewise.
16258         * include/dlfcn.h (_dl_catch_error): Moved to ...
16259         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16260         attribute_hidden.
16262         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16263         (_itoa_word): Likewise.
16265         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16266         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16267         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16268         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16269         (_dl_higher_prime_number): Likewise.
16270         (_dl_debug_printf_c): Likewise.
16271         (_dl_signal_cerror): Likewise.
16272         (_dl_receive_error): Likewise.
16273         (_dl_reloc_bad_type): Likewise.
16274         (_dl_resolve_conflicts): Likewise.
16275         (_dl_check_all_versions): Likewise.
16276         (_dl_check_map_versions): Likewise.
16277         (_dl_sort_fini): Likewise.
16278         (_dl_debug_initialize): Likewise.
16279         (_dl_init_paths): Likewise.
16280         (_dl_show_auxv): Likewise.
16281         (_dl_next_ld_env_entry): Likewise.
16282         (_dl_important_hwcaps): Likewise.
16283         (_dl_load_cache_lookup): Likewise.
16284         (_dl_update_slotinfo): Likewise.
16285         (_dl_show_scope): Likewise.
16287         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16288         attribute_hidden.
16289         (_wordcopy_fwd_dest_aligned): Likewise.
16290         (_wordcopy_bwd_aligned): Likewise.
16291         (_wordcopy_bwd_dest_aligned): Likewise.
16293         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16294         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16295         Likewise.
16296         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16297         Likewise.
16298         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16300 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16303         GCC 5 requirement.
16305 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16307         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16308         test.
16309         * sysdeps/i386/configure: Regenerated.
16310         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16311         code unconditional.
16313         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16314         test.
16315         (libc_cv_asm_popsection_directive): Likewise.
16316         * configure: Regenerated.
16317         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16318         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16319         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16320         (__make_section_unallocated): Make definition unconditional.
16321         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16322         Remove conditional definition.
16323         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16324         (__make_section_unallocated): Likewise.
16326         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16327         * configure: Regenerated.
16328         * config.make.in (static-libgcc): Remove variable.
16329         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16330         $(static-libgcc).
16331         (build-module-helper): Likewise.
16333         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16334         * configure: Regenerated.
16336 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16338         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16339         (struct char_buffer): New type.
16340         (char_buffer_start, char_buffer_size, char_buffer_error)
16341         (char_buffer_rewind, char_buffer_add): New functions.
16342         (ADDW): Remove macro, replaced by the char_buffer_add function.
16343         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16344         of extend_alloca.  Make control flow more explicit.
16346 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16348         [BZ #19137]
16349         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16350         Add -fomit-frame-pointer.
16351         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16353 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16355         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16356         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16358         only if !__GNUC_PREREQ (5,0).
16359         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16360         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16361         (INTERNAL_SYSCALL_NCS): Likewise.
16362         (LOADREGS_0): New macro for GCC 5.
16363         (ASMARGS_0): Likewise.
16364         (LOADREGS_1): Likewise.
16365         (ASMARGS_1): Likewise.
16366         (LOADREGS_2): Likewise.
16367         (ASMARGS_2): Likewise.
16368         (LOADREGS_3): Likewise.
16369         (ASMARGS_3): Likewise.
16370         (LOADREGS_4): Likewise.
16371         (ASMARGS_4): Likewise.
16372         (LOADREGS_5): Likewise.
16373         (ASMARGS_5): Likewise.
16374         (LOADREGS_6): Likewise.
16375         (ASMARGS_6): Likewise.
16377 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16379         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16380         -fomit-frame-pointer.
16381         (CFLAGS-mmap64.c): Likewise.
16382         (CFLAGS-semtimedop.c): Likewise.
16383         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16384         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16385         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16386         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16388 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16390         [BZ #18928]
16391         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16392         _dl_pointer_guard member.
16393         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16394         initializer.
16395         (security_init): Always set up pointer guard.
16396         (process_envvars): Do not process LD_POINTER_GUARD.
16398 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16400         [BZ #19134]
16401         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16402         (.LC2): Likewise.
16403         (.LC3): Likewise.
16404         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16406 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16408         [BZ #19129]
16409         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16410         r0 and r1.
16412 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16414         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16416 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16418         * include/stap-probe.h: Fix macro definition formatting.
16420 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16422         [BZ #19074]
16423         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16424         load and store num_ifs.
16426 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16428         [BZ #18822]
16429         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16430         (__sched_getaffinity_new): Add libc_hidden_proto and
16431         libc_hidden_def.
16433 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16435         [BZ #19007]
16436         * scripts/localplt.awk: Also allow GOT references.
16437         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16438         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16439         with "+ REL R_386_GLOB_DAT".
16440         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16441         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16443 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16445         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16446         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16447         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16448         Likewise.
16449         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16450         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16451         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16452         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16453         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16454         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16455         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16456         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16457         Likewise.
16458         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16460 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16462         [BZ #19125]
16463         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16464         <math_private.h> and <stdint.h>.
16465         (__llround): Avoid conversions to and from long long int, and
16466         subtractions, where those might raise spurious exceptions.
16467         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16468         <math_private.h> and <stdint.h>.
16469         (__llroundf): Avoid conversions to and from long long int, and
16470         subtractions, where those might raise spurious exceptions.
16472 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16474         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16475         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16476         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16477         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16478         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16479         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16480         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16481         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16482         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16483         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16484         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16485         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16486         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16487         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16488         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16489         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16490         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16491         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16492         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16493         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16494         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16495         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16496         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16497         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16498         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16499         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16500         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16501         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16502         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16503         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16504         (__xstat64_conv): Likewise.
16505         (__xstat32_conv): Likewise.
16507 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16509         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16510         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16511         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16512         <sysdeps/unix/sysv/linux/sysdep.h>.
16513         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16514         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16515         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16516         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16517         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16518         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16519         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16520         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16521         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16524         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16526         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16527         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16529         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16530         (sysdep-dl-routines): Add sysdep.
16531         [$(subdir) == nptl] (libpthread-routines): Likewise.
16532         [$(subdir) == rt] (librt-routines): Likewise.
16533         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16534         PIC when branching to SYSCALL_ERROR_LABEL.
16535         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16536         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16537         <sysdeps/unix/sysv/linux/sysdep.h>.
16538         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16539         (SYSCALL_ERROR_ERRNO): Removed.
16540         (SYSCALL_ERROR_HANDLER): Changed to empty.
16541         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16542         (__syscall_error): New prototype.
16543         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16544         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16546 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16548         [BZ #19124]
16549         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16550         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16551         _dl_runtime_resolve_avx.
16552         (_dl_runtime_profile_avx512): Make it a hidden alias of
16553         _dl_runtime_profile_avx.
16555 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16557         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16558         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16559         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16560         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16562         [BZ #16422]
16563         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16564         New configure test.
16565         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16566         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16567         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16568         <math_private.h> and <stdint.h>.
16569         (__llrint): Avoid conversions to long long int where those might
16570         raise spurious exceptions.
16571         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16572         <math_private.h> and <stdint.h>.
16573         (__llrintf): Avoid conversions to long long int where those might
16574         raise spurious exceptions.
16576 2015-10-12  Andreas Schwab  <schwab@suse.de>
16578         [BZ #18969]
16579         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16580         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16581         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16582         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16583         $(gen-locales).
16584         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16585         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16586         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16587         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16588         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16589         $(gen-locales).
16590         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16591         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16592         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16593         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16594         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16595         ($(objpfx)tst-ftell-active-handler.out)
16596         ($(objpfx)tst-ftell-append.out)
16597         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16598         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16599         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16600         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16601         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16602         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16603         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16604         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16605         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16606         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16607         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16608         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16609         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16610         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16611         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16612         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16613         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16614         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16615         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16616         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16617         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16618         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16619         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16620         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16621         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16622         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16623         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16624         $(gen-locales).
16625         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16626         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16627         $(gen-locales).
16628         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16629         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16630         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16631         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16632         $(gen-locales).
16633         * libio/tst_wprintf2.c (main): Use explicit locale.
16634         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16636 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16638         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16639         __msg_sig_post.
16640         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16642 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16644         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16647         * sysdeps/arm/libm-test-ulps: Regenerated.
16649         [BZ #15470]
16650         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16652         [BZ #16399]
16653         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16654         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16655         and <fix-fp-int-convert-overflow.h>.
16656         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16657         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16658         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16659         and <fix-fp-int-convert-overflow.h>.
16660         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16661         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16662         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16663         <fix-fp-int-convert-overflow.h>.
16664         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16665         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16666         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16667         <fix-fp-int-convert-overflow.h>.
16668         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16669         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16670         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16671         and <fix-fp-int-convert-overflow.h>.
16672         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16673         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16674         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16675         <limits.h> and <fix-fp-int-convert-overflow.h>.
16676         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16677         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16678         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16679         and <fix-fp-int-convert-overflow.h>.
16680         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16681         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16682         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16683         and <fix-fp-int-convert-overflow.h>.
16684         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16685         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16686         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16688 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16690         [BZ #18589]
16691         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16692         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16693         $(gen-locales).
16695 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16696             Phil Blundell <pb@pbcl.net>
16698         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16699         * nptl/tst-cancel26.c: New file.
16700         * nptl/tst-cancel27.c: Likewise.
16702 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16704         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16705         __ILP32__ isn't defined.
16706         (lrint): Likewise.
16707         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16708         (lrintf): Likewise.
16709         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16710         (lrintl): Likewise.
16711         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16712         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16713         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16715 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16717         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16718         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16720         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16721         file.
16722         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16723         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16725 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16727         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16728         configure test.
16729         * sysdeps/i386/configure: Regenerated.
16730         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16731         configure test.
16732         * sysdeps/x86_64/configure: Regenerated.
16733         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16734         Make code unconditional.
16736         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16737         test.
16738         * sysdeps/i386/configure: Regenerated.
16739         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16740         test.
16741         * sysdeps/x86_64/configure: Regenerated.
16742         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16743         Make code unconditional.
16744         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16745         Likewise.
16746         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16747         Likewise.
16748         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16749         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16750         code unconditional.
16751         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16752         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16753         code unconditional.
16754         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16755         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16756         code unconditional.
16757         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16758         code unconditional.
16759         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16760         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16761         code unconditional.
16762         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16763         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16764         code unconditional.
16765         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16766         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16767         code unconditional.
16768         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16769         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16770         code unconditional.
16771         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16772         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16774         [BZ #19095]
16775         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16776         mantissa to long int before shifting left.
16778 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16780         [BZ #19094]
16781         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16782         <limits.h>.
16783         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16784         when result overflows but exception would not result from cast.
16785         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16786         <limits.h>.
16787         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16788         when result overflows but exception would not result from cast.
16789         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16790         <limits.h>.
16791         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16792         when result overflows but exception would not result from cast.
16793         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16794         <limits.h>.
16795         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16796         when result overflows but exception would not result from cast.
16797         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16798         <limits.h>.
16799         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16800         when result overflows but exception would not result from cast.
16801         * math/libm-test.inc (lrint_test_data): Add more tests.
16802         (llrint_test_data): Likewise.
16804 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16806         [BZ #18872]
16807         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16808         Move out from under [$(run-built-tests) = yes] conditional.
16809         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16810         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16812 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16814         [BZ #18589]
16815         * string/Makefile (tests): Add bug-strcoll2.
16816         (LOCALES): Add cs_CZ.UTF-8.
16817         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16819         [BZ #18589]
16820         * string/bug-strcoll2.c: New file.
16821         * locale/categories.def: Revert commit
16822         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16823         * locale/langinfo.h: Likewise.
16824         * locale/localeinfo.h: Likewise.
16825         * locale/C-collate.c: Likewise.
16826         * locale/programs/ld-collate.c (collate_output): Likewise.
16827         * string/strcoll_l.c (STRDIFF): Likewise.
16828         (STRCOLL): Likewise.
16829         * wcsmbs/wcscoll_l.c: Likewise.
16831 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16833         * math/libm-test.inc (lround_test_data): Do not expect the absence
16834         of "inexact" for some tests with non-integer arguments.
16835         (llround_test_data): Likewise.
16837         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16838         test.
16839         (libc_cv_cc_sse2avx): Likewise.
16840         * sysdeps/i386/configure: Regenerated.
16841         * sysdeps/i386/i686/multiarch/Makefile
16842         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16843         [$(subdir) = math].
16844         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16845         code unconditional.
16846         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16847         Likewise.
16848         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16849         Likewise.
16850         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16851         Likewise.
16852         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16853         test.
16854         (libc_cv_cc_sse2avx): Likewise.
16855         * sysdeps/x86_64/configure: Regenerated.
16856         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16857         unconditional.
16858         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16859         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16860         unconditional.
16861         (_dl_runtime_profile)
16862         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16863         conditional code.
16864         * sysdeps/x86_64/fpu/multiarch/Makefile
16865         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16867         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16868         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16869         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16870         * sysdeps/x86_64/fpu/multiarch/e_log.c
16871         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16872         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16873         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16874         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16875         Likewise.
16876         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16877         Likewise.
16878         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16879         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16880         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16881         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16882         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16883         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16884         (HAVE_SSE2AVX_SUPPORT): Likewise.
16886 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16888         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16889         instead of #pragma optimize.
16891 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16893         [BZ #17195]
16894         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16895         as is similarly done in systrim and _int_free already.
16897 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16899         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16901 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16903         [BZ #19088]
16904         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16905         <limits.h>.
16906         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16907         overflows but exception would not result from cast.
16908         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16909         and <limits.h>.
16910         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16911         overflows but exception would not result from cast.
16912         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16913         <limits.h>.
16914         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16915         overflows but exception would not result from cast.
16916         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16917         <limits.h>.
16918         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16919         overflows but exception would not result from cast.
16920         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16921         <limits.h>.
16922         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16923         overflows but exception would not result from cast.
16924         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16925         <limits.h>.
16926         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16927         overflows but exception would not result from cast.
16928         * math/libm-test.inc (lround_test_data): Add more tests.
16929         (llround_test_data): Likewise.
16931 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16933         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16934         (CFLAGS-ialloc.c): Ditto.
16935         (CFLAGS-scheck.c): Ditto.
16937 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16939         [BZ #19086]
16940         * manual/filesys.texi (Storage Allocation): Fix argument order for
16941         posix_fallocate64.
16943 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16945         [BZ #19085]
16946         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16947         exponent below 48 inside case for non-overflowing exponent.
16948         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16950 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16952         * iconvdata/cp737.h (from_idx): Add const.
16953         * iconvdata/cp775.h (from_idx): Likewise.
16955 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16957         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16958         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16959         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16961         [BZ #19079]
16962         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16963         file, conditioned on [!_LP64].
16964         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16965         [!_LP64] (__lround): Do not define as function or alias.
16966         [!_LP64] (lround): Likewise.
16967         [!_LP64] (__lroundl): Likewise.
16968         [!_LP64] (lroundl): Likewise.
16969         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16970         macro.
16971         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16972         Likewise.
16974 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16976         * math/libm-test.inc (lrint_test_data): Add more tests.
16977         (llrint_test_data): Likewise.
16978         (lround_test_data): Likewise.
16979         (llround_test_data): Likewise.
16981         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16982         (llrint_test_data): Add tests used for lrint.
16984         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16985         test.
16986         * sysdeps/i386/configure: Regenerated.
16987         * sysdeps/i386/i686/multiarch/Makefile
16988         [$(config-cflags-sse4) = yes]: Make code unconditional.
16989         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16990         Likewise.
16991         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16992         Likewise.
16993         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16994         test.
16995         * sysdeps/x86_64/configure: Regenerated.
16996         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16997         Make code unconditional.
16998         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16999         Likewise.
17000         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17001         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17003         * scripts/rpm2dynsym.sh: Remove file.
17005 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17007         * configure.ac (libc_cv_cxx_thread_local): Define.
17008         * configure: Regenerate.
17009         * config.make.in (have-cxx-thread_local): Define.
17010         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17011         (LDLIBS-tst-thread_local1): Define.
17012         (tests): Add tst-thread_local1.
17013         [have-cxx-thread_local != yes] (tests-unsupported): Add
17014         tst-thread_local1.
17015         * nptl/tst-thread_local1.cc: New file.
17017 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17019         [BZ #19078]
17020         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17021         (u_thres): Likewise.
17022         (__expl): Determine whether to call __kernel_standard_l based on
17023         value of result, not argument.
17025         * math/libm-test.inc (scalb_test_data): Add more expectations for
17026         the "inexact" exception.
17028         [BZ #19077]
17029         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17030         0.0L for argument 1.0L.
17032         [BZ #19076]
17033         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17034         constant 0.0L when computing infinite result.
17036 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17038         [BZ #10432]
17039         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17040         malloc_usable_size.
17042 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17044         [BZ #19018]
17045         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17046         Mangle function pointer before storing it.
17047         (__call_tls_dtors): Demangle function pointer before calling it.
17049 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17051         [BZ #19012]
17052         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17053         Clean up on failure.
17055 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17057         [BZ #19071]
17058         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17059         long int variable to store possibly incremented high part of
17060         mantissa.
17061         * math/libm-test.inc (lround_test_data): Add tests used for
17062         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17063         for tests requiring 64-bit long.  Do not condition tests on
17064         [TEST_FLOAT] unnecessarily.
17065         (llround_test_data): Add tests used for lround.  Add another
17066         expectation for the "inexact" exception.  Do not condition tests
17067         on [TEST_FLOAT] unnecessarily.
17069         [BZ #887]
17070         [BZ #19049]
17071         [BZ #19050]
17072         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17073         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17074         <fix-int-fp-convert-zero.h>.
17075         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17076         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17077         <fix-int-fp-convert-zero.h>.
17078         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17079         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17080         <fix-int-fp-convert-zero.h>.
17081         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17082         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17083         <fix-int-fp-convert-zero.h>.
17084         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17085         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17086         <fix-int-fp-convert-zero.h>.
17087         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17088         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17089         <fix-int-fp-convert-zero.h>.
17090         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17091         * sysdeps/ieee754/flt-32/s_erff.c: Include
17092         <fix-int-fp-convert-zero.h>.
17093         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17094         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17095         <fix-int-fp-convert-zero.h>.
17096         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17098         <fix-int-fp-convert-zero.h>.
17099         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17101         <fix-int-fp-convert-zero.h>.
17102         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17103         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17104         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17105         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17106         file.
17107         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17109 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17113 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17115         [BZ #19059]
17116         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17117         overflowing computation.
17118         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17119         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17120         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17121         Likewise.
17122         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17123         Likewise.
17124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17125         Likewise.
17126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17127         Likewise.
17128         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17129         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17130         Likewise.
17131         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17132         Likewise.
17133         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17135         * nss/rewrite_field.c (__nss_rewrite_field): Use
17136         internal_function.
17137         * nss/valid_field.c (__nss_valid_field): Likewise.
17138         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17140 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17142         [BZ #18724]
17143         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17144         (__nss_invalid_field_characters, __nss_valid_field)
17145         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17146         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17147         tst-field.c: New file.
17148         * nss/Makefile (routines): Add valid_field, rewrite_field.
17149         (tests-static): Define unconditionally.
17150         (tests): Include tests-static.
17151         [build-static-nss] (tests-static): Use append.
17152         [build-static-nss] (tests): Remove modification.
17153         * nss/getent.c (print_group): Call putgrent.  Report error.
17154         (print_gshadow): Call putsgent.  Report error.
17155         (print_passwd): Call putpwent.  Report error.
17156         (print_shadow): Call putspent.  Report error.
17157         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17158         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17159         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17160         name, password, directory, shell fields for valid syntax.  Rewrite
17161         GECOS field to match syntax.
17162         * pwd/Makefile (tests): Add tst-putpwent.
17163         * pwd/tst-putpwent.c: New file.
17164         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17165         Check grName, grpasswd, gr_mem fields for valid syntax.
17166         Change loop variable i to size_t.
17167         * grp/Makefile (tests): Add tst-putgrent.
17168         * grp/tst-putgrent.c: New file.
17169         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17170         valid syntax.
17171         * shadow/Makefile (tests): Add tst-putspent.
17172         * shadow/tst-putspent.c: New file.
17173         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17174         sg_mem fields for valid syntax.
17175         * gshadow/Makefile (tests): Add tst-putsgent.
17176         * gshadow/tst-putsgent.c: New file.
17178 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17180         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17181         assembly instructions.
17183 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17185         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17186         prefix from operands.
17188 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17190         [BZ #16347]
17191         [BZ #19046]
17192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17193         <libc-internal.h>.
17194         (MAXLGM): Do not use diagnostic control macros.
17195         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17196         threshold for ldbl-128ibm.
17197         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17198         instead of multiplying by log then subtracting.
17199         * math/auto-libm-test-in: Add more tests of lgamma.
17200         * math/auto-libm-test-out: Regenerated.
17202         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17203         (TYPE_HEX_DIG): Likewise.
17204         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17205         precisions when printing floating-point numbers.
17206         (check_float_internal): Likewise.
17208 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17210         [BZ #16620]
17211         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17212         of log (10) rounded downward to 48 bits.
17213         (log10_low): Use corresponding low part of log (10).
17215         [BZ #19032]
17216         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17217         compute result as (x - x) / (x - x) not as 0 / 0.
17218         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17219         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17221         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17222         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17223         and expm1.
17224         * math/auto-libm-test-out: Regenerated.
17225         * math/libm-test.inc (acos_test_data): Add more tests.
17226         (asin_test_data): Likewise.
17227         (asinh_test_data): Likewise.
17228         (atan_test_data): Likewise.
17229         (atanh_test_data): Likewise.
17230         (atan2_test_data): Likewise.
17231         (cbrt_test_data): Likewise.
17232         (ceil_test_data): Likewise.
17233         (copysign_test_data): Likewise.
17234         (cos_test_data): Likewise.
17235         (cosh_test_data): Likewise.
17236         (erf_test_data): Likewise.
17237         (erfc_test_data): Likewise.
17238         (exp_test_data): Likewise.
17239         (exp10_test_data): Likewise.
17240         (exp2_test_data): Likewise.
17241         (expm1_test_data): Likewise.
17242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17244 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17246         [BZ #19006]
17247         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17248         to ...
17249         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17250         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17251         to ...
17252         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17253         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17254         to ...
17255         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17256         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17257         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17258         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17259         to ...
17260         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17261         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17262         Moved to ...
17263         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17264         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17265         Moved to ...
17266         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17267         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17268         to ...
17269         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17270         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17271         Moved to ...
17272         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17273         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17274         to ...
17275         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17276         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17277         Removed.
17278         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17279         Likewise.
17280         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17281         Likewise.
17282         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17283         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17284         Likewise.
17285         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17286         Likewise.
17287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17288         Likewise.
17289         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17290         Likewise.
17291         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17292         Likewise.
17293         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17294         Likewise.
17295         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17296         Likewise.
17297         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17298         Likewise.
17299         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17300         Likewise.
17301         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17302         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17303         Likewise.
17304         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17305         Likewise.
17306         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17307         Likewise.
17308         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17309         Likewise.
17310         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17311         Likewise.
17312         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17313         Replace ../i486/pthread_cond_timedwait.S with
17314         ../pthread_cond_timedwait.S.
17316 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17318         * math/libm-test.inc (acos_test_data): Refine expectations for
17319         errno and "inexact" exceptions.
17320         (acosh_test_data): Likewise.
17321         (asin_test_data): Likewise.
17322         (asinh_test_data): Likewise.
17323         (atan_test_data): Likewise.
17324         (atanh_test_data): Likewise.
17325         (atan2_test_data): Likewise.
17326         (cbrt_test_data): Likewise.
17327         (ceil_test_data): Likewise.
17328         (copysign_test_data): Likewise.
17329         (cosh_test_data): Likewise.
17330         (erf_test_data): Likewise.
17331         (erfc_test_data): Likewise.
17332         (exp_test_data): Likewise.
17333         (exp10_test_data): Likewise.
17334         (exp2_test_data): Likewise.
17335         (expm1_test_data): Likewise.
17336         (fabs_test_data): Likewise.
17337         (floor_test_data): Likewise.
17338         (fma_test_data): Likewise.
17339         (fmax_test_data): Likewise.
17340         (fmin_test_data): Likewise.
17341         (fmod_test_data): Likewise.
17342         (fpclassify_test_data): Likewise.
17343         (frexp_test_data): Likewise.
17344         (hypot_test_data): Likewise.
17345         (ilogb_test_data): Likewise.
17346         (isgreater_test_data): Likewise.
17347         (isgreaterequal_test_data): Likewise.
17348         (isinf_test_data): Likewise.
17349         (isless_test_data): Likewise.
17350         (islessequal_test_data): Likewise.
17351         (islessgreater_test_data): Likewise.
17352         (isnan_test_data): Likewise.
17353         (isnormal_test_data): Likewise.
17354         (issignaling_test_data): Likewise.
17355         (isunordered_test_data): Likewise.
17356         (j0_test_data): Likewise.
17357         (j1_test_data): Likewise.
17358         (jn_test_data): Likewise.
17359         (lgamma_test_data): Likewise.
17360         (lrint_test_data): Likewise.
17361         (llrint_test_data): Likewise.
17362         (log_test_data): Likewise.
17363         (log10_test_data): Likewise.
17364         (log1p_test_data): Likewise.
17365         (log2_test_data): Likewise.
17366         (logb_test_data): Likewise.
17367         (lround_test_data): Likewise.
17368         (llround_test_data): Likewise.
17369         (modf_test_data): Likewise.
17370         (nearbyint_test_data): Likewise.
17371         (nextafter_test_data): Likewise.
17372         (nexttoward_test_data): Likewise.
17373         (pow_test_data): Likewise.
17374         (remainder_test_data): Likewise.
17375         (remquo_test_data): Likewise.
17376         (rint_test_data): Likewise.
17377         (round_test_data): Likewise.
17378         (signbit_test_data): Likewise.
17379         (sinh_test_data): Likewise.
17380         (sqrt_test_data): Likewise.
17381         (tanh_test_data): Likewise.
17382         (tgamma_test_data): Likewise.
17383         (trunc_test_data): Likewise.
17384         (y0_test_data): Likewise.
17385         (y1_test_data): Likewise.
17386         (yn_test_data): Likewise.
17387         (significand_test_data): Likewise.
17389 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17391         * manual/filesys.texi (Storage Allocation): Document that
17392         posix_fallocate emulation fails when fd is open with O_WRONLY.
17394 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17396         [BZ #19016]
17397         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17398         allow more cases with X^2 + Y^2 >= 0.5.
17399         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17400         normal element in sum instead of special-casing based on values of
17401         arguments.
17402         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17403         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17404         -1 as normal element in sum instead of special-casing based on
17405         values of arguments.
17406         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17407         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17408         (__x2y2m1): Update comment.
17409         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17410         as normal element in sum instead of special-casing based on values
17411         of arguments.
17412         * math/s_clog.c (__clog): Handle more cases using log1p without
17413         hypot.
17414         * math/s_clog10.c (__clog10): Likewise.
17415         * math/s_clog10f.c (__clog10f): Likewise.
17416         * math/s_clog10l.c (__clog10l): Likewise.
17417         * math/s_clogf.c (__clogf): Likewise.
17418         * math/s_clogl.c (__clogl): Likewise.
17419         * math/auto-libm-test-in: Add more tests of clog and clog10.
17420         * math/auto-libm-test-out: Regenerated.
17421         * sysdeps/i386/fpu/libm-test-ulps: Update.
17422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17424 2015-09-28  Martin Sebor  <msebor@redhat.com>
17426         [BZ #18969]
17427         * string/Makefile (LOCALES): Define.
17428         (gen-locales.mk): Include.
17429         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17430         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17431         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17432         on setlocale failure.
17434 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17436         [BZ #18985]
17437         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17438         (__strftime_internal): Likewise.
17439         * time/tst-strftime.c (do_bz18985): New test.
17440         (do_test): Call it.
17442 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17444         [BZ #18956]
17445         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17446         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17447         extracting high part.
17448         * math/auto-libm-test-in: Add another test of pow.
17449         * math/auto-libm-test-out: Regenerated.
17450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17452 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17454         [BZ #18825]
17455         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17456         New macro.
17457         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17458         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17459         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17460         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17461         DBL_NARROW_EVAL, reloading the PIC register as needed.
17462         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17463         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17464         FLT_NARROW_EVAL.  Use separate return path for case when first
17465         argument is NaN.
17466         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17467         DEFINE_LDBL_MIN.
17468         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17469         PIC register.
17470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17471         math_check_force_underflow_nonneg.
17472         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17473         underflow for subnormal result.
17474         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17476         math_check_force_underflow_nonneg.
17477         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17478         math_check_force_underflow.
17479         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17480         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17481         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17482         DEFINE_LDBL_MIN.
17483         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17484         * math/auto-libm-test-in: Add more tests of pow.
17485         * math/auto-libm-test-out: Regenerated.
17487 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17489         * nss/bug17079.c (init_test_items): Add diagnostic for
17490         inconsistent entries.
17491         (test_buffer_size): Skip inconsistent entries.
17493 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17495         [BZ #13304]
17496         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17497         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17498         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17500         [BZ #13304]
17501         * sysdeps/microblaze/s_fma.c: New file.
17502         * sysdeps/microblaze/s_fmaf.c: Likewise.
17503         * sysdeps/microblaze/sfp-machine.h: Likewise.
17505 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17507         [BZ #17250]
17508         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17509         member.
17511 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17513         [BZ #18803]
17514         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17515         (MO): New macro.
17516         (__ieee754_hypot) [PIC]: Load PIC register.
17517         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17518         DBL_NARROW_EVAL.
17519         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17520         math_check_force_underflow_nonneg in case where result might be
17521         tiny.
17522         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17523         Likewise.
17524         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17525         Likewise.
17526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17527         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17528         * math/auto-libm-test-in: Add more tests of hypot.
17529         * math/auto-libm-test-out: Regenerated.
17531 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17533         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17535 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17537         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17538         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17539         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17540         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17541         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17542         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17543         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17545         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17546         LOAD_PIC_REG.
17548         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17549         (FLT_CHECK_FORCE_UFLOW): Likewise.
17550         (DBL_CHECK_FORCE_UFLOW): Likewise.
17551         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17552         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17553         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17554         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17555         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17556         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17557         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17558         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17559         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17560         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17561         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17562         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17563         (flt_min): Replace with use of DEFINE_FLT_MIN.
17564         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17565         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17566         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17567         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17568         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17569         (flt_min): Replace with use of DEFINE_FLT_MIN.
17570         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17571         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17572         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17573         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17574         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17575         (flt_min): Replace with use of DEFINE_FLT_MIN.
17576         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17577         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17578         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17579         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17580         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17581         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17582         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17583         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17584         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17585         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17586         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17587         (flt_min): Replace with use of DEFINE_FLT_MIN.
17588         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17589         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17590         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17591         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17592         main computation.
17593         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17594         (flt_min): Replace with use of DEFINE_FLT_MIN.
17595         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17596         main computation.
17597         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17598         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17599         (MO): New macro.
17600         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17601         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17602         (flt_min): Replace with use of DEFINE_FLT_MIN.
17603         (MO): New macro.
17604         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17605         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17606         (__log1pl): Use MO.
17608         [BZ #19003]
17609         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17610         $(config-cflags-nofma).
17612 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17614         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17616 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17618         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17619         (TWO127): Likewise.
17621         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17622         (min_of_type): Likewise.
17623         (math_check_force_underflow): Likewise.
17624         (math_check_force_underflow_nonneg): Likewise.
17625         (math_check_force_underflow_complex): Likewise.
17626         * math/e_exp2l.c (__ieee754_exp2l): Use
17627         math_check_force_underflow_nonneg.
17628         * math/k_casinh.c (__kernel_casinh): Likewise.
17629         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17630         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17631         * math/s_catan.c (__catan): Use
17632         math_check_force_underflow_complex.
17633         * math/s_catanf.c (__catanf): Likewise.
17634         * math/s_catanh.c (__catanh): Likewise.
17635         * math/s_catanhf.c (__catanhf): Likewise.
17636         * math/s_catanhl.c (__catanhl): Likewise.
17637         * math/s_catanl.c (__catanl): Likewise.
17638         * math/s_ccosh.c (__ccosh): Likewise.
17639         * math/s_ccoshf.c (__ccoshf): Likewise.
17640         * math/s_ccoshl.c (__ccoshl): Likewise.
17641         * math/s_cexp.c (__cexp): Likewise.
17642         * math/s_cexpf.c (__cexpf): Likewise.
17643         * math/s_cexpl.c (__cexpl): Likewise.
17644         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17645         * math/s_clog10.c (__clog10): Likewise.
17646         * math/s_clog10f.c (__clog10f): Likewise.
17647         * math/s_clog10l.c (__clog10l): Likewise.
17648         * math/s_clogf.c (__clogf): Likewise.
17649         * math/s_clogl.c (__clogl): Likewise.
17650         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17651         * math/s_csinf.c (__csinf): Likewise.
17652         * math/s_csinh.c (__csinh): Likewise.
17653         * math/s_csinhf.c (__csinhf): Likewise.
17654         * math/s_csinhl.c (__csinhl): Likewise.
17655         * math/s_csinl.c (__csinl): Likewise.
17656         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17657         * math/s_csqrtf.c (__csqrtf): Likewise.
17658         * math/s_csqrtl.c (__csqrtl): Likewise.
17659         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17660         * math/s_ctanf.c (__ctanf): Likewise.
17661         * math/s_ctanh.c (__ctanh): Likewise.
17662         * math/s_ctanhf.c (__ctanhf): Likewise.
17663         * math/s_ctanhl.c (__ctanhl): Likewise.
17664         * math/s_ctanl.c (__ctanl): Likewise.
17665         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17666         instead of volatile.
17667         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17668         math_check_force_underflow.
17669         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17670         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17671         volatile when forcing underflow.
17672         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17673         math_check_force_underflow_nonneg.
17674         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17675         Likewise.
17676         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17677         math_check_force_underflow.
17678         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17679         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17680         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17681         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17682         math_check_force_underflow_nonneg.
17683         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17684         math_check_force_underflow.
17685         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17687         instead of volatile.
17688         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17689         math_check_force_underflow.
17690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17691         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17692         math_check_force_underflow_nonneg.
17693         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17694         math_check_force_underflow.
17695         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17696         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17697         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17698         math_check_force_underflow_nonneg.
17699         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17700         Likewise.
17701         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17702         math_check_force_underflow.
17703         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17704         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17705         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17706         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17707         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17708         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17709         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17710         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17711         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17712         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17713         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17714         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17715         Likewise.
17716         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17717         math_check_force_underflow_nonneg.
17718         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17719         Likewise.
17720         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17721         math_check_force_underflow.
17722         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17723         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17724         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17725         Likewise.
17726         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17727         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17728         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17729         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17730         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17731         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17733         instead of volatile.
17734         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17735         math_check_force_underflow.
17736         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17738         math_check_force_underflow.
17739         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17740         Likewise.
17741         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17742         Use math_check_force_underflow_nonneg.
17743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17744         math_check_force_underflow.
17745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17746         Likewise.
17747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17748         Likewise.
17749         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17750         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17751         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17752         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17754         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17755         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17756         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17757         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17758         math_check_force_underflow_nonneg.
17759         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17760         math_check_force_underflow.
17761         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17762         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17763         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17764         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17765         math_check_force_underflow_nonneg.
17766         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17767         math_check_force_underflow.
17768         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17770         instead of volatile.
17771         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17772         math_check_force_underflow.
17774         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17775         * stdlib/strtod_l.c: Include <math_private.h>.
17776         (overflow_value): Use math_narrow_eval.
17777         (underflow_value): Likewise.
17778         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17779         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17780         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17781         (__ieee754_gamma_r): Likewise.
17782         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17783         Likewise.
17784         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17785         Likewise.
17786         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17787         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17788         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17789         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17790         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17791         (__ieee754_gammaf_r): Likewise.
17792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17793         Likewise.
17794         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17795         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17796         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17797         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17798         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17799         volatile.
17800         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17802         math_narrow_eval.
17803         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17804         Likewise.
17805         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17806         Likewise.
17807         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17808         Likewise.
17809         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17810         volatile.
17811         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17813         math_narrow_eval.
17814         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17815         Likewise.
17816         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17817         Likewise.
17819 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17821         * nptl/Versions: Remove ignored symbols.
17823 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17825         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17826         * nss/Makefile (tests): Update.
17828 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17830         * nss/bug18287.c: New file.
17831         * nss/Makefile (tests): Add bug18287.
17833 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17835         * mach/Versions (__mach_host_self_): Add symbol.
17837 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17839         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17840         vm_page_size.
17842 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17844         Really fix sysdeps/i386/fpu/s_scalbn.S build
17846         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17847         (libc: GLIBC_2_22): Remove unused version set.
17849 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17851         * config.make.in (enable-timezone-tools): New variable.
17852         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17853         (enable_timezone_tools): Export to generated files.
17854         * configure: Regenerate.
17855         * INSTALL: Regenerate.
17856         * manual/install.texi (--disable-timezone-tools): Document new flag.
17857         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17858         ifeq ($(enable-timezone-tools),yes) check.
17860 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17862         * timezone/Makefile: Revert previous change.
17864         [BZ #18980]
17865         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17866         (DEFINE_DBL_MIN): Likewise.
17867         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17868         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17869         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17870         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17871         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17872         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17873         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17874         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17875         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17876         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17877         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17878         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17879         (flt_min): Replace with use of DEFINE_FLT_MIN.
17880         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17881         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17882         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17883         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17884         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17885         (flt_min): Replace with use of DEFINE_FLT_MIN.
17886         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17887         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17888         (flt_min): Replace with use of DEFINE_FLT_MIN.
17889         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17890         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17891         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17892         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17893         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17894         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17895         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17896         (__ieee754_pow): Use DBL_NARROW_EVAL.
17897         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17898         (__ieee754_powf): Use FLT_NARROW_EVAL.
17899         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17900         (__ieee754_expf_sse2): Convert double-precision result to single
17901         precision.
17902         * sysdeps/i386/fpu/libm-test-ulps: Update.
17904 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17906         * timezone/Makefile: Ignore unused variable errors due to private.h
17907         (time_t_min) and (time_t_max).
17908         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17909         Likewise.
17911 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17913         [BZ #18981]
17914         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17915         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17916         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17917         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17918         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17919         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17920         (__scalbn): Use DBL_NARROW_EVAL.
17921         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17922         (__scalbnf): Use FLT_NARROW_EVAL.
17924 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17926         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17927         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17928         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17929         * stdio-common/printf_fp.c (___printf_fp):
17930         Use signbit to get the sign. Use isinf macro to allow inlining.
17931         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17932         * stdio-common/printf_size.c (__printf_size): Likewise.
17934 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17936         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17938 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17940         [BZ #18980]
17941         * sysdeps/generic/math_private.h: Include <float.h>.
17942         (math_narrow_eval): New macro.
17943         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17944         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17945         math_narrow_eval on overflowing return value.
17946         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17947         Likewise.
17948         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17949         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17950         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17951         Likewise.
17952         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17954 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17956         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17957         * math/Makefile: Remove isinf_ns.c.
17958         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17959         * math/multc3.c (__multc3): Likewise.
17960         * math/s_casin.c (__casin): Likewise.
17961         * math/s_casinf.c (__casinf): Likewise.
17962         * math/s_casinl.c (__casinl): Likewise.
17963         * math/s_cproj.c (__cproj): Likewise.
17964         * math/s_cprojf.c (__cprojf): Likewise.
17965         * math/s_cprojl.c (__cprofl): Likewise.
17966         * math/s_ctan.c (__ctan): Likewise.
17967         * math/s_ctanf.c (__ctanf): Likewise.
17968         * math/s_ctanh.c (__ctanh): Likewise.
17969         * math/s_ctanhf.c (__ctanhf): Likewise.
17970         * math/s_ctanhl.c (__ctanhl): Likewise.
17971         * math/s_ctanl.c (__ctanl): Likewise.
17972         * math/w_fmod.c (__fmod): Likewise.
17973         * math/w_fmodf.c (__fmodf): Likewise.
17974         * math/w_fmodl.c (_fmodl): Likewise.
17975         * math/w_remainder.c (__remainder): Likewise.
17976         * math/w_remainderf.c (__remainderf): Likewise.
17977         * math/w_remainderl.c (__remainderl): Likewise.
17978         * math/w_scalb.c (__scalb): Likewise.
17979         * math/w_scalbf.c (__scalbf): Likewise.
17980         * math/w_scalbl.c (__scalbl): Likewise.
17981         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17982         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17983         with isinf.
17984         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17985         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17986         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17987         __isinf_nsf with isinf.
17988         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17989         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17990         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17991         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17992         with isinf.
17993         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17994         __isinf_nsl with isinf.
17995         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17996         with isinf.
17997         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17998         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17999         __isinf_nsl with isinf.
18000         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18001         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18002         with isinf.
18004 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18006         * resolv/base64.c (rcsid): Remove unused static.
18007         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18008         static.  (tqpi1): Likewise.
18009         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18010         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18011         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18012         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18014         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18016         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18017         Likewise.
18019 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18021         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18022         <nptl/pthreadP.h>.
18023         (_longjmp_unwind): Use __libc_ptf_call.
18024         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18026 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18028         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18029         * sysdeps/arm/__longjmp.S: Likewise.
18031 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18033         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18034         Use __builtin_signbit.
18035         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18036         Use __builtin_signbitf.
18037         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18038         Use __builtin_signbitl.
18039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18040         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18042 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18044         [BZ #15367]
18045         [BZ #17441]
18047         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18048         * math/math.h (fpclassify): Use __builtin_fpclassify when
18049         available.  (signbit): Use __builtin_signbit(f/l).
18050         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18051         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18052         (isinf): Use __builtin_isinf_sign.
18054 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18056         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18057         * benchtests/bench-math-inlines.c: New benchmark.
18058         * benchtests/bench-util.h: New file.
18059         * benchtests/bench-util.c: New file.
18060         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18062 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18064         * elf/tst-dlmopen1.c: Define TEST_SO.
18065         (do_test): Use TEST_SO.
18067         * elf/dl-load.c: Include libc-internal.h.
18068         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18070 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18072         [BZ #17887]
18073         * time/strptime_l.c (__strptime_internal): Make %z accept
18074         [+-]HH:MM time zones.
18076 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18078         [BZ #17886]
18079         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18080         valid time zone.
18082 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18084         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18085         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18086         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18087         (__ASSUME_FDATASYNC): Delete.
18089 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18091         * conform/linknamespace.pl: Require weak undefined symbols to be
18092         in the standard namespace.
18093         (%strong_syms): Rename to %seen_syms.
18094         (%strong_seen): Rename to %seen_where.
18096 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18098         [BZ #18970]
18099         * misc/error.c (error): Replace pthread_setcancelstate with
18100         __pthread_setcancelstate.
18101         (error_at_line): Likewise.
18102         * posix/wordexp.c (parse_comm): Likewise.
18103         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18104         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18105         (__pthread_setcancelstate): This.
18106         (pthread_setcancelstate): Add an alias.
18107         * nptl/nptl-init.c (pthread_functions): Replace
18108         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18109         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18110         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18111         hidden_proto.
18112         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18113         it with hidden_def.
18114         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18115         (pthread_setcancelstate): Renamed to ...
18116         (__pthread_setcancelstate): This.
18117         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18118         __libc_ptf_call with __pthread_setcancelstate.
18120 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18121             Andreas Schwab  <schwab@suse.de>
18123         [BZ #17118]
18124         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18125         result when imaginary part of argument is infinite using sine and
18126         cosine.
18127         * math/s_ctanf.c (__ctanf): Likewise.
18128         * math/s_ctanl.c (__ctanl): Likewise.
18129         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18130         of result when real part of argument is infinite using sine and
18131         cosine.
18132         * math/s_ctanhf.c (__ctanhf): Likewise.
18133         * math/s_ctanhl.c (__ctanhl): Likewise.
18134         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18135         (ctanh_test_data): Add more tests of ctanh.
18137 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #15384]
18140         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18141         bit-mask as in subtraction.
18142         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18143         Likewise.
18144         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18145         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18146         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18148         [BZ #18951]
18149         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18150         underflow exception for small results.
18151         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18152         Likewise.
18153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18154         Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18156         Likewise.
18157         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18158         Likewise.
18159         * math/auto-libm-test-in: Add more tests of tgamma.
18160         * math/auto-libm-test-out: Regenerated.
18162 2015-09-17  Andreas Schwab  <schwab@suse.de>
18164         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18166 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18168         [BZ #18977]
18169         * math/bits/mathcalls.h
18170         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18171         not declare.
18172         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18173         Likewise.
18174         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18175         Likewise.
18176         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18177         Likewise.
18178         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18179         Likewise.
18180         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18181         Likewise.
18182         * conform/data/math.h-data
18183         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18184         function.
18185         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18186         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18187         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18188         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18189         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18190         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18191         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18192         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18197         [BZ #6803]
18198         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18199         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18200         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18201         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18202         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18203         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18204         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18205         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18206         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18207         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18208         Likewise.
18209         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18210         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18211         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18212         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18213         long_double_symbol calls.
18214         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18215         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18216         strong alias of __ldexpl.
18217         (scalbnl): Define using long_double_symbol.
18218         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18219         Remove alias.
18220         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18221         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18222         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18223         (scalbln_test_data): Add more errno expectations.
18225 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18227         Cache the host port like we cache the task port.  This way we do not
18228         need to call the kernel just to get the port.  Furthermore, we no
18229         longer increase the reference count on every invocation of
18230         `mach_host_self'.
18232         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18233         Protect declarations against the macro expansion.
18234         * mach/mach_init.c (__mach_host_self_): New variable.
18235         (mach_init): Initialize `__mach_host_self_'.
18236         * mach/mach_init.h (__mach_host_self_): New declaration.
18237         (__mach_host_self, mach_host_self): New macros.
18238         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18239         Release reference.
18241 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18243         [BZ #4404]
18244         * po/de.po: Update from Translation Project.
18246         [BZ #16415]
18247         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18248         (__expm1l): Remove code to handle positive infinity and overflow.
18249         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18250         variable.
18251         (__expm1l): Remove code to handle positive infinity and overflow.
18253 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18254             Paul Pluzhnikov  <ppluzhnikov@google.com>
18256         [BZ #18872]
18257         * stdio-common/Makefile (tst-printf-bz18872): New test.
18258         (tst-printf-bz18872-mem.out): Likewise.
18259         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18260         * stdio-common/vfprintf.c: Fix memory leaks.
18262 2015-09-16  Andreas Schwab  <schwab@suse.de>
18264         [BZ #17244]
18265         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18266         Remove extra va_start/va_end calls.
18268         [BZ #17243]
18269         * posix/execl.c (execl): Add missing va_end.
18270         * posix/execle.c (execle): Likewise.
18271         * posix/execlp.c (execlp): Likewise.
18273 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18275         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18276         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18278 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18280         [BZ #18967]
18281         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18282         undefine around includes of <bits/mathcalls.h>.
18283         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18284         not declare function.
18285         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18286         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18287         (scalb): Likewise.
18288         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18289         not define macro.
18290         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18291         variable.
18292         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18293         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18294         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18296         [BZ #18857]
18297         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18298         return non-finite argument without doing ordered comparisons on
18299         it.
18301         [BZ #16296]
18302         * math/fenv.h (fegetround): Use __attribute_pure__.
18303         * include/fenv.h (__fegetround): Likewise.
18305         [BZ #18595]
18306         * math/s_ctan.c (__ctan): Force underflow exception for results
18307         whose real or imaginary part has small absolute value.
18308         * math/s_ctanf.c (__ctanf): Likewise.
18309         * math/s_ctanh.c (__ctanh): Likewise.
18310         * math/s_ctanhf.c (__ctanhf): Likewise.
18311         * math/s_ctanhl.c (__ctanhl): Likewise.
18312         * math/s_ctanl.c (__ctanl): Likewise.
18313         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18314         and ctanh.  Add more tests of ctan and ctanh.
18316         [BZ #15918]
18317         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18318         handling of cases where one argument is an infinity.
18320         [BZ #18875]
18321         [BZ #18966]
18322         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18323         (MO): New macro.
18324         (__ieee754_exp10): For small results, force underflow exception
18325         and remove excess range and precision from return value.
18326         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18327         (MO): New macro.
18328         (__ieee754_exp10f): For small results, force underflow exception
18329         and remove excess range and precision from return value.
18330         * math/auto-libm-test-in: Add more tests of exp10.
18331         * math/auto-libm-test-out: Regenerated.
18333 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18335         [BZ #18875]
18336         [BZ #18961]
18337         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18338         (MO): New macro.
18339         (__ieee754_exp): For small results, force underflow exception and
18340         remove excess range and precision from return value.
18341         (__exp_finite): Likewise.
18342         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18343         (MO): New macro.
18344         (__ieee754_expf): For small results, force underflow exception and
18345         remove excess range and precision from return value.
18346         (__expf_finite): Likewise.
18347         * math/auto-libm-test-in: Add more tests of exp.
18348         * math/auto-libm-test-out: Regenerated.
18350         [BZ #16521]
18351         [BZ #18875]
18352         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18353         small results.
18354         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18355         (MO): New macro.
18356         (__ieee754_exp2): For small results, force underflow exception and
18357         remove excess range and precision from return value.
18358         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18359         (MO): New macro.
18360         (__ieee754_exp2f): For small results, force underflow exception
18361         and remove excess range and precision from return value.
18362         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18363         (MO): New macro.
18364         (__ieee754_exp2l): Force underflow exception for small results.
18365         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18366         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18367         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18368         (MO): New macro.
18369         (__ieee754_exp2l): Force underflow exception for small results.
18370         * math/auto-libm-test-in: Add more tests or exp2.
18371         * math/auto-libm-test-out: Regenerated.
18373 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18375         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18377         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18378         /dev/null.
18380 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18382         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18383         io fs process)): Drop spurious backslash.
18385 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18388         Use sysinfo system call instead of parsing /proc/meminfo.
18389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18390         Likewise.
18392 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18394         [BZ #16985]
18395         * programs/localedef.c (main): Display argv[remaining] when
18396         output_path is NULL.
18398 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18400         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18401         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18402         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18403         tanh.
18404         * math/auto-libm-test-out: Regenerated.
18405         * sysdeps/i386/fpu/libm-test-ulps: Update.
18406         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18407         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18412         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18413         Use 'override' keyword to freeze the value here, preventing
18414         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18416 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18418         [BZ #14912]
18419         * sysdeps/aarch64/bits/atomic.h: Move to ...
18420         * sysdeps/aarch64/atomic-machine.h: ...here.
18421         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18422         _AARCH64_ATOMIC_MACHINE_H.
18423         * sysdeps/alpha/bits/atomic.h: Move to ...
18424         * sysdeps/alpha/atomic-machine.h: ...here.
18425         * sysdeps/arm/bits/atomic.h: Move to ...
18426         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18427         * bits/atomic.h: Move to ...
18428         * sysdeps/generic/atomic-machine.h: ...here.
18429         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18430         * sysdeps/i386/bits/atomic.h: Move to ...
18431         * sysdeps/i386/atomic-machine.h: ...here.
18432         * sysdeps/ia64/bits/atomic.h: Move to ...
18433         * sysdeps/ia64/atomic-machine.h: ...here.
18434         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18435         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18436         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18437         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18438         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18439         * sysdeps/microblaze/bits/atomic.h: Move to ...
18440         * sysdeps/microblaze/atomic-machine.h: ...here.
18441         * sysdeps/mips/bits/atomic.h: Move to ...
18442         * sysdeps/mips/atomic-machine.h: ...here.
18443         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18444         * sysdeps/powerpc/bits/atomic.h: Move to ...
18445         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18446         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18447         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18448         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18449         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18450         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18451         <atomic-machine.h> instead of <bits/atomic.h>.
18452         * sysdeps/s390/bits/atomic.h: Move to ...
18453         * sysdeps/s390/atomic-machine.h: ...here.
18454         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18455         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18456         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18457         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18458         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18459         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18460         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18461         * sysdeps/tile/bits/atomic.h: Move to ...
18462         * sysdeps/tile/atomic-machine.h: ...here.
18463         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18464         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18465         <sysdeps/tile/atomic-machine.h> instead of
18466         <sysdeps/tile/bits/atomic.h>.
18467         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18468         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18469         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18470         <sysdeps/tile/atomic-machine.h> instead of
18471         <sysdeps/tile/bits/atomic.h>.
18472         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18473         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18474         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18475         <sysdeps/arm/atomic-machine.h> instead of
18476         <sysdeps/arm/bits/atomic.h>.
18477         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18478         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18479         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18480         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18481         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18482         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18483         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18484         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18485         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18486         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18487         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18488         * sysdeps/x86_64/bits/atomic.h: Move to ...
18489         * sysdeps/x86_64/atomic-machine.h: ...here.
18490         * include/atomic.h: Include <atomic-machine.h> instead of
18491         <bits/atomic.h>.
18493         * sysdeps/mips/mips32/libm-test-ulps: Update.
18494         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18496         [BZ #18952]
18497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18498         not convert non-integer negative arguments to int to determine the
18499         value of signgam.
18500         * math/auto-libm-test-in: Add more tests of lgamma.
18501         * math/auto-libm-test-out: Regenerated.
18503         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18504         cosh, csqrt, erfc, expm1 and lgamma.
18505         * math/auto-libm-test-out: Regenerated.
18506         * sysdeps/i386/fpu/libm-test-ulps: Update.
18507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18509 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18511         [BZ #2542]
18512         [BZ #2543]
18513         [BZ #2558]
18514         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18515         __lgamma_neg for arguments from -28.0 to -2.0.
18516         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18517         __lgamma_negf for arguments from -15.0 to -2.0.
18518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18519         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18520         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18521         Call __lgamma_negl for arguments from -33.0 to -2.0.
18522         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18523         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18524         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18525         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18526         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18527         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18528         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18529         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18530         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18531         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18532         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18533         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18534         (__lgamma_neg): Likewise.
18535         (__lgamma_negl): Likewise.
18536         (__lgamma_product): Likewise.
18537         (__lgamma_productl): Likewise.
18538         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18539         * math/auto-libm-test-in: Add more tests of lgamma.
18540         * math/auto-libm-test-out: Regenerated.
18541         * sysdeps/i386/fpu/libm-test-ulps: Update.
18542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18546         [BZ #18675]
18547         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18549 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18551         [BZ #14912]
18552         * bits/libc-lock.h: Move to ...
18553         * sysdeps/generic/libc-lock.h: ...here.
18554         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18555         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18556         * sysdeps/mach/hurd/libc-lock.h: ...here.
18557         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18558         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18559         * sysdeps/mach/bits/libc-lock.h: Move to ...
18560         * sysdeps/mach/libc-lock.h: ...here.
18561         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18562         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18563         * sysdeps/nptl/libc-lock.h: ...here.
18564         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18565         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18566         * sysdeps/nptl/libc-lockP.h: ...here.
18567         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18568         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18569         <bits/libc-lock.h>.
18570         * dirent/scandir-tail.c: Likewise.
18571         * dlfcn/dlerror.c: Likewise.
18572         * elf/dl-close.c: Likewise.
18573         * elf/dl-iteratephdr.c: Likewise.
18574         * elf/dl-lookup.c: Likewise.
18575         * elf/dl-open.c: Likewise.
18576         * elf/dl-support.c: Likewise.
18577         * elf/dl-writev.h: Likewise.
18578         * elf/rtld.c: Likewise.
18579         * grp/fgetgrent.c: Likewise.
18580         * gshadow/fgetsgent.c: Likewise.
18581         * gshadow/sgetsgent.c: Likewise.
18582         * iconv/gconv_conf.c: Likewise.
18583         * iconv/gconv_db.c: Likewise.
18584         * iconv/gconv_dl.c: Likewise.
18585         * iconv/gconv_int.h: Likewise.
18586         * iconv/gconv_trans.c: Likewise.
18587         * include/link.h: Likewise.
18588         * inet/getnameinfo.c: Likewise.
18589         * inet/getnetgrent.c: Likewise.
18590         * inet/getnetgrent_r.c: Likewise.
18591         * intl/bindtextdom.c: Likewise.
18592         * intl/dcigettext.c: Likewise.
18593         * intl/finddomain.c: Likewise.
18594         * intl/gettextP.h: Likewise.
18595         * intl/loadmsgcat.c: Likewise.
18596         * intl/localealias.c: Likewise.
18597         * intl/textdomain.c: Likewise.
18598         * libidn/idn-stub.c: Likewise.
18599         * libio/libioP.h: Likewise.
18600         * locale/duplocale.c: Likewise.
18601         * locale/freelocale.c: Likewise.
18602         * locale/newlocale.c: Likewise.
18603         * locale/setlocale.c: Likewise.
18604         * login/getutent_r.c: Likewise.
18605         * login/getutid_r.c: Likewise.
18606         * login/getutline_r.c: Likewise.
18607         * login/utmp-private.h: Likewise.
18608         * login/utmpname.c: Likewise.
18609         * malloc/mtrace.c: Likewise.
18610         * misc/efgcvt.c: Likewise.
18611         * misc/error.c: Likewise.
18612         * misc/fstab.c: Likewise.
18613         * misc/getpass.c: Likewise.
18614         * misc/mntent.c: Likewise.
18615         * misc/syslog.c: Likewise.
18616         * nis/nis_call.c: Likewise.
18617         * nis/nis_callback.c: Likewise.
18618         * nis/nss-default.c: Likewise.
18619         * nis/nss_compat/compat-grp.c: Likewise.
18620         * nis/nss_compat/compat-initgroups.c: Likewise.
18621         * nis/nss_compat/compat-pwd.c: Likewise.
18622         * nis/nss_compat/compat-spwd.c: Likewise.
18623         * nis/nss_nis/nis-alias.c: Likewise.
18624         * nis/nss_nis/nis-ethers.c: Likewise.
18625         * nis/nss_nis/nis-grp.c: Likewise.
18626         * nis/nss_nis/nis-hosts.c: Likewise.
18627         * nis/nss_nis/nis-network.c: Likewise.
18628         * nis/nss_nis/nis-proto.c: Likewise.
18629         * nis/nss_nis/nis-pwd.c: Likewise.
18630         * nis/nss_nis/nis-rpc.c: Likewise.
18631         * nis/nss_nis/nis-service.c: Likewise.
18632         * nis/nss_nis/nis-spwd.c: Likewise.
18633         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18634         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18635         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18636         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18637         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18638         * nis/nss_nisplus/nisplus-network.c: Likewise.
18639         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18640         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18641         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18642         * nis/nss_nisplus/nisplus-service.c: Likewise.
18643         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18644         * nis/ypclnt.c: Likewise.
18645         * nptl/libc_pthread_init.c: Likewise.
18646         * nss/getXXbyYY.c: Likewise.
18647         * nss/getXXent.c: Likewise.
18648         * nss/getXXent_r.c: Likewise.
18649         * nss/nss_db/db-XXX.c: Likewise.
18650         * nss/nss_db/db-netgrp.c: Likewise.
18651         * nss/nss_db/nss_db.h: Likewise.
18652         * nss/nss_files/files-XXX.c: Likewise.
18653         * nss/nss_files/files-alias.c: Likewise.
18654         * nss/nsswitch.c: Likewise.
18655         * posix/regex_internal.h: Likewise.
18656         * posix/wordexp.c: Likewise.
18657         * pwd/fgetpwent.c: Likewise.
18658         * resolv/res_hconf.c: Likewise.
18659         * resolv/res_libc.c: Likewise.
18660         * shadow/fgetspent.c: Likewise.
18661         * shadow/lckpwdf.c: Likewise.
18662         * shadow/sgetspent.c: Likewise.
18663         * socket/opensock.c: Likewise.
18664         * stdio-common/reg-modifier.c: Likewise.
18665         * stdio-common/reg-printf.c: Likewise.
18666         * stdio-common/reg-type.c: Likewise.
18667         * stdio-common/vfprintf.c: Likewise.
18668         * stdio-common/vfscanf.c: Likewise.
18669         * stdlib/abort.c: Likewise.
18670         * stdlib/cxa_atexit.c: Likewise.
18671         * stdlib/fmtmsg.c: Likewise.
18672         * stdlib/random.c: Likewise.
18673         * stdlib/setenv.c: Likewise.
18674         * string/strsignal.c: Likewise.
18675         * sunrpc/auth_none.c: Likewise.
18676         * sunrpc/bindrsvprt.c: Likewise.
18677         * sunrpc/create_xid.c: Likewise.
18678         * sunrpc/key_call.c: Likewise.
18679         * sunrpc/rpc_thread.c: Likewise.
18680         * sysdeps/arm/backtrace.c: Likewise.
18681         * sysdeps/generic/ldsodefs.h: Likewise.
18682         * sysdeps/generic/stdio-lock.h: Likewise.
18683         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18684         * sysdeps/i386/backtrace.c: Likewise.
18685         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18686         * sysdeps/m68k/backtrace.c: Likewise.
18687         * sysdeps/mach/hurd/cthreads.c: Likewise.
18688         * sysdeps/mach/hurd/dirstream.h: Likewise.
18689         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18690         * sysdeps/nptl/malloc-machine.h: Likewise.
18691         * sysdeps/nptl/stdio-lock.h: Likewise.
18692         * sysdeps/posix/dirstream.h: Likewise.
18693         * sysdeps/posix/getaddrinfo.c: Likewise.
18694         * sysdeps/posix/system.c: Likewise.
18695         * sysdeps/pthread/aio_suspend.c: Likewise.
18696         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18697         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18698         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18699         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18700         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18701         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18702         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18703         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18704         * sysdeps/unix/sysv/linux/system.c: Likewise.
18705         * sysdeps/x86_64/backtrace.c: Likewise.
18706         * time/alt_digit.c: Likewise.
18707         * time/era.c: Likewise.
18708         * time/tzset.c: Likewise.
18709         * wcsmbs/wcsmbsload.c: Likewise.
18710         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18711         instead of <bits/libc-lock.h> in comment.
18713 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18715         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18716         Only use .set mips2 if the current ISA is below mips2.
18717         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18718         Likewise.
18719         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18720         mips32r2 if the current ISA is below mips32r2.
18721         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18722         (TLS_IE): Updated to use the TLD_RDHWR macro.
18723         (TLS_LE): Likewise.
18724         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18725         __ASSEMBLER__ condition.
18727 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18729         Fix parallel build of before-compile targets.
18731         * sysdeps/mach/Makefile ($(patsubst
18732         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18733         mach-before-compile target.
18734         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18735         io fs process)): Move rule to dedicated hurd-before-compile target.
18737 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18739         Fix rules generating headers in hurd/ and mach/ when initial make call
18740         has subdir= explicitly set.
18742         * sysdeps/mach/Makefile ($(patsubst
18743         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18744         calling $(MAKE).
18745         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18746         io fs process)): Force subdir to hurd when calling $(MAKE).
18747         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18748         subdir to mach when calling $(MAKE).
18750 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18752         Check sysheaders when looking for Mach and Hurd headers
18754         * sysdeps/mach/configure.ac: Add sysheaders check.
18755         * sysdeps/mach/configure: Regenerate.
18756         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18757         * sysdeps/mach/hurd/configure: Regenerate.
18759 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18761         [BZ #18921]
18762         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18763         Fix inverted sense of test of 'o_directory_works' value.
18764         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18765         Bernhard Voelker <mail@bernhard-voelker.de>.
18767 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18769         [BZ #14912]
18770         * bits/linkmap.h: Move to ...
18771         * sysdeps/generic/linkmap.h: ...here.
18772         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18773         * sysdeps/aarch64/linkmap.h: ...here.
18774         * sysdeps/arm/bits/linkmap.h: Move to ...
18775         * sysdeps/arm/linkmap.h: ...here.
18776         * sysdeps/hppa/bits/linkmap.h: Move to ...
18777         * sysdeps/hppa/linkmap.h: ...here.
18778         * sysdeps/ia64/bits/linkmap.h: Move to ...
18779         * sysdeps/ia64/linkmap.h: ...here.
18780         * sysdeps/mips/bits/linkmap.h: Move to ...
18781         * sysdeps/mips/linkmap.h: ...here.
18782         * sysdeps/s390/bits/linkmap.h: Move to ...
18783         * sysdeps/s390/linkmap.h: ...here.
18784         * sysdeps/sh/bits/linkmap.h: Move to ...
18785         * sysdeps/sh/linkmap.h: ...here.
18786         * sysdeps/x86/bits/linkmap.h: Move to ...
18787         * sysdeps/x86/linkmap.h: ...here.
18788         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18790 2015-09-04  Andreas Schwab  <schwab@suse.de>
18792         [BZ #18635]
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18794         (__makecontext): Terminate FDE before return label.
18795         (__novec_makecontext): Likewise.
18797 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18799         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18800         first member of struct sv in syscall macro.
18802 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18804         [BZ #14912]
18805         * bits/stdio-lock.h: Move to ...
18806         * sysdeps/generic/stdio-lock.h: ...here.
18807         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18808         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18809         * sysdeps/nptl/stdio-lock.h: ...here.
18810         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18811         * include/libio.h: Include <stdio-lock.h> instead of
18812         <bits/stdio-lock.h>.
18813         * sysdeps/nptl/fork.c: Likewise.
18814         * sysdeps/pthread/flockfile.c: Likewise.
18815         * sysdeps/pthread/ftrylockfile.c: Likewise.
18816         * sysdeps/pthread/funlockfile.c: Likewise.
18818         [BZ #14912]
18819         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18820         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18821         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18822         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18823         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18824         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18825         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18827 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18829         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18830         (test-xfail-tst-protected1b): New variable.
18832 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #14912]
18835         * bits/libc-tsd.h: Move to ...
18836         * sysdeps/generic/libc-tsd.h: ...here.
18837         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18838         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18839         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18840         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18841         * include/ctype.h: Include <libc-tsd.h> instead of
18842         <bits/libc-tsd.h>.
18843         * include/rpc/rpc.h: Likewise.
18844         * locale/localeinfo.h: Likewise.
18845         * sunrpc/rpc_thread.c: Likewise.
18846         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18847         * sysdeps/nptl/malloc-machine.h: Likewise.
18849         * Makefile (headers): Remove bits/libc-lock.h.
18850         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18852         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18853         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18854         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18855         <bits/stdio-lock.h>.
18856         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18857         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18859 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18861         [BZ #18757]
18862         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18863         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18864         BZ #18757.
18866 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18868         * malloc/mtrace.pl: Filter out NULL entries.
18870 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18872         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18873         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18874         macro.
18876         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18877         (TCP_CC_INFO): Likewise.
18878         (TCP_SAVE_SYN): Likewise.
18879         (TCP_SAVED_SYN): Likewise.
18881 2015-08-31  Brett Neumeier <brett@neumeier.us>
18883         [BZ #18870]
18884         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18886 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18888         [BZ #18873]
18889         Fix broken overflow check in posix_fallocate
18890         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18891         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18892         Fix parenthesization typo.
18894 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18896         [BZ #18887]
18897         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18898         tst-mntent-blank-passno.
18899         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18900         * misc/tst-mntent-blank-corrupt.c: New test.
18901         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18902         * misc/tst-mntent.c (do_test): ... here.
18904 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18906         [BZ #4404]
18907         * po/de.po: Fix SIGALRM typo.
18909 2015-08-28  James Perkins  <james@loowit.net>
18911         * time/tst-strptime2.c (tests): Replace short list of test
18912         strings for strptime %z specifier with code which exhaustively
18913         tests every combination of sign and 0 to 5 digits. Tests for
18914         rejection of invalid strings.
18916 2015-08-28  James Perkins  <james@loowit.net>
18918         [BZ #16141]
18919         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18920         calculation, removing incorrect decimal time rounding, so that
18921         all minute values result in a valid seconds value.
18922         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18923         offset range limits to UTC-99:59 through UTC+99:59 to parse
18924         current and historical use cases.
18925         * time/tst-strptime2.c (tests): Modify and add tests for the
18926         strptime %z input field descriptor, specifically conversion of
18927         minutes to seconds and validating an offset range of -9959 to
18928         +9959.
18930 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18931             Dmitry V. Levin  <ldv@altlinux.org>
18933         [BZ #18877]
18934         * posix/Makefile (tests): Add tst-mmap-offset.
18935         * posix/tst-mmap.c: New file.
18936         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18937         offset calculation for negative values.
18939 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18941         * sysdeps/i386/init-arch.h: New file.
18942         * sysdeps/i386/i586/init-arch.h: Likewise.
18943         * sysdeps/i386/i686/init-arch.h: Likewise.
18944         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18945         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18946         * sysdeps/x86/cpu-features.h (bit_I586): New.
18947         (bit_I686): Likewise.
18948         (bit_CX8): Likewise.
18949         (bit_CMOV): Likewise.
18950         (index_CX8): Likewise.
18951         (index_CMOV): Likewise.
18952         (index_I586): Likewise.
18953         (index_I686): Likewise.
18954         (reg_CX8): Likewise.
18955         (reg_CMOV): Likewise.
18956         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18957         available at compile-time.
18958         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18959         available at compile-time.
18960         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18961         (USE_I686): Likewise.
18963 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18965         * sysdeps/i386/bcopy.S: New file.
18966         * sysdeps/i386/bzero.S: Likewise.
18967         * sysdeps/i386/memcpy.S: Likewise.
18968         * sysdeps/i386/memmove.S: Likewise.
18969         * sysdeps/i386/mempcpy.S: Likewise.
18970         * sysdeps/i386/memset.S: Likewise.
18971         * sysdeps/i386/bzero.c: Removed.
18972         * sysdeps/i386/memset.c: Likewise.
18973         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18974         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18975         * sysdeps/i386/i586/memset_chk.S: Likewise.
18976         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18977         * sysdeps/i386/memcpy_chk.S: Here.
18978         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18979         * sysdeps/i386/memmove_chk.S: Here.
18980         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18981         * sysdeps/i386/mempcpy_chk.S: Likewise.
18982         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18983         * sysdeps/i386/memset_chk.S: Likewise.
18985 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18987         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18988         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18989         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18990         * soft-fp/fmadf4.c: Ditto.
18991         * soft-fp/fmatf4.c: Ditto.
18993 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18995         * sysdeps/i386/i586/Implies: Removed.
18996         * sysdeps/i386/i686/Implies: Likewise.
18998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19000         * sysdeps/i386/i486/strlen.S: Moved to ...
19001         * sysdeps/i386/strlen.S: Here.
19003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19005         * sysdeps/i386/i486/strcat.S: Moved to ...
19006         * sysdeps/i386/strcat.S: Here.
19008 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19010         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19011         * sysdeps/i386/pthread_spin_trylock.S: Here.
19012         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19013         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19015 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19017         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19018         * sysdeps/i386/string-inlines.c: Here.
19020 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19022         * sysdeps/i386/i486/htonl.S: Moved ...
19023         * sysdeps/i386/htonl.S: here.
19025 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19027         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19028         * sysdeps/i386/bits/atomic.h: Here.
19030 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19032         * sysdeps/i386/i486/Versions: Removed.
19034 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19036         [BZ #2898]
19037         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19038         Based on patch by Aurelien Jarno.
19040 2015-08-26  Stan Shebs  <stanshebs@google.com>
19042         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19043         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19045 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19047         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19048         * sysdeps/powerpc/dl-procinfo.c:
19049         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19050         feature so it shows when LD_SHOW_AUXV=1.
19052 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19054         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19055         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19056         definition.  ISA 2.07B no longer requires full sync.
19058 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19060         [BZ #18863]
19061         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19062         (si_call_addr): Define.
19063         (si_syscall): Define.
19064         (si_arch): Define.
19066 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19068         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19069         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19070         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19071         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19072         (__memset_zero_constant_len_parameter): New.
19073         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19074         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19075         (__memset_zero_constant_len_parameter): Don't define if
19076         __memset_chk or USE_AS_BZERO are defined.
19078         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19079         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19080         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19082         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19083         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19084         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19085         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19086         comments.
19087         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19088         -mno-mmx for $(all-rtld-routines).
19089         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19090         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19091         i386.
19093 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19095         * sysdeps/generic/unwind.h
19096         (_Unwind_Word): Use __mode__(__unwind_word__)
19097         instead of __mode__(__word__).
19098         (_Unwind_Sword): Likewise.
19100         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19101         (MAX_NEEDED_INPUT): New define.
19102         (MAX_NEEDED_OUTPUT): New define.
19104         * NEWS: New item for IBM z13 string optimizations.
19106         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19107         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19108         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19109         * sysdeps/s390/multiarch/Makefile
19110         (sysdep_routines): Add memrchr functions.
19111         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19112         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19114         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19115         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19116         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19117         * sysdeps/s390/multiarch/Makefile
19118         (sysdep_routines): Add wmemcmp functions.
19119         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19120         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19121         * benchtests/bench-wmemcmp.c: New File.
19122         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19124         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19125         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19126         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19127         * sysdeps/s390/multiarch/Makefile
19128         (sysdep_routines): Add wmemset functions.
19129         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19130         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19131         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19132         * string/test-memset.c: Add wmemset support.
19133         * wcsmbs/test-wmemset.c: New File.
19134         * wcsmbs/Makefile (strop-tests): Add wmemset.
19135         * benchtests/bench-memset.c: Add wmemset support.
19136         * benchtests/bench-wmemset.c: New File.
19137         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19139         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19140         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19141         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19142         * sysdeps/s390/multiarch/Makefile
19143         (sysdep_routines): Add memccpy functions.
19144         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19145         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19146         * string/memccpy.c: Use MEMCCPY if defined.
19148         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19149         * sysdeps/s390/multiarch/memchr.c: Likewise.
19150         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19151         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19152         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19153         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19154         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19155         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19156         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19157         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19158         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19159         and rawmemchr functions.
19160         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19161         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19162         and wmemchr.
19163         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19164         * string/test-memchr.c: Add wmemchr support.
19165         * wcsmbs/test-wmemchr.c: New File.
19166         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19167         * benchtests/bench-memchr.c: Add wmemchr support.
19168         * benchtests/bench-wmemchr.c: New File.
19169         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19171         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19172         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19173         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19174         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19175         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19176         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19177         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19178         wcscspn functions.
19179         * sysdeps/s390/multiarch/ifunc-impl-list.c
19180         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19181         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19182         * string/test-strcspn.c: Add wcscspn support.
19183         * wcsmbs/test-wcscspn.c: New File.
19184         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19185         * benchtests/bench-strcspn.c: Add wcscspn support.
19186         * benchtests/bench-wcscspn.c: New File.
19187         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19189         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19190         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19191         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19192         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19193         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19194         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19196         wcspbrk functions.
19197         * sysdeps/s390/multiarch/ifunc-impl-list.c
19198         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19199         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19200         * string/test-strpbrk.c: Add wcspbrk support.
19201         * wcsmbs/test-wcspbrk.c: New File.
19202         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19203         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19204         * benchtests/bench-wcspbrk.c: New File.
19205         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19207         * sysdeps/s390/multiarch/strspn-c.c: New File.
19208         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19209         * sysdeps/s390/multiarch/strspn.c: Likewise.
19210         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19211         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19212         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19213         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19214         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19215         wcsspn functions.
19216         * sysdeps/s390/multiarch/ifunc-impl-list.c
19217         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19218         * string/test-strspn.c: Add wcsspn support.
19219         * wcsmbs/test-wcsspn.c: New File.
19220         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19221         * benchtests/bench-strspn.c: Add wcsspn support.
19222         * benchtests/bench-wcsspn.c: New File.
19223         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19225         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19226         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19227         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19228         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19229         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19230         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19231         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19232         wcsrchr functions.
19233         * sysdeps/s390/multiarch/ifunc-impl-list.c
19234         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19235         * benchtests/bench-wcsrchr.c: New File.
19236         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19238         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19239         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19240         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19241         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19242         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19243         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19244         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19245         wcschrnul functions.
19246         * sysdeps/s390/multiarch/ifunc-impl-list.c
19247         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19248         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19249         * string/test-strchr.c: Add wcschrnul support.
19250         * wcsmbs/test-wcschrnul.c: New File.
19251         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19252         * benchtests/bench-strchr.c: Add wcschrnul support.
19253         * benchtests/bench-wcschrnul.c: New File.
19254         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19256         * sysdeps/s390/multiarch/strchr-c.c: New File.
19257         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19258         * sysdeps/s390/multiarch/strchr.c: Likewise.
19259         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19260         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19261         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19262         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19263         wcschr functions.
19264         * sysdeps/s390/multiarch/ifunc-impl-list.c
19265         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19266         * string/strchr.c (STRCHR): Define and use macro.
19267         * benchtests/bench-wcschr.c: New File.
19268         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19270         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19271         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19272         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19273         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19274         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19275         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19276         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19277         wcsncmp functions.
19278         * sysdeps/s390/multiarch/ifunc-impl-list.c
19279         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19280         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19281         * benchtests/bench-strncmp.c: Add wcsncmp support.
19282         * benchtests/bench-wcsncmp.c: New File.
19283         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19285         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19286         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19287         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19288         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19289         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19290         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19291         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19292         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19293         wcscmp functions.
19294         * sysdeps/s390/multiarch/ifunc-impl-list.c
19295         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19296         * string/strcmp.c (STRCMP): Define and use macro.
19297         * benchtests/bench-wcscmp.c: New File.
19298         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19299         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19300         instead of _HAVE_STRING_ARCH_memchr.
19302         * sysdeps/s390/multiarch/strncat-c.c: New File.
19303         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19304         * sysdeps/s390/multiarch/strncat.c: Likewise.
19305         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19306         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19307         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19308         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19309         wcsncat functions.
19310         * sysdeps/s390/multiarch/ifunc-impl-list.c
19311         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19312         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19313         * string/test-strncat.c: Add wcsncat support.
19314         * wcsmbs/test-wcsncat.c: New File.
19315         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19316         * benchtests/bench-strncat.c: Add wcsncat support.
19317         * benchtests/bench-wcsncat.c: New File.
19318         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19320         * sysdeps/s390/multiarch/strcat-c.c: New File.
19321         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19322         * sysdeps/s390/multiarch/strcat.c: Likewise.
19323         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19324         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19325         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19327         wcscat functions.
19328         * sysdeps/s390/multiarch/ifunc-impl-list.c
19329         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19330         * string/strcat.c (STRCAT): Define and use macro.
19331         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19332         * string/test-strcat.c: Add wcscat support.
19333         * wcsmbs/test-wcscat.c: New File.
19334         * wcsmbs/Makefile (strop-tests): Add wcscat.
19335         * benchtests/bench-strcat.c: Add wcscat support.
19336         * benchtests/bench-wcscat.c: New File.
19337         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19339         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19340         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19341         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19342         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19343         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19344         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19345         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19346         wcpncpy functions.
19347         * sysdeps/s390/multiarch/ifunc-impl-list.c
19348         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19349         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19350         * string/test-stpncpy.c: Add wcpncpy support.
19351         * wcsmbs/test-wcpncpy.c: New File.
19352         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19353         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19354         * benchtests/bench-wcpncpy.c: New File.
19355         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19357         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19358         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19359         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19360         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19361         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19362         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19363         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19364         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19365         wcsncpy functions.
19366         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19367         * sysdeps/s390/multiarch/ifunc-impl-list.c
19368         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19369         * string/test-strncpy.c: Add wcsncpy support.
19370         * wcsmbs/test-wcsncpy.c: New File.
19371         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19372         * benchtests/bench-strncpy.c: Add wcsncpy support.
19373         * benchtests/bench-wcsncpy.c: New File.
19374         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19376         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19377         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19378         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19379         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19380         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19381         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19383         wcpcpy functions.
19384         * string/stpcpy.c: Use STPCPY if defined.
19385         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19386         * sysdeps/s390/multiarch/ifunc-impl-list.c
19387         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19388         * string/test-stpcpy.c: Add wcpcpy support.
19389         * wcsmbs/test-wcpcpy.c: New File.
19390         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19391         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19392         * benchtests/bench-wcpcpy.c: New File.
19393         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19395         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19396         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19397         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19398         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19399         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19400         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19401         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19402         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19403         wcscpy functions.
19404         * sysdeps/s390/multiarch/ifunc-impl-list.c
19405         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19406         * benchtests/bench-wcscpy.c: New File.
19407         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19409         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19410         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19411         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19412         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19413         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19414         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19416         wcsnlen functions.
19417         * sysdeps/s390/multiarch/ifunc-impl-list.c
19418         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19419         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19420         * string/test-strnlen.c: Add wcsnlen support.
19421         * wcsmbs/test-wcsnlen.c: New File.
19422         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19423         * benchtests/bench-strnlen.c: Add wcsnlen support.
19424         * benchtests/bench-wcsnlen.c: New File.
19425         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19427         * sysdeps/s390/multiarch/Makefile: New File.
19428         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19429         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19430         * sysdeps/s390/multiarch/strlen.c: Likewise.
19431         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19432         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19433         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19434         * string/strlen.c (STRLEN): Define and use macro.
19435         * sysdeps/s390/multiarch/ifunc-impl-list.c
19436         (IFUNC_VX_IMPL): New macro function.
19437         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19438         * benchtests/Makefile (wcsmbs-bench): New variable.
19439         (string-bench-all): Added wcsmbs-bench.
19440         * benchtests/bench-wcslen.c: New File.
19442         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19443         s390_vx_libc_ifunc2): New macro function.
19445         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19446         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19447         assembler support.
19448         * sysdeps/s390/configure: Regenerated.
19450         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19451         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19453         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19454         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19455         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19457         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19458         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19459         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19460         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19461         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19462         (memcmp, bcmp): Use __memcmp_default as alias source.
19463         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19464         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19465         Rename to __memcmp_default.
19466         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19467         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19468         (memcpy): Use __memcpy_default as alias source.
19469         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19470         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19471         Rename to __memcpy_default.
19472         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19473         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19474         (memset): Use __memset_default as alias source.
19475         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19476         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19477         Rename to __memset_default.
19478         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19479         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19480         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19481         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19482         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19483         (memcmp, bcmp): Use __memcmp_default as alias source.
19484         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19485         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19486         Rename to __memcmp_default.
19487         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19488         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19489         (memcpy): Use __memcpy_default as alias source.
19490         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19491         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19492         Rename to __memcpy_default.
19493         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19494         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19495         (memset): Use __memset_default as alias source.
19496         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19497         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19498         Rename to __memset_default.
19499         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19500         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19502         [BZ #18610]
19503         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19504         __ieee_instruction_pointer to __unused.
19505         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19506         __ieee_instruction_pointer.
19507         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19508         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19509         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19510         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19511         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19512         Mark dxc-field as reserved.
19514 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19516         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19517         if the weak reference is not null.
19519 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19521         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19523         [BZ #11214]
19524         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19526 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19528         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19529         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19530         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19531         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19532         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19533         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19534         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19535         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19536         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19537         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19538         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19539         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19540         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19541         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19542         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19543         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19544         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19545         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19547 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19549         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19550         register other than r0 for tabort, it has special meaning.
19551         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19552         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19553         transaction before starting syscall.
19555 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19557         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19559 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19561         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19563         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19564         * sysdeps/x86_64/rtld-memset.S: Likewise.
19565         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19566         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19567         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19568         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19570         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19572 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19574         * debug/strcpy_chk.c: Improve performance.
19575         * debug/stpcpy_chk.c: Likewise.
19576         * sysdeps/x86_64/strcpy_chk.S: Remove.
19577         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19579         [BZ #18240]
19580         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19582 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19584         [BZ #15128]
19585         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19586         ifuncmain8.
19587         (modules-names): Add ifuncmod8.
19588         ($(objpfx)ifuncmain8): New rule.
19589         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19590         <cpuid.h>.
19591         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19592         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19593         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19594         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19595         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19596         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19597         * sysdeps/x86_64/ifuncmain8.c: New file.
19598         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19599         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19600         Removed.
19601         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19602         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19603         Change rtld_savespace_sse to __glibc_unused2.
19604         (RTLD_CHECK_FOREIGN_CALL): Removed.
19605         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19606         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19607         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19609 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19611         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19613 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19615         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19616         Unconditionally set __fpcr to avoid uninialized warning.
19617         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19619 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19621         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19622         is corrupt.
19624         * malloc/arena.c (arena_get2): Drop unused argument.
19625         (arena_lock): Adjust.
19626         (arena_get_retry): Likewise.
19628 2015-08-24  Andreas Schwab  <schwab@suse.de>
19630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19631         Don't define.
19632         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19633         (__ASSUME_IPC64): Don't undef.
19634         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19635         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19636         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19637         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19638         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19639         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19640         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19641         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19642         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19643         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19644         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19645         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19646         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19647         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19648         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19649         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19650         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19651         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19652         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19653         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19654         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19656 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19658         * manual/Makefile (install): Only build manual when perl is available.
19660 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19662         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19663         '#undef memcpy' by '#undef memchr'.
19665 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19667         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19668         memchr not point to the internal __GI_memchr implementation.
19670 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19672         * timezone/Makefile (CFLAGS-zdump.c): Remove
19673         -Wno-strict-prototypes.
19674         (CFLAGS-zic.c): Likewise.
19675         (CFLAGS-ialloc.c): Likewise.
19676         (CFLAGS-scheck.c): Likewise.
19678         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19679         -Wno-error=undef.
19681 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19683         * i386/i686/multiarch/strcasestr-c.c: Removed.
19684         * x86_64/multiarch/strcasestr.c: Likewise.
19685         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19686         Remove strcasestr.
19688 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19690         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19693         variables for high and low parts before possibly modifying them.
19695 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19698         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19699         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19700         of "multiarch/init-arch.h".
19701         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19702         * sysdeps/x86/init-arch.h: This.
19704 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19706         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19707         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19709 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19711         [BZ #17787]
19712         * manual/macros.texi: Add twoexp macro.
19713         * manual/filesys.texi: Fix exponents.
19714         * manual/llio.texi: Likewise.
19715         * manual/stdio.texi: Likewise.
19717 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19719         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19720         incorrect use.
19722 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19724         [BZ #18370]
19725         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19726         whose real or imaginary part has small absolute value.
19727         * math/s_csqrtf.c (__csqrtf): Likewise.
19728         * math/s_csqrtl.c (__csqrtl): Likewise.
19729         * math/auto-libm-test-in: Add more tests of csqrt.
19730         * math/auto-libm-test-out: Regenerated.
19731         * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19735         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19736         __ppc_set_ppr_very_low): New functions.
19737         * manual/platform.texi: Add documentation about
19738         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19740 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19742         * string/stpncpy.c (stpncpy): Improve performance using
19743         __strnlen/memcpy/memset.
19745 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19747         [BZ #18796]
19748         * scripts/test-installation.pl: Don't add -lmvec to build options if
19749         libmvec wasn't built.
19751 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19753         [BZ #14341]
19754         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19755         case when there is a gap between DT_REL and DT_JMPREL sections.
19756         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19757         (LDFLAGS-tst-split-dynreloc): New.
19758         (tst-split-dynreloc-ENV): Likewise.
19759         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19760         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19762 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19764         [BZ #18822]
19765         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19766         attribute_hidden.
19767         (__xstat64_conv): Likewise.
19768         (__xstat32_conv): Likewise.
19770 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19772         [BZ #18822]
19773         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19774         Don't load %ebx when calling __setcontext.  Call __setcontext
19775         with HIDDEN_JUMPTARGET.
19776         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19777         libc_hidden_def.
19779 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19781         * sysdeps/i386/i686/Makefile
19782         [$(subdir) == string] (sysdep_routines): Moved to ...
19783         * sysdeps/i386/Makefile: Here.
19784         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19785         * sysdeps/i386/cacheinfo.c: Here.
19786         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19787         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19788         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19789         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19791 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19793         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19794         __i586__ is defined.
19795         (HAS_I686): Defined to 1 if __i686__ is defined.
19797 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19799         * elf/Makefile [$(have-z-execstack) = yes]
19800         (CPPFLAGS-tst-execstack.c): New variable.
19802         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19803         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19804         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19805         UTMPX || _HAVE_UT_TV].
19806         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19807         UTMPX || _HAVE_UT_TV - 0].
19809 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19811         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19812         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19813         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19815 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19817         * sysdeps/powerpc/dl-procinfo.c:
19818         (_dl_powerpc_cap_flags): Added missing strings for some
19819         hwcap features.
19820         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19822 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19824         Port the 0x7efe...feff pattern to GCC 6.
19825         See Steve Ellcey's bug report in:
19826         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19827         * string/memrchr.c (MEMRCHR):
19828         * string/rawmemchr.c (RAWMEMCHR):
19829         * string/strchr.c (strchr):
19830         * string/strchrnul.c (STRCHRNUL):
19831         Rewrite code to avoid issues with signed shift overflow.
19833 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19835         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19836         whether cpuid is available only if HAS_CPUID is 0.
19837         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19838         (HAS_I586): Likewise.
19839         (HAS_I686): Likewise.
19841 2015-08-18  Zack Weinberg  <zackw@panix.com>
19843         * misc/Versions (libc): Add GLIBC_2.23.
19845 2015-08-18  Alan Modra  <amodra@gmail.com>
19847         [BZ #18421]
19848         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19849         .Lp__global.
19850         (_start): Load %dp via .Lp__global.
19851         [!SHARED]: Use .section .rodata.
19853 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19855         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19856         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19858 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19860         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19861         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19863 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19865         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19866         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19868 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19870         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19871         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19873 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19875         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19876         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19878 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19880         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19881         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19883 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19885         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19889         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19890         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19891         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19892         (__ASSUME_LWS_CAS): Delete.
19894 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19896         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19897         * sysdeps/hppa/configure: Regenerated.
19898         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19899         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19900         * sysdeps/hppa/nptl/tls.h: Likewise.
19902 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19904         [BZ #18823]
19905         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19906         for scaling up small arguments.
19907         * math/s_csqrtf.c (__csqrtf): Likewise.
19908         * math/s_csqrtl.c (__csqrtl): Likewise.
19909         * math/auto-libm-test-in: Add more tests of csqrt.
19910         * math/auto-libm-test-out: Regenerated.
19912 2015-08-17  Andreas Schwab  <schwab@suse.de>
19914         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19915         version set GLIBC_2.19.
19917 2015-08-16  Zack Weinberg  <zackw@panix.com>
19919         [BZ #18681]
19920         * misc/regexp.h: This interface is no longer supported.
19921         Remove all contents, leaving only an #error directive.
19922         * misc/regexp.c (loc1, loc2, locs, step, advance):
19923         Demote to compatibility symbols.
19925 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19927         [BZ #18084]
19928         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19929         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19930         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19931         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19932         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19933         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19934         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19935         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19936         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19938 2015-08-15  Zack Weinberg  <zackw@panix.com>
19940         [BZ #18795]
19941         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19942         buffer length is known to be too large, not if it's known to be
19943         small enough.
19944         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19945         overflow at runtime, involving a length parameter, twice: once
19946         with a compile-time constant length parameter, once without.
19948 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19950         [BZ #18824]
19951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19952         scaling x * y up instead of down.
19953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19955         * math/auto-libm-test-in: Add more tests of fma.
19956         * math/auto-libm-test-out: Regenerated.
19958 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19962 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19964         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19965         unnecessary movq.
19966         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19967         Likewise.
19969 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19971         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19972         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19973         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19974         and tgamma.
19975         * math/auto-libm-test-out: Regenerated.
19976         * sysdeps/i386/fpu/libm-test-ulps: Update.
19977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19979         [BZ #16520]
19980         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19981         (__tanh): Force underflow exception for arguments with small
19982         absolute value.
19983         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19984         (__tanhf): Force underflow exception for arguments with small
19985         absolute value.
19986         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19987         (__tanhl): Force underflow exception for arguments with small
19988         absolute value.
19989         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19990         (__tanhl): Force underflow exception for arguments with small
19991         absolute value.
19992         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19993         (__tanhl): Force underflow exception for arguments with small
19994         absolute value.
19995         * math/auto-libm-test-in: Add more tests of tanh.
19996         * math/auto-libm-test-out: Regenerated.
19997         * sysdeps/i386/fpu/libm-test-ulps: Update.
19999 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20001         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20002         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20004 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20006         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20007         <cpuid.h>.
20009 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20011         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20012         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20014 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20016         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20017         Remove $(objpfx)init-arch.o.
20018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20019         init-arch.
20020         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20021         (INIT_ARCH_EXT): Defined as empty.
20022         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20024         __init_cpu_features call.  Replace HAS_XXX with
20025         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20027         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20028         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20029         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20030         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20031         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20032         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20034         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20035         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20036         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20037         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20038         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20040         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20044         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20045         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20046         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20047         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20049         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20050         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20052         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20053         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20054         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20062 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20064         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20065         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20066         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20067         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20068         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20069         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20070         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20071         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20072         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20073         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20074         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20075         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20076         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20077         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20078         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20079         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20080         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20081         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20082         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20083         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20084         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20085         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20086         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20087         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20088         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20089         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20091         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20092         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20093         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20094         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20095         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20096         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20097         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20098         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20099         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20100         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20101         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20102         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20103         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20104         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20105         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20106         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20108 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20110         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20111         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20112         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20113         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20114         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20115         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20116         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20117         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20118         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20119         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20120         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20121         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20122         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20123         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20124         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20125         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20126         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20127         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20128         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20129         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20131         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20132         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20133         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20134         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20135         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20136         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20137         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20138         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20139         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20140         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20141         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20142         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20143         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20144         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20145         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20146         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20147         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20148         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20149         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20150         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20151         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20152         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20154 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20156         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20157         (dl_platform_init): Call init_cpu_features.
20158         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20159         * sysdeps/i386/i686/cacheinfo.c
20160         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20161         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20162         * sysdeps/i386/i686/multiarch/Versions: Removed.
20163         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20164         Removed.
20165         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20166         * sysdeps/unix/sysv/linux/x86/Makefile
20167         (libpthread-sysdep_routines): Remove init-arch.
20168         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20169         <sysdeps/x86_64/dl-procinfo.c> instead of
20170         sysdeps/generic/dl-procinfo.c>.
20171         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20172         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20173         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20174         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20175         [$(subdir) == elf] (tests-static): Add
20176         tst-get-cpu-features-static.
20177         * sysdeps/x86/Versions: New file.
20178         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20179         * sysdeps/x86/cpu-features.c: Likewise.
20180         * sysdeps/x86/cpu-features.h: Likewise.
20181         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20182         * sysdeps/x86/libc-start.c: Likewise.
20183         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20184         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20185         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20186         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20187         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20188         Assume USE_MULTIARCH is defined and don't check it.
20189         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20190         (is_amd): Likewise.
20191         (max_cpuid): Likewise.
20192         (intel_check_word): Likewise.
20193         (__cache_sysconf): Don't call __init_cpu_features.
20194         (__x86_preferred_memory_instruction): Removed.
20195         (init_cacheinfo): Don't call __init_cpu_features. Replace
20196         __cpu_features with GLRO(dl_x86_cpu_features).
20197         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20198         (dl_platform_init): Call init_cpu_features.
20199         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20200         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20201         * sysdeps/x86_64/multiarch/Versions: Removed.
20202         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20203         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20204         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20205         Removed.
20206         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20208 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20210         [BZ #18820]
20211         * libio/Makefile (test-fmemopen-mem): New test.
20212         * libio/test-fmemopen.c (do_bz18820): New test.
20213         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20214         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20216 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20218         [BZ #16734]
20219         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20220         (FREE_BUF): Delete.
20221         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20222         * libio/genops.c (_IO_setb): Use malloc and free directly.
20223         (_IO_default_doallocate, _IO_default_finish): Likewise.
20224         ( _IO_unbuffer_all): Likewise.
20225         ( libc_freeres_fn): Likewise.
20226         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20227         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20228         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20229         (_IO_wdefault_doallocate): Likewise.
20231 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20233         [BZ #18086]
20234         * sysdeps/posix/nice.c (nice): Restore old errno.
20235         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20237 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20241 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20243         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20244         __bcopy and add a weak_alias to bcopy.
20245         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20246         for static build.
20248         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20249         cleanup macro usage.
20250         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20253         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20254         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20255         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20256         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20257         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20258         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20259         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20260         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20261         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20263         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20266         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20267         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20268         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20270         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20271         libc_hidden_def.
20272         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20274         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20275         (sysdep_routines): Add strstr-ppc64.
20276         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20278 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20280         [BZ #18778]
20281         * elf/Makefile (tests): Add Add tst-nodelete2.
20282         (modules-names): Add tst-nodelete2mod.
20283         (tst-nodelete2mod.so-no-z-defs): New.
20284         ($(objpfx)tst-nodelete2): Likewise.
20285         ($(objpfx)tst-nodelete2.out): Likewise.
20286         (LDFLAGS-tst-nodelete2): Likewise.
20287         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20288         out of loop through all loaded libraries.
20289         * elf/tst-nodelete2.c: New file.
20290         * elf/tst-nodelete2mod.c: Likewise.
20291         * elf/tst-znodelete-zlib.cc: Delete.
20293 2015-08-11  Andreas Schwab  <schwab@suse.de>
20295         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20296         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20297         (__openat64_nocancel): Likewise.
20299 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20301         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20302         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20303         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20304         * math/auto-libm-test-out: Regenerated.
20305         * sysdeps/i386/fpu/libm-test-ulps: Update.
20306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20308 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20310         [BZ #18790]
20311         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20312         threshold for returning +/- 1.
20313         * math/auto-libm-test-in: Add more tests of tanh.
20314         * math/auto-libm-test-out: Regenerated.
20315         * sysdeps/i386/fpu/libm-test-ulps: Update.
20317 2015-08-10  Andreas Schwab  <schwab@suse.de>
20319         [BZ #18781]
20320         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20321         MORE_OFLAGS to oflag.
20322         * io/test-lfs.c (do_test): Test openat64.
20324 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20326         [BZ #18789]
20327         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20328         smaller threshold for returning the argument.
20329         * math/auto-libm-test-in: Add more tests of sinh.
20330         * math/auto-libm-test-out: Regenerated.
20331         * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20335         [BZ #18674]
20336         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20337         break.
20339 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20341         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20342         (generated): Don't add $(addprefix z.,$(tzfiles)).
20344 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20346         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20347         * scripts/sysd-rules.awk: Likewise.
20349 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20351         * iconvdata/tst-tables.sh: Change echo -n to printf.
20352         * nss/db-Makefile: Likewise.
20353         * posix/tst-getconf.sh: Likewise.
20354         * stdio-common/tst-unbputc.sh: Likewise.
20356 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20358         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20359         MADV_*_PAGES defines behind this feature check.
20361 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20363         [BZ #18480]
20364         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20365         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20366         Define.
20367         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20368         LOAD_REGS_5, LOAD_REGS_6): Update.
20369         (INTERNAL_SYSCALL): Update using new LOAD defines.
20370         (INTERNAL_SYSCALL_NCS): Likewise.
20371         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20373 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20375         [BZ #16734]
20376         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20378 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20380         [BZ #17905]
20381         * catgets/Makefile (tst-catgets-mem): New test.
20382         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20383         * catgets/open_catalog.c (__open_catalog): Likewise.
20384         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20386 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20388         [BZ #18787]
20389         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20390         clobber registers.
20391         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20392         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20393         Cast return to __typeof (oldval).
20395 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20397         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20398         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20399         and delete sys/syscall.h include.
20401 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #16517]
20404         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20405         (tan): Force underflow exception for arguments with small absolute
20406         value.
20407         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20408         (__kernel_tanf): Force underflow exception for arguments with
20409         small absolute value.
20410         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20411         (__kernel_tanl): Force underflow exception for arguments with
20412         small absolute value.
20413         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20414         (__kernel_tanl): Force underflow exception for arguments with
20415         small absolute value.
20416         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20417         (__kernel_tanl): Force underflow exception for arguments with
20418         small absolute value.
20419         * math/auto-libm-test-in: Add more tests of tan.
20420         * math/auto-libm-test-out: Regenerated.
20422 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20424         Fix sysdeps/i386/fpu/s_scalbn.S build
20426         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20428 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20430         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20432 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20434         Fix gcrt0.o compilation
20436         When static-start-installed-name is different from
20437         start-installed-name, we must not use the shared objects.
20439         * csu/Makefile
20440         (extra-objs): Add gmon-start.o when building shared library and
20441         $(static-start-installed-name) is different from
20442         $(start-installed-name).
20443         $(objpfx)g$(static-start-installed-name): When building shared
20444         library and $(static-start-installed-name) is different from
20445         $(static-start-installed-name), revert to non-shared rule,
20446         i.e. using $(objpfx)% and gmon-start.o.
20448 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20450         [BZ #16519]
20451         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20452         (__ieee754_sinh): Force underflow exception for arguments with
20453         small absolute value.
20454         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20455         (__ieee754_sinhf): Force underflow exception for arguments with
20456         small absolute value.
20457         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20458         (__ieee754_sinhl): Force underflow exception for arguments with
20459         small absolute value.
20460         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20461         (__ieee754_sinhl): Force underflow exception for arguments with
20462         small absolute value.
20463         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20464         (__ieee754_sinhl): Force underflow exception for arguments with
20465         small absolute value.
20466         * math/auto-libm-test-in: Add more tests of sinh.
20467         * math/auto-libm-test-out: Regenerated.
20468         * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20472         * libio/oldfileops.c: Include unistd.h.
20474 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20476         * stdlib/isomac.c: Include ctype.h.
20478 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20480         * dirent/tst-seekdir.c (main): Converted to ...
20481         (do_test): ... this.
20482         (TEST_FUNCTION): New macro.
20483         Include test-skeleton.c.
20484         * elf/tst-dlmodcount.c (main): Converted to ...
20485         (do_test): ... this.
20486         (TEST_FUNCTION): New macro.
20487         Include test-skeleton.c.
20488         * elf/tst-order-main.c (main): Converted to ...
20489         (do_test): ... this.
20490         (TEST_FUNCTION): New macro.
20491         Include test-skeleton.c.
20492         * elf/tst-pie2.c (main): Converted to ...
20493         (do_test): ... this.
20494         (TEST_FUNCTION): New macro.
20495         Include test-skeleton.c.
20496         * inet/tst-ether_aton.c (main): Converted to ...
20497         (do_test): ... this.
20498         (TEST_FUNCTION): New macro.
20499         Include test-skeleton.c.
20500         * misc/tst-mntent.c (main): Converted to ...
20501         (do_test): ... this.
20502         (TEST_FUNCTION): New macro.
20503         Include test-skeleton.c.
20504         * misc/tst-tsearch.c (main): Converted to ...
20505         (do_test): ... this.
20506         (TEST_FUNCTION): New macro.
20507         Include test-skeleton.c.
20508         * posix/tst-regexloc.c (main): Converted to ...
20509         (do_test): ... this.
20510         (TEST_FUNCTION): New macro.
20511         Include test-skeleton.c.
20512         * resolv/tst-aton.c (main): Converted to ...
20513         (do_test): ... this.
20514         (TEST_FUNCTION): New macro.
20515         Include test-skeleton.c.
20516         * stdio-common/test-fwrite.c (main): Converted to ...
20517         (do_test): ... this.
20518         (TEST_FUNCTION): New macro.
20519         Include test-skeleton.c.
20520         * stdio-common/tst-ferror.c (main): Converted to ...
20521         (do_test): ... this.
20522         (TEST_FUNCTION): New macro.
20523         Include test-skeleton.c.
20524         * stdio-common/tst-printf.c (main): Converted to ...
20525         (do_test): ... this.
20526         (TEST_FUNCTION): New macro.
20527         Include test-skeleton.c.
20528         * stdio-common/tst-printfsz.c (main): Converted to ...
20529         (do_test): ... this.
20530         (TEST_FUNCTION): New macro.
20531         Include test-skeleton.c.
20532         * stdlib/tst-strtod.c (main): Converted to ...
20533         (do_test): ... this.
20534         (TEST_FUNCTION): New macro.
20535         Include test-skeleton.c.
20536         * string/tst-strlen.c (main): Converted to ...
20537         (do_test): ... this.
20538         (TEST_FUNCTION): New macro.
20539         Include test-skeleton.c.
20540         * string/tst-svc.c (main): Converted to ...
20541         (do_test): ... this.
20542         (TEST_FUNCTION): New macro.
20543         Include test-skeleton.c.
20544         * time/tst-strptime.c (main): Converted to ...
20545         (do_test): ... this.
20546         (TEST_FUNCTION): New macro.
20547         Include test-skeleton.c.
20548         * timezone/tst-timezone.c (main): Converted to ...
20549         (do_test): ... this.
20550         (TEST_FUNCTION): New macro.
20551         Include test-skeleton.c.
20553 2015-08-05  Zack Weinberg  <zackw@panix.com>
20555         * misc/regexp.h: Update comments.
20557 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20559         [BZ #18635]
20560         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20561         before return label.
20563 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20565         [BZ #18661]
20566         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20567         when calling __errno_location.
20568         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20569         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20571 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20573         [BZ #18661]
20574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20575         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20576         __gettimeofday.
20578 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20580         [BZ #18661]
20581         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20582         (__start_context): Don't use pop to restore %rdi so that stack
20583         is aligned to 16 bytes when calling __setcontext.
20585 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20587         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20588         only for libc.
20589         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20591 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20593         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20594         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20595         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20597 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20599         * string/memccpy.c (memccpy):
20600         Improve performance by using memchr/memcpy/__mempcpy.
20602 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20604         * string/strncpy.c (strncpy):
20605         Improve performance by using __strnlen/memcpy.
20607 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20609         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20610         Optimize to avoid an unnecessary FPCR read.
20612 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20614         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20615         Optimize to reduce FPCR/FPSR accesses.
20617 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20619         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20620         dead->data[category] != NULL.
20622 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20624         [BZ #18647]
20625         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20626         and |x| close to 1, use absolute value of x when computing log.
20627         * math/auto-libm-test-in: Add more tests of pow.
20628         * math/auto-libm-test-out: Regenerated.
20630 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20632         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20633         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20634         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20636 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20638         [BZ #18525]
20639         * locales/km_KH: Remove timezone definition.
20640         * locales/lo_LA: Likewise.
20641         * locales/my_MM: Likewise.
20642         * locales/nan_TW@latin: Likewise.
20643         * locales/th_TH: Likewise.
20644         * locales/uk_UA: Likewise.
20646 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20648         [BZ #18265]
20649         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20650         (wcsncat): Likewise.
20651         (wcscmp): Likewise.
20652         (wcsncmp): Likewise.
20654 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20656         * test-skeleton.c (usage): New function.
20657         (main): Call usage when opt is '?'.
20659 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20661         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20662         before first use.
20664 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20666         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20667         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20668         in there too.
20670 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20672         * version.h (RELEASE): Set to "development".
20673         (VERSION): Set to "2.22.90"
20675         * version.h (RELEASE): Set to "stable".
20676         (VERSION): Set to "2.22"
20677         * include/features.h (__GLIBC_MINOR__): Set to 22.
20679 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20681         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20682         Restructure macro to avoid "value computed is not used" warning.
20683         (atomic_compare_and_exchange_val_acq): Likewise.
20685 2015-08-04  Andreas Schwab  <schwab@suse.de>
20687         [BZ #18635]
20688         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20689         ret.
20690         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20692 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20694         * po/pl.po: Updated translation.
20695         * po/uk.po: Likewise.
20696         * po/fi.po: Likewise.
20697         * po/ko.po: Likewise.
20698         * po/ru.po: Likewise.
20699         * po/vi.po: Likewise.
20701 2015-07-31  Zack Weinberg  <zackw@panix.com>
20703         [BZ #18681]
20704         * regexp.h: Add unconditional #warning stating that this header
20705         will be removed soon.  Revise banner comment to match.
20706         (compile): Consistently use ERROR instead of RETURN to report
20707         errors (partial fix for bz#18681).
20708         * regexp.c: Don't include regexp.h. Remove some unnecessary
20709         declarations.
20711 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20713         * po/libc.pot: Regenerated.
20715 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20717         [BZ #18740]
20718         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20719         float-vlen4-arch-ext-cflags): Removed.
20720         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20721         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20723 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20725         [BZ #14113]
20726         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20727         aligned to __aligned__.
20728         (pthread_cond_t, pthread_rwlock_t): Likewise.
20730 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20732         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20734 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20736         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20737         (struct sigaction): Change sa_flags from a long to an int, and add
20738         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20740 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20742         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20743         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20744         sysdeps/generic/sysdep.h include.
20745         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20746         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20747         sysdeps/hppa/sysdep.h.
20748         (ENTRY, PSEUDO): Undefine before defining.
20750 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20752         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20753         from scratch to use INTERNAL_SYSCALL.
20755 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20757         [BZ #18078]
20758         * scripts/check-localplt.awk: Support alternate relocations.
20759         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20760         sections.
20761         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20762         malloc entries with + REL R_386_GLOB_DAT.
20763         * sysdeps/x86_64/localplt.data: New file.
20765 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20767         [BZ #18731]
20768         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20769         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20770         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20772 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20774         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20776 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20778         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20779         directly in terms of __sync_fetch_and_add and delete (int) cast.
20781 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20783         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20784         the -D_ASM_IA64_CURRENT_H flag.
20786 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20788         [BZ #18641]
20789         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20791 2015-07-27  Andreas Schwab  <schwab@suse.de>
20793         * conform/conformtest.pl (checknamespace): Filter out string
20794         literals while tokenizing.
20796 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20798         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20799         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20800         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20802 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20804         * nptl/tst-join7mod.c: Add #include <string.h>.
20806 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20808         * sysdeps/nios2/libm-test-ulps: Update.
20810 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20812         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20813         Fix order of arguments to the rt_sigprocmask syscall.
20814         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20815         Likewise.
20817 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20819         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20821 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20823         [BZ #18457]
20824         * nptl/Makefile (tests): New test case tst-join7.
20825         (modules-names): New test case module tst-join7mod.
20826         * nptl/tst-join7.c: New file.
20827         * nptl/tst-join7mod.c: New file.
20828         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20829         all translation units in libc.so, libpthread.so and rtld.
20831 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20835 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20837         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20839         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20842         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20843         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20849         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20850         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20851         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20852         implementation.
20854 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20856         [BZ #17711]
20857         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20858         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20859         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20860         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20861         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20862         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20864 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20866         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20867         instead of just saying load lock in the comments.
20869 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20871         * sysdeps/unix/Subdirs: Moved ...
20872         * sysdeps/posix/Subdirs: ... here.
20873         * login/pty.h (struct termios, struct winsize): Add forward decls.
20874         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20875         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20876         * sysdeps/arm/nacl/libc.abilist: Updated.
20877         * sysdeps/nacl/libutil.abilist: New file.
20879         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20880         (SIGWINCH): New macro.
20882         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20883         * sysdeps/arm/nacl/libc.abilist: Add it.
20885 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20887         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20889 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20891         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20892         Swap __glibc_reserved0 and sa_flags order.
20894 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20896         [BZ #18657]
20897         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20898         are pending TLS destructor calls.
20899         * include/link.h (struct link_map): Add concurrency note for
20900         L_TLS_DTOR_COUNT.
20901         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20902         Don't touch the link map flag.  Atomically increment
20903         l_tls_dtor_count.
20904         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20905         Avoid taking the load lock and don't touch the link map flag.
20906         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20907         * stdlib/Makefile (tests): Use it.
20908         * stdlib/tst-tls-atexit.c (do_test): dlopen
20909         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20910         to allow tst-tls-atexit-nodelete test case to use it.
20912 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20914         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20915         to bits/types.h.
20916         (msgqnum_t): New typedef.
20917         (msglen_t): Likewise.
20918         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20919         and msg_qbytes type to msglen_t.
20921 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20923         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20924         pad0 to __glibc_reserved0.
20925         (struct stat64): Likewise.
20927 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20929         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20930         Change sa_flags from a long to an int and add __glibc_reserved0 before
20931         it for padding.
20933 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20935         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20936         anonymous by deleting "siginfo" name.
20938 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20940         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20941         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20942         rather than __nacl_irt_filename.
20943         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20945         * NEWS: New item for arm-nacl port.
20946         * sysdeps/arm/nacl/libc.abilist: New file.
20947         * sysdeps/nacl/ld.abilist: New file.
20948         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20949         * sysdeps/nacl/libanl.abilist: New file.
20950         * sysdeps/nacl/libcrypt.abilist: New file.
20951         * sysdeps/nacl/libdl.abilist: New file.
20952         * sysdeps/nacl/libm.abilist: New file.
20953         * sysdeps/nacl/libpthread.abilist: New file.
20954         * sysdeps/nacl/libresolv.abilist: New file.
20955         * sysdeps/nacl/librt.abilist: New file.
20957 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20959         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20960         __startcontext to initialize the new context.
20961         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20962         up CFI directive to forbid further backtracing.
20964 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20966         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20967         reference.
20968         * charmaps/ANSI_X3.4-1968: Likewise.
20969         * charmaps/BS_4730: Likewise.
20970         * charmaps/BS_VIEWDATA: Likewise.
20971         * charmaps/CP1250: Likewise.
20972         * charmaps/CP1251: Likewise.
20973         * charmaps/CP1252: Likewise.
20974         * charmaps/CP1253: Likewise.
20975         * charmaps/CP1254: Likewise.
20976         * charmaps/CP1255: Likewise.
20977         * charmaps/CP1256: Likewise.
20978         * charmaps/CSN_369103: Likewise.
20979         * charmaps/EBCDIC-DK-NO: Likewise.
20980         * charmaps/GB_1988-80: Likewise.
20981         * charmaps/GREEK-CCITT: Likewise.
20982         * charmaps/GREEK7: Likewise.
20983         * charmaps/INIS-8: Likewise.
20984         * charmaps/ISIRI-3342: Likewise.
20985         * charmaps/ISO_2033-1983: Likewise.
20986         * charmaps/ISO_5427-EXT: Likewise.
20987         * locales/POSIX: Likewise.
20988         * locales/ar_SA: Likewise.
20989         * locales/be_BY: Likewise.
20990         * locales/be_BY@latin: Likewise.
20991         * locales/ca_ES: Likewise.
20992         * locales/cs_CZ: Likewise.
20993         * locales/da_DK: Likewise.
20994         * locales/de_BE: Likewise.
20995         * locales/de_CH: Likewise.
20996         * locales/de_LU: Likewise.
20997         * locales/en_AU: Likewise.
20998         * locales/en_BW: Likewise.
20999         * locales/en_CA: Likewise.
21000         * locales/en_DK: Likewise.
21001         * locales/en_GB: Likewise.
21002         * locales/en_IE: Likewise.
21003         * locales/en_NZ: Likewise.
21004         * locales/en_ZA: Likewise.
21005         * locales/en_ZW: Likewise.
21006         * locales/es_AR: Likewise.
21007         * locales/es_BO: Likewise.
21008         * locales/es_CL: Likewise.
21009         * locales/es_CO: Likewise.
21010         * locales/es_DO: Likewise.
21011         * locales/es_EC: Likewise.
21012         * locales/es_ES: Likewise.
21013         * locales/es_HN: Likewise.
21014         * locales/es_MX: Likewise.
21015         * locales/es_PA: Likewise.
21016         * locales/es_PE: Likewise.
21017         * locales/es_PY: Likewise.
21018         * locales/es_SV: Likewise.
21019         * locales/es_US: Likewise.
21020         * locales/es_UY: Likewise.
21021         * locales/es_VE: Likewise.
21022         * locales/et_EE: Likewise.
21023         * locales/fa_IR: Likewise.
21024         * locales/fo_FO: Likewise.
21025         * locales/fr_CA: Likewise.
21026         * locales/fr_CH: Likewise.
21027         * locales/gv_GB: Likewise.
21028         * locales/he_IL: Likewise.
21029         * locales/hr_HR: Likewise.
21030         * locales/id_ID: Likewise.
21031         * locales/is_IS: Likewise.
21032         * locales/it_CH: Likewise.
21033         * locales/iw_IL: Likewise.
21034         * locales/kl_GL: Likewise.
21035         * locales/ko_KR: Likewise.
21036         * locales/kw_GB: Likewise.
21037         * locales/lg_UG: Likewise.
21038         * locales/lt_LT: Likewise.
21039         * locales/lv_LV: Likewise.
21040         * locales/mi_NZ: Likewise.
21041         * locales/nhn_MX: Likewise.
21042         * locales/nl_BE: Likewise.
21043         * locales/pl_PL: Likewise.
21044         * locales/sk_SK: Likewise.
21045         * locales/sl_SI: Likewise.
21046         * locales/sv_FI: Likewise.
21047         * locales/tl_PH: Likewise.
21048         * locales/tr_TR: Likewise.
21049         * locales/vi_VN: Likewise.
21051 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21053         [BZ #17475]
21054         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21055         of tu_IN and bh_IN.
21057 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21059         [BZ #18694]
21060         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21061         bits/wordsize.h.
21062         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21064 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21066         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21067         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21068         (spawn_thread): New function.
21069         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21070         (do_test): ... here.  Use IS_LOADED to test for its
21071         availability.
21073 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21075         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21077 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21079         [BZ #18696]
21080         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21081         si_addr_bnd.
21082         (si_lower): New.
21083         (si_upper): Likewise.
21085 2015-07-16  David S. Miller  <davem@davemloft.net>
21087         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21089 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21091         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21092         buffer.
21093         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21094         fail output information.
21096 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21099         and strstr-ppc64..
21100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21101         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21102         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21103         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21104         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21106 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21108         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21109         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21110         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21111         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21113 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21115         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21116         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21117         rtld_hidden_proto.
21118         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21120 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21122         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21123         the test can fail.
21125         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21127         [BZ #18676]
21128         * elf/tst-nodelete-opened.c: New test case.
21129         * elf/tst-nodelete-opened-lib.c: New test case module.
21130         * elf/Makefile (tests, modules-names): Use them.
21131         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21132         early.
21134 2015-07-15  David S. Miller  <davem@davemloft.net>
21136         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21137         futex-intenal.h
21138         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21139         * sysdeps/sparc/sparc64/Makefile: Likewise.
21140         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21141         Remove space from macro define.
21142         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21144 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21146         [BZ #17475]
21147         * locale/iso-639.def: Update Bhili and Tulu language codes as
21148         per iso639-3.
21150 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21152         * elf/tst-leaks1.c (main): Converted to ...
21153         (do_test): ... this.
21154         (TEST_FUNCTION): New macro.
21155         Include test-skeleton.c.
21156         * localedata/tst-langinfo.c (main): Converted to ...
21157         (do_test): ... this.
21158         (TEST_FUNCTION): New macro.
21159         Include test-skeleton.c.
21160         * math/test-fpucw.c (main): Converted to ...
21161         (do_test): ... this.
21162         (TEST_FUNCTION): New macro.
21163         Include test-skeleton.c.
21164         * math/test-tgmath.c (main): Converted to ...
21165         (do_test): ... this.
21166         (TEST_FUNCTION): New macro.
21167         Include test-skeleton.c.
21168         * math/test-tgmath2.c (main): Converted to ...
21169         (do_test): ... this.
21170         (TEST_FUNCTION): New macro.
21171         Include test-skeleton.c.
21172         * setjmp/tst-setjmp.c (main): Converted to ...
21173         (do_test): ... this.
21174         (TEST_FUNCTION): New macro.
21175         Include test-skeleton.c.
21176         * stdio-common/tst-sscanf.c (main): Converted to ...
21177         (do_test): ... this.
21178         (TEST_FUNCTION): New macro.
21179         Include test-skeleton.c.
21180         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21181         (do_test): ... this.
21182         (TEST_FUNCTION): New macro.
21183         Include test-skeleton.c.
21185         * elf/tst-audit9.c (main): Converted to ...
21186         (do_test): ... this.
21187         (TEST_FUNCTION): New macro.
21188         Include test-skeleton.c.
21190 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21192         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21194 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21196         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21197         New variable.
21199 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21201         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21203 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21205         * sysdeps/generic/dl-fileid.h: New file.
21206         * sysdeps/posix/dl-fileid.h: New file.
21207         * sysdeps/nacl/dl-fileid.h: New file.
21208         * include/link.h: Include <dl-fileid.h>.
21209         (struct link_map): Replace l_dev and l_ino with l_file_id.
21210         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21211         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21212         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21214 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21216         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21218 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21220         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21221         Add iff $CXX is set.
21222         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21223         Likewise.
21224         (tst-nodelete-zmodiff): Likewise.
21225         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21227 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21231 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21233         * sysdeps/aarch64/fpu/math_private.h
21234         (define math_opt_barrier): Add AArch64 version.
21235         (math_force_eval): Likewise.
21237 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21239         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21241 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21243         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21244         %ld with %jd and cast to intmax_t.
21245         (do_test_length_zero): Likewise.
21247 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21249         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21251 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21253         * sysdeps/tile/libm-test-ulps: Regenerated.
21255         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21256         Comment out the whole function, not just its body.
21258 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21261         locks.
21263         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21265 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21267         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21268         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21270 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21272         * sysdeps/nptl/futex-internal.h: New file.
21273         * sysdeps/nacl/futex-internal.h: New file.
21274         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21275         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21276         error checking.
21277         (setxid_unmark_thread): Likewise.
21278         (__nptl_setxid): Likewise.
21279         (__wait_lookup_done): Likewise.
21280         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21281         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21282         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21283         * nptl/pthread_once.c (clear_once_control): Likewise.
21284         (__pthread_once_slow): Likewise.
21285         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21286         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21287         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21288         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21289         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21290         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21291         Likewise.
21292         (__pthread_rwlock_rdlock): Likewise.
21293         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21294         Likewise.
21295         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21296         Likewise.
21297         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21298         Likewise.
21299         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21300         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21301         Likewise.
21302         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21303         __ASSUME_PRIVATE_FUTEX check.
21304         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21305         Check that shared futexes are supported.
21306         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21307         wrappers with error checking.
21308         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21309         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21310         * nptl/pthread_barrierattr_setpshared.c
21311         (pthread_barrierattr_setpshared): Check that shared futexes are
21312         supported.
21313         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21314         Likewise.
21315         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21316         Likewise.
21317         * nptl/sem_init.c (futex_private_if_supported): Remove.
21318         (__new_sem_init): Adapt and check that shared futexes are supported.
21319         * nptl/sem_open.c (sem_open): Likewise.
21320         * nptl/sem_post.c (futex_wake): Remove.
21321         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21322         (do_futex_wait): Use futex wrappers with error checking.
21323         * nptl/sem_wait.c: Include lowlevellock.h.
21324         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21325         Use futex_supports_pshared.
21326         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21327         Use futex wrappers with error checking.
21328         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21329         Likewise.
21330         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21331         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21332         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21333         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21334         (futex_wake): Likewise.
21335         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21336         (do_futex_wait): Use futex wrappers with error checking.
21337         (__new_sem_wait_slow): Update EINTR handling.
21338         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21340 2015-07-09  Martin Sebor  <msebor@redhat.com>
21342         [BZ #18435]
21343         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21344         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21345         * nptl/Makefile (test-xfail-tst-once5): Define.
21347 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21349         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21350         * elf/dl-minimal.c: For readability, reorder some definitions and
21351         introduce more page breaks.  Include <stdio.h>.
21352         (__libc_fatal): New function.
21354         * include/unistd.h: Add rtld_hidden_proto for _exit.
21355         * posix/_exit.c: Add rtld_hidden_def.
21356         * sysdeps/mach/hurd/_exit.c: Likewise.
21357         * sysdeps/nacl/_exit.c: Likewise.
21358         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21359         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21361 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21364         bndmov encoding with zero displacement.
21366 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21367             H.J. Lu  <hongjiu.lu@intel.com>
21369         [BZ #18134]
21370         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21371         * sysdeps/i386/configure: Regenerated.
21372         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21373         (_dl_runtime_profile): Save and restore Intel MPX return bound
21374         registers when calling _dl_call_pltexit.  Add
21375         PRESERVE_BND_REGS_PREFIX before return.
21376         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21377         (LRV_BND1_OFFSET): Likewise.
21378         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21379         lrv_bnd1.
21380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21381         typo in bndmov encoding.
21382         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21383         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21384         branch instructions to preserve bounds.
21386 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21389         [GLIBC_2.22]: Add fmemopen.
21391 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21393         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21394         returns an error, also try to use host port from __mach_host_self for
21395         the __vm_wire call.
21396         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21398 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21400         [BZ #18400]
21401         [BZ #18648]
21402         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21403         Fix pr_uid and pr_gid members.
21404         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21405         definition to elf_greg_t.
21407 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21409         [BZ #18383]
21410         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21411         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21412         * sysdeps/arm/configure: Regenerated.
21413         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21414         (test-xfail-tst-tlsalign-static): Variable removed.
21416         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21417         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21418         rather than explicit 'ln -s'.
21420         * resolv/rpc/netdb.h: New file.
21421         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21423 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21425         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21426         length buffers.
21427         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21428         test-skeleton.c.
21430         [BZ #6544]
21431         [BZ #11216]
21432         [BZ #12836]
21433         [BZ #13151]
21434         [BZ #13152]
21435         [BZ #14292]
21436         * include/stdio.h (fmemopen): Remove hidden prototype.
21437         (__fmemopen): Add new hidden prototype.
21438         * libio/Makefile: Add oldfmemopen object.
21439         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21440         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21441         compliance.
21442         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21443         symbol compatibility.
21444         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21445         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21446         fmemopen.
21447         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21448         on append and read mode.
21449         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21450         fmemopen.
21451         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21452         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21453         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21454         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21455         Likewise.
21456         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21457         [GLIBC_2.22]: Likewise.
21458         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21459         Likewise.
21460         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21461         Likewise.
21462         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21463         [GLIBC_2.22]: Likewise.
21464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21465         [GLIBC_2.22]: Likewise.
21466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21467         [GLIBC_2.22]: Likewise.
21468         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21469         [GLIBC_2.22]: Likewise.
21470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21471         [GLIBC_2.22]: Likewise.
21472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21473         [GLIBC_2.22]: Likewise.
21474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21475         [GLIBC_2.22]: Likewise.
21476         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21477         Likewise.
21478         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21479         Likewise.
21480         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21481         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21482         [GLIBC_2.22]: Likewise.
21483         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21484         [GLIBC_2.22]: Likewise.
21485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21486         [GLIBC_2.22]: Likewise.
21487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21488         [GLIBC_2.22]: Likewise.
21489         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21490         Likewise.
21491         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21492         Likewise.
21493         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21494         Likewise.
21495         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21496         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21498 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21500         [BZ #18643]
21501         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21502         IPV6_PATHMTU, and IPV6_DONTFRAG.
21504 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21506         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21507         and _IO_UNBUFFERED.
21508         * libio/oldfileops.c: Likewise.
21509         * libio/wfileops.c: Likewise.
21511 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21513         * nscd/selinux.c: Delete selinux/flask.h include.
21515 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21517         [BZ #18641]
21518         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21519         (putpwent): Likewise.
21520         (getpwnam): Likewise.
21521         (getpwent_r): Likewise.
21522         (getpwuid_r): Likewise.
21523         (getpwnam_r): Likewise.
21524         (fgetpwent_r): Likewise.
21526 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21528         [BZ #18557]
21529         * inet/rcmd.c (__validuser2_sa): Check user first to
21530         short-circuit host check.
21532 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21533             Mikhail Ilin  <m.ilin@samsung.com>
21535         [BZ #17833]
21536         * elf/Makefile (tests): Add tst-nodelete.
21537         (modules-names): Add tst-nodelete-uniquemod.
21538         (tst-nodelete-uniquemod.so-no-z-defs): New.
21539         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21540         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21541         ($(objpfx)tst-nodelete): Likewise.
21542         ($(objpfx)tst-nodelete.out): Likewise.
21543         (LDFLAGS-tst-nodelete): Likewise.
21544         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21545         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21546         implement forced object deletion.
21547         (_dl_close): Pass false to _dl_close_worker.
21548         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21549         * elf/tst-nodelete.cc: New file.
21550         * elf/tst-nodeletelib.cc: Likewise.
21551         * elf/tst-znodeletelib.cc: Likewise.
21552         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21554 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21556         [BZ #18508]
21557         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21558         Depend on $(libdl).
21559         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21560         is not called infinitely times.
21561         (backtrace_helper): New function.
21562         (trace_arg): New struct.
21563         (st1): Enlarge stack size.
21564         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21565         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21566         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21567         Likewise.
21569 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21571         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21573 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21575         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21576         Include sys/types.h instead of bits/types.h.
21577         Remove inclusion of bits/wordsize.h.
21579 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21581         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21582         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21583         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21584         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21585         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21586         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21588 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21590         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21591         link-defines.sym.
21592         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21593         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21594         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21595         and LR_SIZE.
21596         * sysdeps/i386/link-defines.sym: New file.
21598 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21600         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21601         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21602         ($(objpfx)tst-audit3): New rule.
21603         ($(objpfx)tst-audit3.out): Likewise.
21604         * sysdeps/i386/tst-audit3.c: New file.
21605         * sysdeps/i386/tst-audit3.h: Likewise.
21606         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21607         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21609 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21611         [BZ #18633]
21612         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21613         pointer in C code.
21614         (__strcat_c): Likewise.
21615         (__strcat_g): Likewise.
21617 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21619         [BZ #18592]
21620         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21622 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21624         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21625         New function.  (__ieee754_sqrtf): New function.
21626         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21627         New function.
21628         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21629         New function.
21631 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21633         * sysdeps/ieee754/support.c: Remove unused file.
21635 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21637         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21638         registers instead of d ones so the layout is kernel abi compatible.
21639         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21640         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21641         Likewise.
21643 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21645         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21647 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21649         [BZ #18619]
21650         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21651         and return argument in case of subnormal argument.
21653 2015-07-01  Martin Sebor  <msebor@redhat.com>
21655         [BZ #18435]
21656         * nptl/Makefile: Add tst-once5.cc.
21657         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21658         Remove macro redefinitions.
21659         * nptl/tst-once5.cc: New test.
21661 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21663         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21665         * sysdeps/arm/libm-test-ulps: Regenerated.
21667         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21668         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21670 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21672         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21673         lll_lock_wait_private and lll_futex_wake probes.
21675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21676         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21677         Likewise.
21678         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21679         atomic_spin_nop.
21680         * sysdeps/x86_64/bits/atomic.h: Likewise.
21681         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21682         to atomic_spin_nop and move ...
21683         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21684         ... here and ...
21685         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21686         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21687         atomic_spin_nop instead of BUSY_WAIT_NOP.
21688         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21689         Likewise.
21690         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21691         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21692         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21693         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21694         instead of atomic_delay.
21696 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21698         [BZ #18613]
21699         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21700         X_ADJ not X when adjusting exponent.
21701         (__ieee754_gamma_r): Do intermediate computations in
21702         round-to-nearest then adjust overflowing and underflowing results
21703         as needed.
21704         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21705         of X_ADJ not X when adjusting exponent.
21706         (__ieee754_gammaf_r): Do intermediate computations in
21707         round-to-nearest then adjust overflowing and underflowing results
21708         as needed.
21709         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21710         log of X_ADJ not X when adjusting exponent.
21711         (__ieee754_gammal_r): Do intermediate computations in
21712         round-to-nearest then adjust overflowing and underflowing results
21713         as needed.  Use 1.0L not 1.0f as numerator of division.
21714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21715         log of X_ADJ not X when adjusting exponent.
21716         (__ieee754_gammal_r): Do intermediate computations in
21717         round-to-nearest then adjust overflowing and underflowing results
21718         as needed.  Use 1.0L not 1.0f as numerator of division.
21719         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21720         of X_ADJ not X when adjusting exponent.
21721         (__ieee754_gammal_r): Do intermediate computations in
21722         round-to-nearest then adjust overflowing and underflowing results
21723         as needed.  Use 1.0L not 1.0f as numerator of division.
21724         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21725         to auto-libm-test-in.
21726         (tgamma_test): Use ALL_RM_TEST.
21727         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21728         tests of tgamma with spurious-overflow.
21729         * math/auto-libm-test-out: Regenerated.
21730         * math/gen-libm-have-vector-test.sh: Do not check for START.
21731         * sysdeps/i386/fpu/libm-test-ulps: Update.
21732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21734         [BZ #18612]
21735         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21736         arguments, just return 0.5 times the argument, with underflow
21737         forced as needed.
21738         * math/auto-libm-test-in: Add more tests of j1.
21739         * math/auto-libm-test-out: Regenerated.
21741         [BZ #16559]
21742         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21743         (__ieee754_j1): Force underflow exception for small results.
21744         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21745         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21746         (__ieee754_j1f): Force underflow exception for small results.
21747         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21748         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21750         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21751         (__ieee754_j1l): Force underflow exception for small results.
21752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21753         * math/auto-libm-test-in: Add more tests of j1 and jn.
21754         * math/auto-libm-test-out: Regenerated.
21756         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21757         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21758         (PF_MPLS): Likewise.
21759         (AF_IB): Likewise.
21760         (AF_MPLS): Likewise.
21761         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21762         value and macro.
21763         (MS_RMT_MASK): Include MS_LAZYTIME.
21765 2015-06-26  Mel Gorman  <mgorman@suse.de>
21767         [BZ #18502]
21768         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21769         already minimal.
21771 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21773         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21774         (DT_MIPS_NUM): Update.
21775         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21776         DT_MIPS_RLD_MAP_REL.
21778 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21780         [BZ #16559]
21781         [BZ #18602]
21782         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21783         round-to-nearest internally then recompute results that
21784         underflowed to zero in the original rounding mode.
21785         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21786         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21789         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21790         * sysdeps/i386/fpu/libm-test-ulps: Update.
21791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21793 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21795         * NEWS: Fixed description of link with vector math library.
21797 2015-06-25  Andreas Schwab  <schwab@suse.de>
21799         [BZ #18549]
21800         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21801         * libio/test-fmemopen.c (do_test): Add test for it.
21803 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21805         [BZ #17841]
21806         * Makeconfig (no-pie-ldflag): New.
21807         (+link): Set to $(+link-pie) if default to PIE.
21808         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21809         * config.make.in (build-pie-default): New.
21810         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21811         is default.  AC_SUBST.
21812         * configure: Regenerated.
21813         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21815 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21817         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21818         to 'unsigned int'.
21820         * resolv/gai_misc.h (struct waitlist): Change type of field
21821         counterp to 'volatile unsigned int *'.
21822         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21823         FUTEXADDR and OLDVAL.
21824         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21825         Give local variable TOTAL type 'volatile unsigned int'.
21826         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21827         * resolv/gai_suspend.c (gai_suspend):
21828         Give local variable CNTR type 'unsigned int'.
21830         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21831         counterp to 'volatile unsigned int *'.
21832         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21833         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21834         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21835         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21836         Give local variable TOTAL type 'volatile unsigned int'.
21837         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21839 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21841         [BZ #18383]
21842         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21843         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21844         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21845         comment for i386/x86-64.
21846         (test-xfail-tst-tlsalign-extern-static): Removed.
21848 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21850         * math/test-double.h: New file.
21851         * math/test-float.h: Likewise.
21852         * math/test-ldouble.h: Likewise.
21853         * math/test-math-inline.h: Likewise.
21854         * math/test-math-no-inline.h: Likewise.
21855         * math/test-math-scalar.h: Likewise.
21856         * math/test-math-vector.h: Likewise.
21857         * math/test-vec-loop.h: Remove file.  Contents moved into
21858         test-math-vector.h.
21859         * math/libm-test.inc (MATHCONST): Do not document macro.
21860         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21861         and test-math-scalar.h.
21862         (FUNC): Remove macro.
21863         (FUNC_TEST): Likewise.
21864         (FLOAT): Likewise.
21865         (MATHCONST): Likewise.
21866         (PRINTF_EXPR): Likewise.
21867         (PRINTF_XEXPR): Likewise.
21868         (PRINTF_NEXPR): Likewise.
21869         (TEST_DOUBLE): Likewise.
21870         (TEST_MATHVEC): Likewise.
21871         (__NO_MATH_INLINES): Likewise.
21872         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21873         and test-math-scalar.h.
21874         (FUNC): Remove macro.
21875         (FUNC_TEST): Likewise.
21876         (FLOAT): Likewise.
21877         (MATHCONST): Likewise.
21878         (PRINTF_EXPR): Likewise.
21879         (PRINTF_XEXPR): Likewise.
21880         (PRINTF_NEXPR): Likewise.
21881         (TEST_FLOAT): Likewise.
21882         (TEST_MATHVEC): Likewise.
21883         (__NO_MATH_INLINES): Likewise.
21884         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21885         and test-math-scalar.h.
21886         (FUNC): Remove macro.
21887         (FUNC_TEST): Likewise.
21888         (FLOAT): Likewise.
21889         (MATHCONST): Likewise.
21890         (PRINTF_EXPR): Likewise.
21891         (PRINTF_XEXPR): Likewise.
21892         (PRINTF_NEXPR): Likewise.
21893         (TEST_DOUBLE): Likewise.
21894         (TEST_MATHVEC): Likewise.
21895         (TEST_INLINE): Likewise.
21896         (__NO_MATH_INLINES): Likewise.
21897         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21898         test-math-scalar.h.
21899         (FUNC): Remove macro.
21900         (FUNC_TEST): Likewise.
21901         (FLOAT): Likewise.
21902         (MATHCONST): Likewise.
21903         (PRINTF_EXPR): Likewise.
21904         (PRINTF_XEXPR): Likewise.
21905         (PRINTF_NEXPR): Likewise.
21906         (TEST_FLOAT): Likewise.
21907         (TEST_MATHVEC): Likewise.
21908         (TEST_INLINE): Likewise.
21909         (__NO_MATH_INLINES): Likewise.
21910         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21911         and test-math-scalar.h.
21912         (FUNC): Remove macro.
21913         (FUNC_TEST): Likewise.
21914         (FLOAT): Likewise.
21915         (MATHCONST): Likewise.
21916         (PRINTF_EXPR): Likewise.
21917         (PRINTF_XEXPR): Likewise.
21918         (PRINTF_NEXPR): Likewise.
21919         (TEST_LDOUBLE): Likewise.
21920         (TEST_MATHVEC): Likewise.
21921         (TEST_INLINE): Likewise.
21922         (__NO_MATH_INLINES): Likewise.
21923         * math/test-ldouble.c: Include test-ldouble.h,
21924         test-math-no-inline.h and test-math-scalar.h.
21925         (FUNC): Remove macro.
21926         (FUNC_TEST): Likewise.
21927         (FLOAT): Likewise.
21928         (MATHCONST): Likewise.
21929         (PRINTF_EXPR): Likewise.
21930         (PRINTF_XEXPR): Likewise.
21931         (PRINTF_NEXPR): Likewise.
21932         (TEST_LDOUBLE): Likewise.
21933         (TEST_MATHVEC): Likewise.
21934         (__NO_MATH_INLINES): Likewise.
21935         * math/test-double-vlen2.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-vlen4.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-double-vlen8.h: Include test-double.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_DOUBLE): 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-vlen4.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-vlen8.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         * math/test-float-vlen16.h: Include test-float.h,
22041         test-math-no-inline.h and test-math-vector.h.
22042         (FLOAT): Remove macro.
22043         (FUNC): Likewise.
22044         (MATHCONST): Likewise.
22045         (PRINTF_EXPR): Likewise.
22046         (PRINTF_XEXPR): Likewise.
22047         (PRINTF_NEXPR): Likewise.
22048         (TEST_FLOAT): Likewise.
22049         (TEST_MATHVEC): Likewise.
22050         (__NO_MATH_INLINES): Likewise.
22051         (CNCT): Likewise.
22052         (CONCAT): Likewise.
22053         (WRAPPER_NAME): Likewise.
22054         (WRAPPER_DECL): Likewise.
22055         (WRAPPER_DECL_ff): Likewise.
22056         (WRAPPER_DECL_fFF): Likewise.
22057         (VECTOR_WRAPPER): Likewise.
22058         (VECTOR_WRAPPER_ff): Likewise.
22059         (VECTOR_WRAPPER_fFF): Likewise.
22060         (VEC_LEN): New macro.
22061         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22062         test-vec-loop.h.
22063         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22064         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22065         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22066         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22067         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22068         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22069         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22071 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22073         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22074         (__getlogin_r): ... this.
22076 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22078         [BZ #18594]
22079         * math/s_ccosh.c (__ccosh): Compare with least normal value
22080         instead of comparing class with FP_SUBNORMAL.
22081         * math/s_ccoshf.c (__ccoshf): Likewise.
22082         * math/s_ccoshl.c (__ccoshl): Likewise.
22083         * math/s_cexp.c (__cexp): Likewise.
22084         * math/s_cexpf.c (__cexpf): Likewise.
22085         * math/s_cexpl.c (__cexpl): Likewise.
22086         * math/s_csin.c (__csin): Likewise.
22087         * math/s_csinf.c (__csinf): Likewise.
22088         * math/s_csinh.c (__csinh): Likewise.
22089         * math/s_csinhf.c (__csinhf): Likewise.
22090         * math/s_csinhl.c (__csinhl): Likewise.
22091         * math/s_csinl.c (__csinl): Likewise.
22092         * math/s_ctan.c (__ctan): Likewise.
22093         * math/s_ctanf.c (__ctanf): Likewise.
22094         * math/s_ctanh.c (__ctanh): Likewise.
22095         * math/s_ctanhf.c (__ctanhf): Likewise.
22096         * math/s_ctanhl.c (__ctanhl): Likewise.
22097         * math/s_ctanl.c (__ctanl): Likewise.
22098         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22099         csin, csinh, ctan and ctanh.
22100         * math/auto-libm-test-out: Regenerated.
22101         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22102         * sysdeps/i386/fpu/libm-test-ulps: Update.
22103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22107         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22108         return value is wrong, print the expected value too.
22110 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22112         [BZ #18585]
22113         * elf/readlib.c (is_gdb_python_file): New.
22114         (process_file): Don't issue errors on filenames with -gdb.py
22115         suffix.
22117 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22119         * math/auto-libm-test-in: Add more tests of csin and csinh.
22120         * math/auto-libm-test-out: Regenerated.
22121         * math/libm-test.inc (csin_test_data): Remove tests moved to
22122         auto-libm-test-in.
22123         (csinh_test_data): Likewise.
22125         [BZ #18593]
22126         * math/s_csin.c (__csin): Negate before rather than after possibly
22127         overflowing multiplication.
22128         * math/s_csinf.c (__csinf): Likewise.
22129         * math/s_csinh.c (__csinh): Likewise.
22130         * math/s_csinhf.c (__csinhf): Likewise.
22131         * math/s_csinhl.c (__csinhl): Likewise.
22132         * math/s_csinl.c (__csinl): Likewise.
22133         * math/auto-libm-test-in: Add some tests of csin and csinh.
22134         * math/auto-libm-test-out: Regenerated.
22135         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22136         (csinh_test_data): Likewise.
22137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22139         [BZ #18586]
22140         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22141         underflow exception for small results.
22143 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22145         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22147         variable and included header.
22148         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22150         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22151         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22152         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22153         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22154         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22155         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22156         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22157         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22158         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22159         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22160         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22161         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22162         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22163         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22165 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22167         [BZ #16526]
22168         [BZ #16538]
22169         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22170         (__sin): Force underflow exception for arguments with small
22171         absolute value.
22172         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22173         (__kernel_sinf): Force underflow exception for arguments with
22174         small absolute value.
22175         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22176         (__kernel_sincosl): Force underflow exception for arguments with
22177         small absolute value.
22178         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22179         (__kernel_sinl): Force underflow exception for arguments with
22180         small absolute value.
22181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22182         (__kernel_sincosl): Force underflow exception for arguments with
22183         small absolute value.
22184         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22185         (__kernel_sinl): Force underflow exception for arguments with
22186         small absolute value.
22187         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22188         (__kernel_sinl): Force underflow exception for arguments with
22189         small absolute value.
22190         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22191         (__kernel_sinf): Force underflow exception for arguments with
22192         small absolute value.
22193         * math/auto-libm-test-in: Add more tests of sin and sincos.
22194         * math/auto-libm-test-out: Regenerated.
22196         [BZ #18245]
22197         [BZ #18583]
22198         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22199         (__kernel_standard_l): Use feholdexcept and fesetenv around
22200         conversion to double instead of special-casing overflow and
22201         underflow.
22202         * math/libm-test.inc (fmod_test_data): Add more tests.
22203         (remainder_test_data): Likewise.
22204         (sqrt_test_data): Likewise.
22206 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22208         [BZ #17403]
22209         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22210         atomic_read_barrier, atomic_write_barrier): Define.
22211         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22212         atomic_read_barrier, atomic_write_barrier): Define.
22214 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22216         * math/Makefile [$(PERL) != no]
22217         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22218         dependency on libm-test.stmp below the inclusion of Rules.
22220 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22222         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22223         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22224         and included header.
22225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22227         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22228         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22229         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22230         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22231         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22233         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22234         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22235         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22236         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22237         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22238         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22239         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22240         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22241         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22242         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22243         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22245 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22247         [BZ #18371]
22248         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22249         intermediate but not final result might underflow.
22250         * math/s_csqrtf.c (__csqrtf): Likewise.
22251         * math/s_csqrtl.c (__csqrtl): Likewise.
22252         * math/auto-libm-test-in: Add more tests of csqrt.
22253         * math/auto-libm-test-out: Regenerated.
22254         * sysdeps/i386/fpu/libm-test-ulps: Update.
22256         [BZ #18219]
22257         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22258         threshold on absolute value of exponent for which scaling is used.
22259         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22260         * math/auto-libm-test-in: Add more tests of exp2.
22261         * math/auto-libm-test-out: Regenerated.
22263 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22265         [BZ #17977]
22266         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22267         when initializing interface list, based on the bug analysis
22268         and the patch proposed by Eric Newton.
22269         * resolv/tst-res_hconf_reorder.c: New test.
22270         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22271         tst-res_hconf_reorder.
22272         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22273         and $(shared-thread-library).
22274         (tst-res_hconf_reorder-ENV): New variable.
22276         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22277         in comment.
22279 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22281         [BZ #16353]
22282         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22283         (__expm1): Force underflow exception for arguments with small
22284         absolute value.
22285         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22286         (__expm1f): Force underflow exception for arguments with small
22287         absolute value.
22288         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22289         (__expm1): Force underflow exception for arguments with small
22290         absolute value.
22291         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22292         (__expm1f): Force underflow exception for arguments with small
22293         absolute value.
22294         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22295         Check for small arguments before calling __expm1.
22296         * math/auto-libm-test-in: Do not mark underflow exceptions as
22297         possibly missing for bug 16353.
22298         * math/auto-libm-test-out: Regenerated.
22300 2015-06-22  Andreas Schwab  <schwab@suse.de>
22302         [BZ #18513]
22303         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22304         PTR queries.
22306 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22308         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22310         * string/strcoll_l.c: Remove unused struct element idxnow.
22312 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22314         [BZ #18569]
22315         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22316         underflow and return argument in case of subnormal argument.
22317         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22318         Likewise.
22319         * math/auto-libm-test-in: Add more tests of expm1.
22320         * math/auto-libm-test-out: Regenerated.
22322         [BZ #16361]
22323         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22324         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22325         tiny results.
22326         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22327         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22328         tiny results.
22329         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22330         mark underflow exceptions as possibly missing for bug 16361.
22331         * math/auto-libm-test-out: Regenerated.
22333 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22335         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22336         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22337         Remove variable.
22338         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22339         (test-xfail-XOPEN2K8/utmpx.h/conform).
22341         * conform/conformtest.pl ($xerrors): New variable.
22342         (note_error): New function.
22343         (compiletest): New argument $xfail.  Use not_error.
22344         (runtest): Likewise.
22345         (top level): Handle xfail- lines.  Update calls to compiletest and
22346         runtest.  Handle xfail- and optional- in headers listed with
22347         allow-header.
22348         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22349         (O_EXEC): Likewise.
22350         (O_SEARCH): Likewise.
22351         * conform/data/stropts.h-data (ioctl): Likewise.
22352         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22353         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22354         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22355         (msghdr.msg_controllen): Likewise.
22356         (cmsghdr.cmsg_len): Likewise.
22357         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22358         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22359         variable.
22360         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22361         (test-xfail-XPG4/stropts.h/conform): Likewise.
22362         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22363         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22364         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22365         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22366         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22367         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22368         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22369         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22370         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22371         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22372         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22373         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22374         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22375         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22376         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22377         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22378         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22379         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22380         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22382 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22384         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22385         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22386         definitions for proper unfolding of __MATHDECL_VEC.
22388 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22390         * benchtests/bench-strcoll.c:
22391         Include string.h.
22392         (main): Remove unused variable res.
22394 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22396         * timezone/Makefile (%/UTC %/Universal):
22397         Generate test-result files for UTC and Universal.
22399 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22401         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22403 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22405         [BZ #16350]
22406         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22407         for arguments with small absolute value.
22408         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22409         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22410         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22411         (__asinh): Force underflow exception for arguments with small
22412         absolute value.
22413         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22414         (__asinhf): Force underflow exception for arguments with small
22415         absolute value.
22416         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22417         (__asinhl): Force underflow exception for arguments with small
22418         absolute value.
22419         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22420         (__asinhl): Force underflow exception for arguments with small
22421         absolute value.
22422         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22423         (__asinhl): Force underflow exception for arguments with small
22424         absolute value.
22425         * math/auto-libm-test-in: Do not mark underflow exceptions as
22426         possibly missing for bug 16350.
22427         * math/auto-libm-test-out: Regenerated.
22429         * include/bits/ipc.h: Remove file.
22430         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22431         variable.
22432         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22433         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22434         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22435         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22436         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22437         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22438         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22439         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22440         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22442         * math/auto-libm-test-in: Remove spurious underflow allowance for
22443         tests of cexp.
22444         * math/auto-libm-test-out: Regenerated.
22446         [BZ #18558]
22447         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22448         unconditional definition.
22449         (MCAST_BLOCK_SOURCE): Likewise.
22450         (MCAST_UNBLOCK_SOURCE): Likewise.
22451         (MCAST_LEAVE_GROUP): Likewise.
22452         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22453         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22454         (MCAST_MSFILTER): Likewise.
22455         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22456         Remove variable.
22457         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22458         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22459         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22460         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22461         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22463 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22465         * NEWS: Mention addition of x86_64 vector sincosf.
22466         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22467         * math/test-float-vlen4.h: Likewise.
22468         * math/test-float-vlen8.h: Likewise.
22469         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22470         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22471         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22472         * sysdeps/x86_64/fpu/Versions: New versions added.
22473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22474         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22475         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22477         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22482         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22483         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22484         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22485         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22486         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22487         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22488         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22489         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22490         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22491         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22492         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22494         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22495         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22496         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22498         * NEWS: Mention addition of x86_64 vector sincos.
22499         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22500         * math/math.h (__MATHDECL_VEC): New macro.
22501         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22502         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22503         declaration under condition.
22504         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22505         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22506         TEST_VEC_LOOP change.
22507         * math/test-double-vlen4.h: Likewise.
22508         * math/test-double-vlen8.h: Likewise.
22509         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22510         * math/test-float-vlen4.h: Likewise.
22511         * math/test-float-vlen8.h: Likewise.
22512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22513         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22515         * sysdeps/x86_64/fpu/Versions: New versions added.
22516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22518         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22520         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22521         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22525         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22526         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22527         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22528         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22529         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22530         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22531         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22532         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22533         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22534         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22536         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22537         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22538         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22539         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22541         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22542         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22543         redirections for powf.
22544         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22545         * sysdeps/x86_64/fpu/Versions: New versions added.
22546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22547         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22548         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22549         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22550         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22551         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22556         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22557         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22558         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22559         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22560         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22561         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22562         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22563         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22564         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22565         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22567         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22568         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22569         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22570         * math/test-float-vlen16.h: Fixed 2 argument macro.
22571         * math/test-float-vlen4.h: Likewise.
22572         * math/test-float-vlen8.h: Likewise.
22573         * NEWS: Mention addition of x86_64 vector powf.
22575 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22577         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22578         and redefine.
22579         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22580         and redefine.
22581         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22585         [BZ #18553]
22586         * resource/getpriority.c (getpriority): Rename to __getpriority
22587         and define as weak alias of __getpriority.
22588         * resource/setpriority.c (setpriority): Rename to __setpriority
22589         and define as weak alias of __setpriority.
22590         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22591         __getpriority and define as weak alias of __getpriority.
22592         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22593         __setpriority and define as weak alias of __setpriority.
22594         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22595         strong name.
22596         (setpriority): Use __setpriority as strong name.
22597         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22598         __getpriority and define as weak alias of __getpriority.
22599         * include/sys/resource.h (__getpriority): Declare.  Use
22600         libc_hidden_proto.
22601         (__setpriority): Likewise.
22602         (getpriority): Don't use libc_hidden_proto.
22603         (setpriority): Likewise.
22604         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22605         getpriority.  Call __setpriority instead of setpriority.
22606         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22607         Remove variable.
22609         [BZ #18547]
22610         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22611         as weak alias of __getttynam.  Use prototype function definition.
22612         Call __setttyent, __getttyent and __endttyent instead of
22613         setttyent, getttyent and endttyent.
22614         (getttyent): Rename to __getttyent and define as weak alias of
22615         __getttyent.  Call __setttyent instead of setttyent.  Call
22616         __fgets_unlocked instead of fgets_unlocked.
22617         (setttyent): Rename to __setttyent and define as weak alias of
22618         __setttyent.
22619         (endttyent): Rename to __endttyent and define as weak alias of
22620         __endttyent.
22621         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22622         (__setttyent): Likewise.
22623         (__endttyent): Likewise.
22624         (getttyent): Don't use libc_hidden_proto.
22625         (setttyent): Likewise.
22626         (endttyent): Likewise.
22627         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22628         __endttyent instead of setttyent, getttyent and endttyent.
22629         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22630         Remove variable.
22632         [BZ #18546]
22633         * socket/recv.c (__recv): Use libc_hidden_def.
22634         * socket/socket.c (__socket): Likewise.
22635         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22636         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22637         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22638         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22639         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22640         libc_hidden_def.
22641         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22642         libc_hidden_weak.
22643         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22644         Use libc_hidden_proto.
22645         (__recv): Likewise.
22646         * socket/Versions (libc): Export __recv and __socket at version
22647         GLIBC_PRIVATE.
22648         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22649         instead of recv.
22650         (init_mq_netlink): Call __socket instead of socket.
22651         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22652         Remove variable.
22654         [BZ #18545]
22655         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22656         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22657         hidden_weak.
22658         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22659         define as alias of __mq_timedsend.  Use hidden_weak.
22660         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22661         __mq_timedsend as strong name.
22662         (mq_timedreceive): Use __mq_timedreceive as strong name.
22663         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22664         (__mq_timedreceive): Likewise.
22665         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22666         __mq_timedreceive instead of mq_timedreceive.
22667         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22668         instead of mq_timedsend.
22669         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22670         Remove variable.
22672         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22673         hidden_def and hidden_weak instead of libc_hidden_def and
22674         libc_hidden_weak.
22675         (top level): Refer to hidden_def in comment.
22676         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22677         macro.  Use it instead of libc_hidden_def.
22678         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22679         specify __GI_* name explicitly.
22680         (mq_timedreceive): Likewise.
22681         (mq_setattr): Likewise.
22683         [BZ #18544]
22684         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22685         __pthread_barrier_init and define as weak alias of
22686         __pthread_barrier_init.
22687         * sysdeps/sparc/nptl/pthread_barrier_init.c
22688         (pthread_barrier_init): Likewise.
22689         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22690         __pthread_barrier_wait and define as weak alias of
22691         __pthread_barrier_wait.
22692         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22693         (pthread_barrier_wait): Likewise.
22694         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22695         (pthread_barrier_wait): Likewise.
22696         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22697         (pthread_barrier_wait): Likewise.
22698         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22699         (pthread_barrier_wait): Likewise.
22700         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22701         __pthread_barrier_wait at version GLIBC_PRIVATE.
22702         * include/pthread.h (__pthread_barrier_init): Declare.
22703         (__pthread_barrier_wait): Likewise.
22704         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22705         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22706         (helper_thread): Likewise.
22707         (init_mq_netlink): Call __pthread_barrier_init instead of
22708         pthread_barrier_init.
22710         [BZ #18542]
22711         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22712         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22713         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22714         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22715         vswscanf.
22716         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22717         Remove variable.
22719         [BZ #18540]
22720         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22721         strong alias of _IO_fflush.  Use libc_hidden_def.
22722         * libio/iofflush_u.c (fflush_unlocked): Rename to
22723         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22724         Use libc_hidden_weak.
22725         * include/stdio.h (__fflush_unlocked): Declare.  Use
22726         libc_hidden_proto.
22727         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22728         fflush_unlocked.
22729         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22730         Remove variable.
22732         [BZ #18539]
22733         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22734         define as weak alias of __addseverity.
22735         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22736         Remove variable.
22737         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22738         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22739         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22741         [BZ #18536]
22742         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22743         (__tfind): Likewise.
22744         (__tdelete): Likewise.
22745         (__twalk): Likewise.
22746         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22747         __twalk to GLIBC_PRIVATE.
22748         * include/search.h (__tsearch): Use libc_hidden_proto.
22749         (__tfind): Likewise.
22750         (__tdelete): Likewise.
22751         (__twalk): Likewise.
22752         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22753         Call __tdelete instead of tdelete.
22754         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22755         tfind.  Call __tsearch instead of tsearch.
22756         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22757         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22758         Remove variable.
22759         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22761         [BZ #18534]
22762         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22763         (dprintf): Define as a weak alias of __dprintf, not a strong
22764         alias.
22765         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22766         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22767         dprintf.
22768         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22769         Remove variable.
22770         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22771         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22773         [BZ #18533]
22774         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22775         not a strong alias.
22776         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22777         Remove variable.
22779         [BZ #18532]
22780         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22781         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22782         (in6addr_loopback): Rename to __in6addr_loopback and define as
22783         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22784         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22785         libc_hidden_proto.
22786         (__in6addr_any): Likewise.
22787         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22788         in6addr_any.
22789         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22790         variable.
22791         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22793 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22795         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22796         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22797         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22798         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22799         redirections for pow.
22800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22801         * sysdeps/x86_64/fpu/Versions: New versions added.
22802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22803         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22804         build of SSE, AVX2 and AVX512 IFUNC versions.
22805         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22806         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22807         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22808         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22809         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22812         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22813         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22814         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22815         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22816         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22817         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22818         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22819         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22820         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22821         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22822         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22823         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22824         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22825         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22826         * NEWS: Mention addition of x86_64 vector pow.
22828         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22829         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22830         redirections for expf.
22831         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22832         * sysdeps/x86_64/fpu/Versions: New versions added.
22833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22834         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22835         build of SSE, AVX2 and AVX512 IFUNC versions.
22836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22839         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22842         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22843         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22844         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22845         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22846         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22847         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22848         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22849         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22850         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22851         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22852         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22853         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22854         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22855         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22856         * NEWS: Mention addition of x86_64 vector expf.
22858         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22859         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22860         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22861         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22862         redirections for exp.
22863         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22864         * sysdeps/x86_64/fpu/Versions: New versions added.
22865         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22866         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22867         build of SSE, AVX2 and AVX512 IFUNC versions.
22868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22870         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22871         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22874         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22875         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22876         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22877         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22878         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22879         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22880         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22881         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22883         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22884         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22885         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22886         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22887         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22888         * NEWS: Mention addition of x86_64 vector exp.
22890         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22891         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22892         redirections for logf.
22893         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22894         * sysdeps/x86_64/fpu/Versions: New versions added.
22895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22896         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22897         build of SSE, AVX2 and AVX512 IFUNC versions.
22898         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22899         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22900         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22901         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22902         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22904         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22905         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22906         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22907         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22908         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22909         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22910         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22911         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22912         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22913         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22914         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22915         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22916         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22917         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22918         * NEWS: Mention addition of x86_64 vector logf.
22920         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22921         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22922         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22923         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22924         redirections for log.
22925         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22926         * sysdeps/x86_64/fpu/Versions: New versions added.
22927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22928         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22929         build of SSE, AVX2 and AVX512 IFUNC versions.
22930         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22931         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22932         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22933         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22934         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22935         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22936         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22937         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22938         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22939         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22940         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22941         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22942         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22943         test.
22944         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22945         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22947         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22948         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22949         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22950         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22951         * NEWS: Mention addition of x86_64 vector log.
22953 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22955         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22956         cfi_adjust_cfa_offset argument.
22957         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22958         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22960         [BZ #18034]
22961         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22962         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22963         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22964         ordering using ldar.
22965         (_dl_tlsdesc_dynamic): Likewise.
22966         (_dl_tlsdesc_return_lazy): Likewise.
22967         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22968         relaxed atomics instead of volatile and synchronize with release store.
22969         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22970         volatile.
22971         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22973 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22975         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22976         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22978         * sysdeps/x86_64/fpu/Versions: New versions added.
22979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22980         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22981         build of SSE, AVX2 and AVX512 IFUNC versions.
22982         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22983         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22984         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22985         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22986         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22987         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22988         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22989         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22990         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22991         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22992         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22993         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22994         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22995         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22996         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22997         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23000         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23001         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23002         * NEWS: Mention addition of x86_64 vector sinf.
23004 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23006         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23007         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23008         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23009         Remove variable.
23010         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23011         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23013 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23015         [BZ #18530]
23016         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23017         strong alias of _IO_fputs.  Use libc_hidden_def.
23018         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23019         and define as weak alias of __fputs_unlocked.  Use
23020         libc_hidden_weak.
23021         * include/stdio.h (__fputs_unlocked): Declare.  Use
23022         libc_hidden_proto.
23023         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23024         fputs_unlocked.
23026         [BZ #18529]
23027         * resolv/netdb.h [__USE_POSIX]: Change condition to
23028         [__USE_XOPEN2K].
23029         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23030         not expect.
23031         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23032         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23033         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23034         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23035         [XPG4 || UNIX98] (AI_ALL): Likewise.
23036         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23037         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23038         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23039         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23040         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23041         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23042         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23043         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23044         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23045         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23046         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23047         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23048         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23049         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23050         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23051         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23052         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23053         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23054         [XPG4 || UNIX98] (gai_strerror): Likewise.
23055         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23056         [XPG4 || UNIX98] (getnameinfo): Likewise.
23058         [BZ #18528]
23059         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23060         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23061         __USE_XOPEN2K8].
23062         (getgrent): Likewise.
23063         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23064         expect.
23065         [XPG3 || POSIX2008] (endgrent): Likewise.
23066         [XPG3] (setgrent): Likewise.
23067         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23068         variable.
23069         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23071         [BZ #18527]
23072         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23073         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23074         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23075         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23076         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23077         * include/unistd.h (__getlogin_r): Declare.  Use
23078         libc_hidden_proto.
23079         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23080         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23081         variable.
23082         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23083         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23084         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23086 2015-06-12  Martin Sebor  <msebor@redhat.com>
23088         [BZ #18512]
23089         * Makerules (check-install-supported): New target.
23090         (install): Add check-install-supported as a dependency.
23091         * manual/install.texi (Installing the C Library): Document
23092         that overriding prefix and exec_prefix is not supported.
23093         Mention DESTDIR.
23094         * INSTALL: Regenerate from the above.
23096 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23098         [BZ #18519]
23099         * posix/Versions (libc): Export __libc_pread at version
23100         GLIBC_PRIVATE.
23101         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23102         instead of pread.
23103         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23104         variable.
23106         [BZ #18522]
23107         * misc/efgcvt_r.c
23108         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23109         (cvt_symbol): Use weak_alias instead of strong_alias.
23110         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23111         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23112         Remove variable.
23113         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23114         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23116         [BZ #18520]
23117         * inet/herrno.c (h_errno): Rename to __h_errno.
23118         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23119         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23120         to __h_errno instead of h_errno.
23121         * nptl/herrno.c (h_errno): Rename to __h_errno.
23122         (__h_errno_location): Refer to __h_errno not h_errno.
23123         * resolv/Versions (h_errno): Rename to __h_errno.
23124         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23125         Remove variable.
23126         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23128 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23130         * configure.ac: More strict check for AVX512 assembler support.
23131         * configure: Regenerated.
23133         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23134         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23135         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23136         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23137         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23138         * sysdeps/x86_64/fpu/Versions: New versions added.
23139         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23140         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23141         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23142         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23144         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23146         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23148         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23149         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23150         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23151         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23152         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23153         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23154         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23155         test.
23156         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23158         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23159         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23160         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23161         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23162         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23163         * NEWS: Mention addition of x86_64 vector sin.
23165 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23167         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23168         comment.
23170 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23172         [BZ #18479]
23173         * nptl/pt-interp.c: New file.
23174         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23175         Add pt-interp.
23176         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23177         $(common-objpfx)runtime-linker.h.
23179 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23181         * Makeconfig (+interp): Remove unused variable.
23182         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23183         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23184         $(elf-objpfx)runtime-linker.h.
23185         ($(elf-objpfx)runtime-linker.h): Rename to
23186         $(common-objpfx)runtime-linker.h and move ...
23187         * Makerules [$(build-shared) = yes]: ... here.
23188         * elf/interp.c: Include <runtime-linker.h> instead of
23189         <elf/runtime-linker.h>.
23191 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23193         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23194         (__gettimeofday_syscall): Remove vsyscall fallback.
23195         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23196         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23197         Add syscall fallback function.
23198         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23199         if vDSO is not present.
23200         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23201         fallback function.
23202         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23203         present.
23204         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23205         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23207 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #18497]
23210         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23211         of wcscmp.
23212         (wcscmp): Define as weak alias of WCSCMP.
23213         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23214         wcscoll.
23215         (USE_HIDDEN_DEF): Define.
23216         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23217         __wcscoll.  Don't use libc_hidden_weak.
23218         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23219         wcscmp.
23220         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23221         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23222         __GI_wcscmp.
23223         (weak_alias): Undefine and redefine.
23224         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23225         __wcscmp and define as weak alias of __wcscmp.
23226         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23227         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23228         (__wcscoll): Likewise.
23229         (wcscmp): Don't use libc_hidden_proto.
23230         (wcscoll): Likewise.
23231         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23232         wcscoll.
23233         * posix/regexec.c (check_node_accept_bytes): Likewise.
23234         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23235         variable.
23236         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23237         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23239         [BZ #18507]
23240         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23241         __fstatvfs and define as weak alias of __fstatvfs.  Use
23242         libc_hidden_weak.
23243         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23244         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23245         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23246         Define as alias of __fstatvfs, not fstatvfs.
23247         (fstatvfs64): Likewise.
23248         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23249         Define as alias of __statvfs, not statvfs.
23250         (statvfs64): Likewise.
23251         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23252         Remove variable.
23254 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23257         (HAVE_GETCPU_VSYSCALL): Define.
23258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23259         (HAVE_GETCPU_VSYSCALL): Likewise.
23260         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23261         * sysdeps/unix/sysv/linux/sched_getcpu.c
23262         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23263         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23264         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23265         prototype.
23266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23267         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23270         Define.
23271         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23272         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23273         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23274         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23276 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23278         * sysdeps/x86_64/fpu/Makefile: New file.
23279         * sysdeps/x86_64/fpu/Versions: New file.
23280         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23281         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23282         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23283         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23284         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23285         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23286         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23287         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23288         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23289         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23290         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23294         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23295         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23296         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23297         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23298         * sysdeps/x86_64/configure: Regenerated.
23299         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23301         * manual/install.texi (Configuring and compiling): Document
23302         --disable-mathvec.
23303         * INSTALL: Regenerated.
23304         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23306         * math/Makefile: Added rules for vector tests.
23307         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23308         declaration under condition.
23309         * math/test-double-vlen2.h: New file.
23310         * math/test-double-vlen4.h: New file.
23311         * math/test-double-vlen8.h: New file.
23312         * math/test-vec-loop.h: Added initialization macro.
23313         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23315         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23316         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23317         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23319         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23320         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23321         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23322         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23323         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23325         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23326         * sysdeps/x86_64/fpu/Versions: New versions added.
23327         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23328         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23329         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23330         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23331         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23333         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23334         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23337         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23338         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23339         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23340         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23341         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23342         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23343         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23344         * NEWS: Mention addition of x86_64 vector cosf.
23346         * math/Makefile: Added CFLAGS for new tests.
23347         * math/test-float-vlen16.h: New file.
23348         * math/test-float-vlen4.h: New file.
23349         * math/test-float-vlen8.h: New file.
23350         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23351         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23353         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23354         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23355         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23356         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23357         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23358         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23359         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23360         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23362 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23364         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23365         * locale/programs/ld-ctype.c: Likewise.
23367 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23369         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23370         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23371         bit_ZMM16_31_state): New macro.
23372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23373         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23375 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23377         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23379 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23381         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23383 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23385         [BZ #18498]
23386         * libio/memstream.c (open_memstream): Rename to __open_memstream
23387         and define as weak alias of __open_memstream.
23388         * include/stdio.h (__open_memstream): Declare.  Use
23389         libc_hidden_proto.
23390         (open_memstream): Don't use libc_hidden_proto.
23391         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23392         open_memstream.
23393         * posix/getopt.c (_getopt_internal_r): Likewise.
23394         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23395         variable.
23396         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23397         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23398         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23400         [BZ #18496]
23401         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23402         instead of wcrtomb.
23404         [BZ #18483]
23405         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23406         [__USE_XOPEN2K8].  Remove redundant #endif.
23407         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23408         Remove redundant #if.
23409         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23410         Remove variable.
23411         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23412         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23414         [BZ #18495]
23415         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23416         (__iswlower): Likewise.
23417         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23418         (__iswlower): Likewise.
23419         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23420         instead of towlower.
23421         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23422         instead of iswlower.  Call __towupper instead of towupper.
23423         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23424         instead of iswalnum.
23426 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23428         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23429         errors to stderr.
23431 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23433         [BZ #15661]
23434         [BZ #17322]
23435         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23436         Check for overflow properly.  Check for O_APPEND.  Ignore large
23437         file system block sizes.  Add comments about problems.
23438         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23439         * manual/filesys.texi (Storage Allocation): New node.
23441 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23443         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23444         cancellable syscalls.
23445         (SYS_ify): Add guard to no redefine it.
23446         (INLINE_SYSCALL): Likewise.
23447         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23448         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23449         SYSCALL_CANCEL instead.
23450         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23451         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23452         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23453         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23454         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23455         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23456         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23457         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23458         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23459         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23460         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23461         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23462         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23463         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23464         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23466         Likewise.
23467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23468         (__libc_pread64): Likewise.
23469         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23470         (__libc_preadv): Likewise.
23471         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23472         (__libc_readv64): Likewise.
23473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23474         (__libc_pwrite): Likewise.
23475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23476         (__libc_pwrite64): Likewise.
23477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23478         (__libc_pwritev): Likewise.
23479         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23480         (__libc_pwritev64): Likewise.
23481         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23482         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23483         (sync_file_range): Likewise.
23484         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23485         Likewise.
23486         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23487         Likewise.
23488         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23489         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23490         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23491         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23492         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23493         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23494         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23495         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23497         Likewise.
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23499         (__libc_read64): Likewise.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23501         Likewise.
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23503         Likewise.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23507         Likewise.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23509         (__libc_pread64): Likewise.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23511         Likewise.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23513         (__libc_pwrite64): Likewise.
23514         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23515         (sync_file_range): Likewise.
23516         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23517         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23518         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23519         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23520         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23521         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23522         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23523         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23524         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23525         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23526         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23527         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23528         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23529         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23530         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23531         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23532         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23533         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23534         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23535         Likewise.
23536         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23537         Likewise.
23538         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23539         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23540         Likewise.
23541         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23542         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23543         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23544         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23545         Likewise.
23546         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23547         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23548         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23549         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23550         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23552 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23554         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23555         Include dl-vdso.
23556         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23557         Use VDSO routines for gettimeofday, clock_gettime if
23558         available.
23559         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23560         Declare VDSO symbols.
23561         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23562         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23563         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23564         * sysdeps/unix/sysv/linux/arm/Versions: Add
23565         __vdso_clock_gettime.
23567 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23569         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23570         be an inline implementation regardless of library is built within.
23571         (open_not_cancel_2): Likewise.
23572         (__read_nocancel): Likewise.
23573         (__write_nocancel): Likewise.
23574         (openat_not_cancel): Likewise.
23575         (openat_not_cancel_3): Likewise.
23576         (openat64_not_cancel): Likewise.
23577         (openat64_not_cancel_3): Likewise.
23578         (__close_nocancel): Likewise.
23579         (pause_not_cancel): Likewise.
23580         (nanosleep_not_cancel): Likewise.
23581         (sigsuspend_not_cancel): Likewise.
23583 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23585         [BZ #14958]
23586         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23587         wake-up.
23588         (__pthread_rwlock_rdlock_slow): Likewise.
23589         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23590         Likewise.
23591         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23592         Likewise.
23593         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23594         * nptl/tst-rwlock16.c: New file.
23595         * nptl/Makefile (tests): Add new test.
23597 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23599         [BZ #18324]
23600         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23601         missing wake-up of readers.
23602         * nptl/tst-rwlock15.c: New file.
23603         * nptl/Makefile (tests): Add new test.
23605 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23607         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23608         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23609         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23610         and __nacl_supply_interface_rtld.
23611         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23612         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23613         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23614         Add __nacl_supply_interface_rtld.
23615         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23617 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23619         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23620         isfinite.
23621         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23622         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23624 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23626         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23627         __signbit* with standard C99 macros.
23628         * math/e_exp10l.c: Likewise.
23629         * math/e_exp2l.c: Likewise.
23630         * math/e_scalb.c: Likewise.
23631         * math/e_scalbf.c: Likewise.
23632         * math/e_scalbl.c: Likewise.
23633         * math/s_ldexp.c: Likewise.
23634         * math/s_ldexpf.c: Likewise.
23635         * math/s_ldexpl.c: Likewise.
23636         * math/w_atan2.c: Likewise.
23637         * math/w_atan2f.c: Likewise.
23638         * math/w_atan2l.c: Likewise.
23639         * math/w_cosh.c: Likewise.
23640         * math/w_coshf.c: Likewise.
23641         * math/w_coshl.c: Likewise.
23642         * math/w_exp10.c: Likewise.
23643         * math/w_exp10f.c: Likewise.
23644         * math/w_exp10l.c: Likewise.
23645         * math/w_exp2.c: Likewise.
23646         * math/w_exp2f.c: Likewise.
23647         * math/w_exp2l.c: Likewise.
23648         * math/w_fmod.c: Likewise.
23649         * math/w_fmodf.c: Likewise.
23650         * math/w_fmodl.c: Likewise.
23651         * math/w_hypot.c: Likewise.
23652         * math/w_hypotf.c: Likewise.
23653         * math/w_hypotl.c: Likewise.
23654         * math/w_jnl.c: Likewise.
23655         * math/w_lgamma.c: Likewise.
23656         * math/w_lgamma_r.c: Likewise.
23657         * math/w_lgammaf.c: Likewise.
23658         * math/w_lgammaf_r.c: Likewise.
23659         * math/w_lgammal.c: Likewise.
23660         * math/w_lgammal_r.c: Likewise.
23661         * math/w_pow.c: Likewise.
23662         * math/w_powf.c: Likewise.
23663         * math/w_powl.c: Likewise.
23664         * math/w_remainder.c: Likewise.
23665         * math/w_remainderf.c: Likewise.
23666         * math/w_remainderl.c: Likewise.
23667         * math/w_scalb.c: Likewise.
23668         * math/w_scalbf.c: Likewise.
23669         * math/w_scalbl.c: Likewise.
23670         * math/w_scalbln.c: Likewise.
23671         * math/w_scalblnf.c: Likewise.
23672         * math/w_scalblnl.c: Likewise.
23673         * math/w_sinh.c: Likewise.
23674         * math/w_sinhf.c: Likewise.
23675         * math/w_sinhl.c: Likewise.
23676         * math/w_tgamma.c: Likewise.
23677         * math/w_tgammaf.c: Likewise.
23678         * math/w_tgammal.c: Likewise.
23679         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23680         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23681         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23682         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23683         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23685         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23686         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23687         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23688         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23689         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23690         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23691         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23692         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23693         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23694         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23696         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23697         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23699         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23700         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23703         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23704         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23705         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23706         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23707         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23708         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23709         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23710         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23711         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23712         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23713         * stdio-common/printf_fp.c: Likewise.
23714         * stdio-common/printf_fphex.c: Likewise.
23715         * stdio-common/printf_size.c: Likewise.
23717 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #18470]
23720         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23721         strnlen.
23722         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23723         Remove variable.
23724         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23725         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23726         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23727         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23728         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23729         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23730         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23731         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23732         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23733         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23735         [BZ #18468]
23736         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23737         weak alias of __wmemchr.  Use libc_hidden_weak.
23738         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23739         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23740         instead of wmemchr.
23742 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23744         [BZ #18383]
23745         * elf/tst-tlsalign-extern.c: New file.
23746         * elf/tst-tlsalign-extern-static.c: New file.
23747         * elf/tst-tlsalign-vars.c: New file.
23748         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23749         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23750         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23751         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23752         (test-xfail-tst-tlsalign-extern-static): New variable.
23754 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23756         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23757         Use variable name _sc_err instead of err.
23758         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23759         instead of ret.
23760         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23761         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23762         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23763         (INLINE_SYSCALL): Likewise.
23765         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23766         * include/string.h (__strnlen): Use libc_hidden_proto.
23767         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23768         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23769         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23770         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23771         (libc_hidden_def): Undefine and redefine.
23772         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23773         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23774         __GI_strnlen.
23775         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23776         libc_hidden_def.
23777         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23779         [BZ #18469]
23780         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23781         weak alias of __towlower.  Use libc_hidden_weak.
23782         (towupper): Rename to __towupper and define as weak alias of
23783         __towupper.  Use libc_hidden_weak.
23784         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23785         (__towupper): Likewise.
23786         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23787         __towlower instead of towlower.
23789 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23791         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23792         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23794 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23796         * sysdeps/aarch64/libm-test-ulps: Update.
23798 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23800         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23801         Define.
23802         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23804         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23805         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23806         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23807         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23808         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23810 2015-06-01  Martin Sebor  <msebor@redhat.com>
23812         [BZ #18116]
23813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23814         (__setcontext): Use extended four-operand version of mtsf whenever
23815         possible.
23816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23817         (__novec_swapcontext): Likewise.
23819 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23821         * benchtests/scripts/compare_bench.py: New file.
23822         * benchtests/scripts/import_bench.py (mean): New function.
23823         (split_list): Likewise.
23824         (do_for_all_timings): Likewise.
23825         (compress_timings): Likewise.
23827         * benchtests/scripts/import_bench.py: New file.
23828         * benchtests/scripts/validate_benchout.py: Import import_bench
23829         instead of jsonschema.
23830         (validate_bench): Remove function.
23831         (main): Use import_bench.
23833 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23835         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23836         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23838 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23842 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23844         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23845         set THREAD_SELF->tid to a magic value and futex-wake it.
23846         Pass its address to the thread_exit system call.
23847         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23848         bit is clear.
23849         * sysdeps/nacl/lowlevellock.h: New file.
23850         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23852         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23853         Add TIMEOUT to current time, don't subtract it.
23855 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23857         [BZ #2981]
23858         [BZ #18422]
23859         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23860         ($(objpfx)tst-audit2.out): Also depend on
23861         $(objpfx)tst-auditmod9b.so.
23862         * elf/tst-audit2.c: Include <dlfcn.h>.
23863         (calloc_called): New.
23864         (calloc): Allow to be called more than once.
23865         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23867 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23869         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23870         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23872 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23874         * stdlib/monetary.h: Fix comment.
23876 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23878         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23879         Avoid using variables in #defines that might cause shadowing.
23880         (INTERNAL_VSYSCALL_CALL): Likewise.
23882 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23884         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23886         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23887         * nptl/lll_timedlock_wait.c: ... to this new file.
23888         * nptl/Makefile (libpthread-routines): Add it.
23889         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23890         * nptl/lll_timedwait_tid.c: ... to this new file.
23891         * nptl/Makefile (libpthread-routines): Add it.
23892         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23893         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23894         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23895         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23896         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23897         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23898         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23899         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23900         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23901         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23903 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23905         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23906         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23907         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23909         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23910         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23911         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23913         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23914         * sysdeps/unix/sysv/linux/tile/sysdep.h
23915         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23916         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23917         using vDSO syscall macro.
23919 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23921         [BZ #17293]
23922         * uk_UA: Fix sorting order for Ukrainian locale
23924 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23926         * stdlib/monetary.h: Fix comment.
23928 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23930         [BZ #18234]
23931         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23932         st_mtim and st_ctim members.
23933         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23934         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23935         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23936         (struct stat64): Likewise.
23937         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23938         (struct stat64): Likewise.
23939         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23940         (struct stat64): Likewise.
23942 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23944         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23945         Define and include sysdep-vdso.h.
23946         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23947         Likewise.
23948         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23949         Likewise.
23950         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23951         Define with VDSO_SYMBOL and use PTR_MANGLE.
23952         (__vdso_clock_gettime): Likewise.
23953         (__vdso_clock_getres): Likewise.
23954         (_libc_vdso_platform_setup): Likewise.
23955         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23956         Likewise.
23957         (_libc_vdso_platform_setup): Likewise.
23958         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23959         Likewise.
23960         (__vdso_clock_gettime): Likewise.
23961         (__vdso_clock_getres): Likewise.
23962         (__vdso_get_tbfreq): Likewise.
23963         (__vdso_getcpu): Likewise.
23964         (__vdso_time): Likewise.
23965         (__vdso_sigtramp_rt64): Likewise.
23966         (__vdso_signtramp32): Likewise.
23967         (__vdso_sigtramp_rt32): Likewise.
23968         (_libc_vdso_platform_setup): Likewise.
23969         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23970         Likewise.
23971         (__vdso_clock_gettime): Likewise.
23972         (__vdso_clock_getres): Likewise.
23973         (_libc_vdso_platform_setup): Likewise.
23974         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23975         Likewise.
23976         (__vdso_clock_gettime): Likewise.
23977         (_libc_vdso_platform_setup): Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23979         Likewise.
23980         (__vdso_getcpu): Likewise.
23981         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23982         Use VDSO_SYMBOL macro to define.
23983         (__vdso_clock_gettime): Likewise.
23984         (__vdso_clock_getres): Likewise.
23985         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23986         Likewise.
23987         (__vdso_clock_gettime): Likewise.
23988         (__vdso_clock_getres): Likewise.
23989         (__vdso_get_tbfreq): Likewise.
23990         (__vdso_getcpu): Likewise.
23991         (__vdso_time): Likewise.
23992         (__vdso_sigtramp_rt64): Likewise.
23993         (__vdso_signtramp32): Likewise.
23994         (__vdso_sigtramp_rt32): Likewise.
23995         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23996         Likewise.
23997         (__vdso_clock_gettime): Likewise.
23998         (__vdso_clock_getres): Likewise.
23999         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24000         Likewise.
24001         (__vdso_clock_gettime): Likewise.
24002         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24003         Likewise.
24004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24005         macro.
24006         (INTERNAL_VSYSCALL): Likewise.
24007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24008         Remove macro.
24009         (INTERNAL_VSYSCALL): Likewise.
24010         (INTERNAL_VSYSCALL_NCS): Likewise.
24011         (INTERNAL_VSYSCALL_CALL): New macro.
24012         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24014         Likewise.
24015         (INTERNAL_VSYSCALL): Likewise.
24016         (INTERNAL_VSYSCALL_NCS): Likewise.
24017         (INTERNAL_VSYSCALL_CALL): New macro.
24018         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24020         (INLINE_VSYSCALL): Remove macro.
24021         (INTERNAL_VSYSCALL): Remove macro.
24022         (INTERNAL_VSYSCALL_NCS): Remove macro.
24023         (INTERNAL_VSYSCALL_CALL): New macro.
24024         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24025         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24026         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24027         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24028         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24030         (INLINE_VSYSCALL): Remove macro.
24031         (INTERNAL_VSYSCALL): Likewise.
24032         (INTERNAL_VSYSCALL_NCS): Likewise.
24033         (INTERNAL_VSYSCALL_CALL): New macro.
24034         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24035         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24036         PTR_DEMANGLE on vDSO pointer.
24037         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24038         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24039         macro.
24040         (INTERNAL_SYSCALL): Likewise.
24041         (INTERNAL_VSYSCALL_NCS): Remove macro.
24042         (INTERNAL_VSYSCALL_CALL): New macro.
24043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24044         Remove macro.
24045         (INTERNAL_VSYSCALL): Likewise.
24046         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24047         sysdep-vdso.h instead of libc-vdso.h.
24048         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24049         definition.
24050         (INLINE_VSYSCALL): Likewise.
24051         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24052         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24053         definition.
24054         (INLINE_VSYSCALL): Likewise.
24055         (INTERNAL_VSYSCALL): Likewise.
24056         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24057         * sysdeps/unix/sysv/linux/timespec_get.c
24058         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24059         (timespec_get): Use ANSI prototype.
24060         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24061         and definition for Linux.
24063 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24065         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24066         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24068 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24070         [BZ #2981]
24071         [BZ #18410]
24072         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24073         for missing DT_PLTRELSZ.
24075 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24077         Remove obsolete aliases that broke 'locale -a'
24078         [BZ #18412]
24079         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24080         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24081         breaking some applications that use 'locale -a' output.
24082         Change the encoding of this file from Latin-1 to ASCII to avoid
24083         other potential problems with people grepping this file.
24085 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24087         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24088         -fasynchronous-unwind-tables.
24089         (CFLAGS-sendto.c): Likewise.
24090         (CFLAGS-sendmsg.c): Likewise.
24091         (CFLAGS-connect.c): Likewise.
24092         (CFLAGS-recvmsg.c): Likewise.
24093         (CFLAGS-recvfrom.c): Likewise.
24094         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24095         (SOCKETCALL): New macro: non-cancellable socketcall.
24096         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24097         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24098         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24099         * sysdeps/unix/sysv/linux/accept.c: New file.
24100         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24101         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24102         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24103         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24104         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24105         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24106         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24107         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24108         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24109         * sysdeps/unix/sysv/linux/send.c: Likewise.
24110         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24111         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24112         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24113         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24114         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24115         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24116         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24117         prototype.
24118         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24119         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24120         instead of __internal_xxx function.
24121         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24122         prototype.
24123         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24124         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24125         instead of __internal_xxx function.
24126         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24127         prototype.
24128         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24129         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24130         instead of __internal_xxx function.
24131         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24132         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24133         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24134         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24135         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24136         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24137         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24138         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24139         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24140         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24141         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24142         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24143         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24144         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24145         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24146         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24147         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24148         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24149         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24150         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24153         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24154         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24155         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24156         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24157         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24158         * sysdeps/unix/sysv/linux/send.S: Likewise.
24159         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24160         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24161         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24162         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24163         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24164         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24165         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24166         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24167         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24168         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24169         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24170         socketcall is implemented in GLIBC.
24172 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24174         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24175         (__fma): Ignore uninitialized warnings around packing.
24176         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24177         (__fmaf): Ignore uninitialized warnings around packing.
24178         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24179         (__fmal): Ignore uninitialized warnings around packing.
24181         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24182         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24183         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24184         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24186         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24187         switch statement into default case.
24188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24190         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24191         a conditional in forcing "inexact".
24192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24193         Likewise.
24195 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24197         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24198         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24199         for each INTERNAL_SYSCALL use.
24201 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24203         [BZ #438]
24204         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24205         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24206         variable.
24208         [BZ #18444]
24209         * string/basename.c (basename): Rename to __basename and define as
24210         weak alias of __basename.  Use libc_hidden_weak.
24211         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24212         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24213         __basename instead of basename.
24214         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24215         Remove variable.
24216         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24218 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24220         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24221         (_IO_JUMPS_FILE_plus): New.
24222         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24223         _IO_CAST_FIELD_ACCESS.
24224         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24225         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24226         * libio/freopen.c (freopen): Likewise.
24227         * libio/freopen64.c (freopen64): Likewise.
24228         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24229         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24230         * libio/iofwide.c (_IO_fwide): Likewise.
24231         * libio/memstream.c (open_memstream): Likewise.
24232         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24233         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24234         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24236 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24238         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24239         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24240         NADJ.
24241         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24242         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24243         NADJ.
24244         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24245         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24246         NADJ.
24248         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24249         (p == 4) case.
24251         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24252         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24253         Remove variable.
24254         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24255         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24256         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24258 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24260         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24261         Adjust jump table label generation macros.
24263 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24265         * stdio-common/vfprintf.c (vfprintf): Move local variables
24266         args_malloced, specs, specs_malloced, and the code after
24267         do_positional to the printf_positional function.
24268         (printf_positional): New function.
24270 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24272         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24273         function.
24274         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24275         STEP4_TABLE, process_arg): Move macro definitions
24276         out of the vfprintf function.  (Cosmetic change only.)
24278 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24280         * benchtests/Makefile (stdio-common-bench): Define.
24281         (benchset): Add stdio-common-bench.
24282         * sprintf-inputs: New file.
24283         * sprintf-source.c: New file.
24285 2015-05-21  Andreas Schwab  <schwab@suse.de>
24287         [BZ #13028]
24288         [BZ #17053]
24289         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24290         of struct __res_state.
24291         * resolv/res_send.c (__libc_res_nsend): Likewise.
24292         (get_nsaddr): New function.
24293         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24294         statp directly.
24296 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24298         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24299         -D_POSIX_C_SOURCE=199506L.
24301         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24303         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24304         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24305         Do not mention otherwise.
24306         [POSIX] (_XOPEN_VERSION): Do not expect.
24307         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24308         [POSIX] (_POSIX2_C_BIND): Likewise.
24309         [POSIX] (_POSIX2_VERSION): Likewise.
24310         [POSIX] (_XOPEN_XPG2): Likewise.
24311         [POSIX] (_XOPEN_XPG3): Likewise.
24312         [POSIX] (_XOPEN_XPG4): Likewise.
24313         [POSIX] (_XOPEN_UNIX): Likewise.
24314         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24315         [POSIX] (_POSIX_BARRIERS): Likewise.
24316         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24317         [POSIX] (_POSIX_CPUTIME): Likewise.
24318         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24319         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24320         [POSIX] (_POSIX_SHELL): Likewise.
24321         [POSIX] (_POSIX_SPAWN): Likewise.
24322         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24323         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24324         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24325         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24326         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24327         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24328         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24329         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24330         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24331         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24332         [POSIX] (_POSIX2_PBS): Likewise.
24333         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24334         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24335         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24336         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24337         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24338         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24339         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24340         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24341         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24342         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24343         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24344         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24345         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24346         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24347         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24348         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24349         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24350         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24351         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24352         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24353         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24354         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24355         [POSIX] (_SC_2_C_BIND): Likewise.
24356         [POSIX] (_SC_2_C_VERSION): Likewise.
24357         [POSIX] (_SC_2_PBS): Likewise.
24358         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24359         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24360         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24361         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24362         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24363         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24364         [POSIX] (_SC_BARRIERS): Likewise.
24365         [POSIX] (_SC_BASE): Likewise.
24366         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24367         [POSIX] (_SC_DEVICE_IO): Likewise.
24368         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24369         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24370         [POSIX] (_SC_FD_MGMT): Likewise.
24371         [POSIX] (_SC_FIFO): Likewise.
24372         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24373         [POSIX] (_SC_FILE_LOCKING): Likewise.
24374         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24375         [POSIX] (_SC_IOV_MAX): Likewise.
24376         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24377         [POSIX] (_SC_NETWORKING): Likewise.
24378         [POSIX] (_SC_PAGE_SIZE): Likewise.
24379         [POSIX] (_SC_PASS_MAX): Likewise.
24380         [POSIX] (_SC_PIPE): Likewise.
24381         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24382         [POSIX] (_SC_REGEXP): Likewise.
24383         [POSIX] (_SC_SHELL): Likewise.
24384         [POSIX] (_SC_SIGNALS): Likewise.
24385         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24386         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24387         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24388         [POSIX] (_SC_USER_GROUPS): Likewise.
24389         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24390         [POSIX] (_SC_STREAMS): Likewise.
24391         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24392         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24393         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24394         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24395         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24396         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24397         [POSIX] (_PC_FILESIZEBITS): Likewise.
24398         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24399         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24400         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24401         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24402         [POSIX] (uid_t): Likewise.
24403         [POSIX] (gid_t): Likewise.
24404         [POSIX] (off_t): Likewise.
24405         [POSIX] (pid_t): Likewise.
24406         [POSIX] (cuserid): Allow.
24407         (_SC_2_CHAR_TERM): Require constant.
24408         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24409         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24410         variable.
24412 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24414         * sysdeps/nacl/pthread-pids.h: New file.
24415         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24416         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24418         * nptl/pthread-pids.h: New file.
24419         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24420         * nptl/nptl-init.c: Include <pthread-pids.h>.
24421         (__pthread_initialize_minimal_internal):
24422         Call __pthread_initialize_pids instead of set_tid_address syscall.
24424         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24425         * sysdeps/posix/usleep.c: ... here.
24427 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24429         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24430         call_pselect6 object.
24431         [$(subdir) = io]: Remove call_sync_file_range object.
24432         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24433         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24434         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24435         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24437 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24439         * math/s_cproj.c: Add include "math_private.h".
24440         * math/s_cprojf.c: Likewise.
24441         * math/s_cprojl.c: Likewise.
24443 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24445         [BZ #18244]
24446         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24447         high mantissa bit when testing whether P is a NaN.
24448         * math/libm-test.inc (remainder_test_data): Add more tests.
24449         (remquo_test_data): Likewise.
24451         [BZ #18049]
24452         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24453         below -32, return the argument, with underflow if subnormal.
24454         * math/auto-libm-test-in: Add more tests of atanh.
24455         * math/auto-libm-test-out: Regenerated.
24457 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24459         [BZ #18434]
24460         * nptl/tst-sem15.c: New file.
24461         * nptl/Makefile (tests): Add it.
24462         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24463         s/<</>>/ to fix typo in EOVERFLOW check.
24464         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24466 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24468         * manual/strings.texi (envz_remove): Fix typo in safety
24469         annotations.
24471 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24472             Steve Ellcey  <sellcey@imgtec.com>
24474         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24475         in order to avoid strict alias warnings.
24476         (iruserok_af): Ditto for ra.
24478 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24480         [BZ #17581]
24481         * malloc/hooks.c
24482         (magicbyte): Convert to a function and avoid returning 0x01.
24483         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24484         (mem2chunk_check): Fix unsigned comparisons to zero.
24485         Hoist defs of sz and magic.
24487 2015-05-19  Richard Henderson  <rth@redhat.com>
24489         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24491         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24493 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24495         [BZ #16159]
24496         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24497         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24498         (reused_arena): Find a non-corrupt arena.
24499         (heap_trim): Pass arena to unlink.
24500         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24501         malloc_printerr.
24502         (top_check): Likewise.
24503         (free_check): Likewise.
24504         (realloc_check): Likewise.
24505         * malloc/malloc.c (malloc_printerr): Add arena argument.
24506         (unlink): Likewise.
24507         (munmap_chunk): Adjust.
24508         (ARENA_CORRUPTION_BIT): New macro.
24509         (arena_is_corrupt): Likewise.
24510         (set_arena_corrupt): Likewise.
24511         (sysmalloc): Use mmap if there are no usable arenas.
24512         (_int_malloc): Likewise.
24513         (__libc_malloc): Don't fail if arena_get returns NULL.
24514         (_mid_memalign): Likewise.
24515         (__libc_calloc): Likewise.
24516         (__libc_realloc): Adjust for additional argument to
24517         malloc_printerr.
24518         (_int_free): Likewise.
24519         (malloc_consolidate): Likewise.
24520         (_int_realloc): Likewise.
24521         (_int_memalign): Don't touch corrupt arenas.
24522         * malloc/tst-malloc-backtrace.c: New test case.
24524         * Makefile (summarize-tests): Fix return value on success.
24526         * manual/string.texi (Envz Functions): Add envz_remove.
24528 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24530         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24531         (invalid_name): New function, broken out of ...
24532         (__opendirat): ... here.  Call it.
24533         (need_isdir_precheck): New function, broken out of ...
24534         (__opendirat): ... here.  Call it.
24535         Use __fxstatat64, not __xstatat64.
24536         (opendir_oflags): New function, broken out of ...
24537         (__opendirat): ... here.  Call it.
24538         (opendir_tail): New function, broken out of ...
24539         (__opendirat): ... here.  Call it.
24540         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24541         opendir_tail, rather than punting to __opendirat.
24542         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24544 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24546         * .gitignore: Ignore generated *.pyc.
24548 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24550         * include/stdio.h: Define __need_wint_t.
24551         * test-skeleton.c: Avoid `for' loop initial declaration.
24552         * nptl/tst-initializers1.c: Use test-skeleton.c.
24554 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24556         [BZ #18418]
24557         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24559 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #16352]
24562         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24563         (__ieee754_atanh): Force underflow exception for results with
24564         small absolute value.
24565         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24566         (__ieee754_atanhf): Force underflow exception for results with
24567         small absolute value.
24568         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24569         (__ieee754_atanh): Force underflow exception for results with
24570         small absolute value.
24571         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24572         (__ieee754_atanhf): Force underflow exception for results with
24573         small absolute value.
24574         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24575         (__ieee754_atanhl): Force underflow exception for results with
24576         small absolute value.
24577         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24578         (__ieee754_atanhl): Force underflow exception for results with
24579         small absolute value.
24580         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24581         (__ieee754_atanhl): Force underflow exception for results with
24582         small absolute value.
24583         * math/auto-libm-test-in: Do not allow missing underflow
24584         exceptions from atanh.
24585         * math/auto-libm-test-out: Regenerated.
24587         [BZ #18221]
24588         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24589         2**-28 as threshold for returning x or +/- 1/x.
24590         * math/auto-libm-test-in: Add more tests of tan.
24591         * math/auto-libm-test-out: Regenerated.
24593         [BZ #18220]
24594         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24595         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24596         * math/auto-libm-test-in: Add another test of lgamma.
24597         * math/auto-libm-test-out: Regenerated.
24599 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24601         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24602         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24603         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24604         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24605         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24606         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24607         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24608         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24610         (log1): Use fabs.  (my_log2): Use fabs.
24611         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24612         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24614         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24615         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24616         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24617         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24618         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24619         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24620         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24621         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24623 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24625         [BZ #18217]
24626         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24627         as threshold for returning 1 - x.
24628         * math/auto-libm-test-in: Add more tests of erfc.
24629         * math/auto-libm-test-out: Regenerated.
24631 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24633         [BZ #18196]
24634         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24635         threshold for large arguments.
24636         * math/auto-libm-test-in: Add another test of atan.
24637         * math/auto-libm-test-out: Regenerated.
24639         [BZ #16339]
24640         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24641         (__log1p): Force underflow exception for results with small
24642         absolute value.
24643         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24644         (__log1pf): Force underflow exception for results with small
24645         absolute value.
24646         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24647         (__log1p): Force underflow exception for results with small
24648         absolute value.
24649         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24650         (__log1pf): Force underflow exception for results with small
24651         absolute value.
24652         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24653         (__log1pl): Force underflow exception for results with small
24654         absolute value.
24655         * math/auto-libm-test-in: Do not allow missing underflow
24656         exceptions from log1p.
24657         * math/auto-libm-test-out: Regenerated.
24659 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24660             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24662         [BZ #16704]
24663         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24665 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24667         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24668         (libmvec): New variable.
24669         * configure.ac: Added option for mathvec build.
24670         * configure: Regenerated.
24671         * mathvec/Depend: New file.
24672         * mathvec/Makefile: New file.
24673         * shlib-versions: Added libmvec.
24674         * math/Makefile: Added rule for libm.so installation.
24676         * bits/math-vector.h: New file.
24677         * bits/libm-simd-decl-stubs.h: New header.
24678         * math/Makefile (headers): Added new header
24679         libm-simd-decl-stubs.h.
24680         * math/math.h (__MATHCALL_VEC): New macro.
24682         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24683         for conditions in testing functions.
24684         * math/Makefile: Added call of libm-have-vector-test.sh.
24685         * math/libm-test.inc (HAVE_VECTOR): New macros.
24687         * math/libm-test.inc: START refactored.
24688         * math/test-double.c (TEST_MATHVEC): Add define.
24689         * math/test-float.c: Likewise.
24690         * math/test-idouble.c: Likewise.
24691         * math/test-ifloat.c: Likewise.
24692         * math/test-ildoubl.c: Likewise.
24693         * math/test-ldouble.c: Likewise.
24694         * sysdeps/generic/math-tests-arch.h
24695         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24696         architecture check.
24698         * math/test-double.c (FUNC_TEST): New macro.
24699         * math/test-float.c: Likewise.
24700         * math/test-idouble.c: Likewise.
24701         * math/test-ifloat.c: Likewise.
24702         * math/test-ildoubl.c: Likewise.
24703         * math/test-ldouble.c: Likewise.
24704         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24706 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24708         * sysdeps/nacl/fdopendir.c: New file.
24710         * dirent/scandir-tail.c: New file.
24711         * dirent/scandir64-tail.c: New file.
24712         * dirent/Makefile (routines): Add them.
24713         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24714         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24715         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24716         [!SCANDIR] (SCANDIR_TAIL): New macro.
24717         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24718         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24719         (SCANDIRAT): Macro removed.
24720         (SCANDIR_TAIL): New macro.
24721         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24722         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24723         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24724         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24725         (READDIR): Macro removed.
24726         (SCANDIR_TAIL): New macro.
24727         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24728         (SCANDIR_TAIL): New macro.
24730         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24731         * dirent/scandir-cancel.c: ... to this new file.
24732         * dirent/Makefile (routines): Add it.
24733         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24734         * sysdeps/unix/sysv/linux/i386/scandir64.c
24735         (SKIP_SCANDIR_CANCEL): Macro removed.
24736         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24738         * dirent/tst-scandir.c: New file.
24739         * dirent/tst-scandir64.c: New file.
24740         * dirent/Makefile (tests): Add them.
24742 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24744         [BZ #18409]
24745         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24747 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24749         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24750         list.
24752 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24754         * benchtests/bench-strcoll.c: New benchmark.
24755         * benchtests/Makefile: Generate locales and run benchmark.
24756         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24757         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24758         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24759         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24760         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24761         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24762         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24763         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24764         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24765         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24766         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24767         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24768         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24769         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24770         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24771         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24772         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24773         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24774         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24775         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24776         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24777         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24778         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24779         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24781 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24783         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24784         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24786 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24788         * posix/uname-values.h: New file.
24789         * posix/uname.c: Include that instead of <config-name.h>.
24790         * sysdeps/nacl/uname-values.h: New file.
24791         * sysdeps/arm/nacl/uname-values.h: New file.
24793 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24795         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24796         splitting into fields.
24798 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24800         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24801         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24802         * locale/localeinfo.h: Add enum collation_encoding_type.
24803         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24804         * programs/ld-collate.c (collate_output): Add encoding type info.
24805         * string/strcoll_l.c (STRDIFF): New function.
24806         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24807         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24809 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24811         [BZ #18397]
24812         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24813         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24814         <fpu_control.h> instead of <math/fpu_control.c>.
24815         * sysdeps/mips/mips32/fpu/Makefile: New file.
24817 2015-05-11  Andreas Schwab  <schwab@suse.de>
24819         [BZ #18007]
24820         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24821         nss_endgrent.
24822         (_nss_compat_endgrent): Call nss_endgrent.
24823         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24824         nss_endpwent.
24825         (_nss_compat_endpwent): Call nss_endpwent.
24826         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24827         needent, call nss_setspent only if non-zero.
24828         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24829         (internal_endspent): Don't call nss_endspent.
24830         (_nss_compat_endspent): Call nss_endspent.
24831         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24832         Remove.  All uses removed.
24833         (internal_setent): Remove parameter stayopen, add parameter
24834         stream.  Use it instead of global variable.
24835         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24836         (internal_endent, internal_getent): Add parameter stream.  Use it
24837         instead of global variable.
24838         (CONCAT(_nss_files_end,ENTNAME))
24839         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24840         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24841         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24842         uses removed.
24843         (internal_setent, internal_endent): Add parameter stream.  Use it
24844         instead of global variable.
24845         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24846         stream.
24847         (get_next_alias): Add parameter stream.
24848         (_nss_files_getaliasent_r): Pass global stream.
24849         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24850         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24851         (_nss_files_gethostbyname4_r): Pass local stream to
24852         internal_setent, internal_getent and internal_endent.  Remove
24853         locking.
24855 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24857         * tst-strfmon1.c (tests): Update expected currency symbol.
24859 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24861         * sysdeps/nacl/gethostname.c: New file.
24863 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24865         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24866         and sinh.
24867         * math/auto-libm-test-out: Regenerated.
24868         * sysdeps/i386/fpu/libm-test-ulps: Update.
24869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24871 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24873         [BZ #18125]
24874         * stdlib/tst-setcontext3.c: New file.
24875         * stdlib/tst-setcontext3.sh: New file.
24876         * stdlib/Makefile (tests): Add tst-setcontext3.
24877         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24878         to verify test program created output file.
24879         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24880         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24881         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24882         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24884 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24886         [BZ #18383]
24887         * elf/tst-tlsalign.c: New file.
24888         * elf/tst-tlsalign-static.c: New file.
24889         * elf/tst-tlsalign-lib.c: New file.
24890         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24891         (tests-static): Add tst-tlsalign-static.
24892         (modules-names): Add tst-tlsalign-lib.
24893         (test-xfail-tst-tlsalign): New variable.
24894         (test-xfail-tst-tlsalign-static): New variable.
24896         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24897         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24899 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24901         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24902         csqrt, erfc, sin and sincos.
24903         * math/auto-libm-test-out: Regenerated.
24904         * sysdeps/i386/fpu/libm-test-ulps: Update.
24905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24907 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24909         * sysdeps/aarch64/libm-test-ulps: Update.
24911 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24913         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24914         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24915         * math/auto-libm-test-out: Regenerated.
24916         * sysdeps/i386/fpu/libm-test-ulps: Update.
24917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24919 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24921         [BZ #18265]
24922         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24923         (wcsncpy): Likewise.
24925 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24927         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24928         Assume __ASSUME_FALLOCATE is always true.
24929         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24930         (__posix_fallocate64_l64): Likweise.
24931         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24932         (posix_fallocate): Likewise.
24933         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24934         (__posix_fallocate64_l64): Likewise.
24935         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24936         [!__ASSUME_FALLOCATE]: Add comment.
24938 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24940         * sysdeps/unix/sysv/linux/i386/Makefile
24941         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24942         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24943         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24944         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24945         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24946         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24947         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24949 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24951         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24952         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24953         tgamma.
24954         * math/auto-libm-test-out: Regenerated.
24955         * sysdeps/i386/fpu/libm-test-ulps: Update.
24956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24958 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24960         * math/auto-libm-test-in: Add more tests of tgamma.
24961         * math/auto-libm-test-out: Regenerated.
24962         * sysdeps/i386/fpu/libm-test-ulps: Update.
24963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24965         * math/auto-libm-test-in: Add more tests of tanh.
24966         * math/auto-libm-test-out: Regenerated.
24967         * sysdeps/i386/fpu/libm-test-ulps: Update.
24968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24970         * math/auto-libm-test-in: Add more tests of tan.
24971         * math/auto-libm-test-out: Regenerated.
24972         * sysdeps/i386/fpu/libm-test-ulps: Update.
24973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24975         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24976         * math/auto-libm-test-out: Regenerated.
24977         * sysdeps/i386/fpu/libm-test-ulps: Update.
24978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24980         * math/auto-libm-test-in: Add another test of pow.
24981         * math/auto-libm-test-out: Regenerated.
24982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24984         * math/auto-libm-test-in: Add more tests of lgamma.
24985         * math/auto-libm-test-out: Regenerated.
24986         * sysdeps/i386/fpu/libm-test-ulps: Update.
24987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24989         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24990         log1p.
24991         * math/auto-libm-test-out: Regenerated.
24992         * sysdeps/i386/fpu/libm-test-ulps: Update.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24997         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24998         Elf64_Chdr structs and ELFCOMPRESS constants.
25000 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25002         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25003         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
25009         * math/auto-libm-test-out: Regenerated.
25010         * sysdeps/i386/fpu/libm-test-ulps: Update.
25011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25013 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25015         * config.h.in (HAVE_AARCH64_BE): Add.
25017 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25019         * math/auto-libm-test-in: Add more tests of csqrt.
25020         * math/auto-libm-test-out: Regenerated.
25021         * sysdeps/i386/fpu/libm-test-ulps: Update.
25022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25024         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25025         * math/auto-libm-test-out: Regenerated.
25026         * sysdeps/i386/fpu/libm-test-ulps: Update.
25027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25029         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25031 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25033         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25034         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25036         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25037         (euidaccess, eaccess): Define as weak aliases.
25039         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25040         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25041         but __suseconds_t is often 'long int' so some sources assume that
25042         type is being used (e.g. they use %ld to print tv_usec).
25044 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25046         [BZ #18007]
25047         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25048         (CVE-2014-8121)
25049         * nss/tst-nss-getpwent.c: New file.
25050         * nss/Makefile (tests): Add new test.
25052 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25054         [BZ #18346]
25055         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25056         exponents less than 48 as cases where high part of mantissa needs
25057         examining to determine whether argument is integral.
25058         * math/libm-test.inc (round_test_data): Add more tests.
25060 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25062         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25064 2015-04-27  David S. Miller  <davem@davemloft.net>
25066         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25067         __tls_get_addr.
25068         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25070 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25072         [BZ#18333]
25073         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25075 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25077         [BZ#18333]
25078         * time/tzset.c (parse_tzname): Return error on memory allocation
25079         failure.
25080         * test-skeleton.c (struct temp_name_list): Change type of name
25081         member to non-const.
25082         (add_temp_file): Create a copy of the file name.
25083         (delete_temp_files): Deallocate memory.
25084         (create_temp_file): Add comment.
25086 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25088         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25089         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25091 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25093         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25094         * sysdeps/arm/configure: Regenerated.
25096 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25098         [BZ #17715]
25099         * time/tzfile.c (__tzfile_read): Check for large values of
25100         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25101         * time/tzset.c (__tzstring_len): New function, based on the old
25102         __tzstring function.
25103         (__tzstring): Call __tzstring_len.
25104         (parse_tzname): New helper function extracted from
25105         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25106         the input string.
25107         (parse_offset): New helper function extracted from
25108         __tzset_parse_tz.  Replace switch with fallthrough with
25109         initialization before sscanf.
25110         (parse_rule): Likewise.
25111         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25112         new-style function definition.
25113         * timezone/Makefile (tests): Add tst-tzset.
25114         (tst-tzset.out): Dependencies on time zone files.
25115         (tst-tzset-ENV): Set TZDIR.
25116         (testdata/XT%): Copy crafted time zone files.
25117         * timezone/README: Mention crafted time zone files.
25118         * timezone/testdata/XT1, timezone/testdata/XT2,
25119         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25120         files.
25121         * timezone/tst-tzset.c: New test.
25123 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25125         * Makeconfig (+gccwarn): Remove -Winline.
25127 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25129         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25131 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25133         * NEWS: Mention sysconf() cache information support for s390.
25134         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25136 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25138         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25139         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25140         (__nearbyint): Likewise.
25141         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25142         (copysignl): Likewise.
25144 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25146         [BZ #18287]
25147         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25148         based on padding.  (CVE-2015-1781)
25150 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25152         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25153         libc-vdso.h.
25154         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25155         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25156         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25157         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25158         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25159         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25160         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25162         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25163         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25164         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25165         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25166         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25167         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25168         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25169         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25170         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25171         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25172         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25173         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25174         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25175         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25176         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25178 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25180         * stdlib/setenv.c (__add_to_environ):
25181         Dump core quickly if setenv (..., NULL, ...) is called.
25182         This time, do it the right way, and pacify GCC with a pragma.
25184 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25186         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25187         IMAP->l_prev cannot be null, and #if out the code for the contrary
25188         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25189         believe that NS (&_dl_ns[NSID]) could point outside the array.
25191         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25192         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25193         before using NSID as an index.
25195 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25197         [BZ #17825]
25198         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25199         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25200         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25202 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25204         Add preliminary port to Google Native Client on ARM.
25205         * abi-tags (.*-.*-nacl.*): New entry.
25206         * sysdeps/arm/nacl: New directory.
25207         * sysdeps/nacl: New directory.
25209 2015-04-16  David S. Miller  <davem@davemloft.net>
25211         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25212         lowlevellock-futex.h
25214 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25216         * sysdeps/tile/configure.ac: New file.
25217         * sysdeps/tile/configure: Regenerated.
25219 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25221         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25222         conditionals for weak_alias and libc_hidden_weak.
25223         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25224         libc_hidden_weak and weak_alias.
25225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25226         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25227         and weak_alias for static one.
25229 2015-04-15  David S. Miller  <davem@davemloft.net>
25231         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25233 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25235         [BZ #18206]
25236         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25237           Use signed comparision instead of substraction to avoid
25238           overflow bug.
25239         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25240           Take the sign of ret.
25241         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25242           Do not expect precise return values. Only the sign matters.
25243         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25244         * wcsmbs/test-wcsncmp.c: New File.
25245         * string/test-strncmp.c: Add wcsncmp support.
25247 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25249         [BZ #6792]
25250         * math/w_log1p.c: New file.
25251         * math/w_log1pf.c: Likewise.
25252         * math/w_log1pl.c: Likewise.
25253         * math/Makefile (libm-calls): Add w_log1p.
25254         * math/s_log1pl.c (log1pl): Remove weak_alias.
25255         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25256         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25257         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25258         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25259         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25260         [NO_LONG_DOUBLE] (log1pl): Likewise.
25261         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25262         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25263         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25264         (log1p): Remove long_double_symbol.
25265         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25266         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25267         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25268         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25269         remove weak_alias for corresponding log1p function.
25270         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25271         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25272         * sysdeps/ia64/fpu/w_log1p.c: New file.
25273         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25274         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25275         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25277 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25279         [BZ #18247]
25280         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25281         decimal exponent by 1.
25282         * stdlib/tst-strtod-round-data: Add more tests.
25283         * stdlib/tst-strtod-round.c (tests): Regenerated.
25285 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25287         * math/auto-libm-test-in: Add more tests of clog and clog10.
25288         * math/auto-libm-test-out: Regenerated.
25289         * sysdeps/i386/fpu/libm-test-ulps: Update.
25290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25292 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25294         * Makeconfig (module-cppflags): Exclude all .v.i files.
25295         (skip-module-cppflags): Variable removed.
25297         * configure.ac (libc_config_ok): Initialize before reading
25298         preconfigure scripts, not after.
25299         * configure: Regenerated.
25301         * test-skeleton.c (TIMEOUT): Move #define to top level.
25302         (main): Grok environment variable TEST_DIRECT.  If set, print
25303         test expectation details into that file and then behave as if
25304         given --direct.
25306 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25308         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25309         warning on 32-bit.
25311 2015-04-08  David S. Miller  <davem@davemloft.net>
25313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25315 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25317         * math/auto-libm-test-in: Add more tests of atanh.
25318         * math/auto-libm-test-out: Regenerated.
25319         * sysdeps/i386/fpu/libm-test-ulps: Update.
25320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25322         * math/auto-libm-test-in: Add more tests of atan.
25323         * math/auto-libm-test-out: Regenerated.
25324         * sysdeps/i386/fpu/libm-test-ulps: Update.
25325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25327 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25329         * elf/pldd.c (main): Rewrite to use struct
25330         scratch_buffer instead of extend_alloca.
25331         * elf/pldd-xx.c (find_maps): Likewise.
25332         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25333         <alloca.h>.
25334         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25335         scratch_buffer instead of extend_alloca.
25336         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25337         grp/compat-initgroups.c.
25338         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25339         Rewrite to use struct scratch_buffer instead of extend_alloca.
25340         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25341         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25343 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25345         * math/auto-libm-test-in: Add more tests of cbrt.
25346         * math/auto-libm-test-out: Regenerated.
25347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25349         * math/auto-libm-test-in: Add more tests of cabs.
25350         * math/auto-libm-test-out: Regenerated.
25351         * sysdeps/i386/fpu/libm-test-ulps: Update.
25352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25354         [BZ #18210]
25355         [BZ #18211]
25356         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25357         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25358         computations.
25359         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25360         clog10.
25361         * math/auto-libm-test-out: Regenerated.
25362         * sysdeps/i386/fpu/libm-test-ulps: Update.
25363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25365         [BZ #18197]
25366         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25367         (atan): Set FE_TONEAREST mode for internal computations.
25368         * math/auto-libm-test-in: Add more tests of atan.
25369         * math/auto-libm-test-out: Regenerated.
25371 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25373         [BZ #17930]
25374         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25376 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25378         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25380 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25382         * include/scratch_buffer.h: New file.
25383         * malloc/scratch_buffer_grow.c: Likewise.
25384         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25385         * malloc/scratch_buffer_set_array_size.c: Likewise.
25386         * malloc/tst-scratch_buffer.c: Likewise.
25387         * malloc/Makefile (routines): Add scratch_buffer_grow.
25388         (tests): Add test case.
25389         * malloc/Versions (GLIBC_PRIVATE): Export
25390         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25391         __libc_scratch_buffer_set_array_size.
25393 2015-04-06  Richard Henderson  <rth@redhat.com>
25395         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25396         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25398         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25399         unsigned int before printing.
25401 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25403         [BZ #17596]
25404         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25405         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25407 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25409         * include/libc-internal.h (libc_max_align_t): Define.
25411 2015-04-02  Andreas Schwab  <schwab@suse.de>
25413         [BZ #16850]
25414         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25416 2015-04-02  Mel Gorman  <mgorman@suse.de>
25418         [BZ #17195]
25419         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25420         as well as the main arena.
25422 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25424         [BZ #18185]
25425         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25426         sharing L2 cache to 2 for Silvermont/Knights Landing.
25428 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25430         [BZ #17711]
25431         * config.make.in (have-protected-data): New.
25432         * configure.ac: Check linker support for protected data symbol.
25433         * configure: Regenerated.
25434         * elf/Makefile (modules-names): Add tst-protected1moda and
25435         tst-protected1modb if $(have-protected-data) is yes.
25436         (tests): Add tst-protected1a and tst-protected1b if
25437         $(have-protected-data) is yes.
25438         ($(objpfx)tst-protected1a): New.
25439         ($(objpfx)tst-protected1b): Likewise.
25440         (tst-protected1modb.so-no-z-defs): Likewise.
25441         * elf/tst-protected1a.c: New file.
25442         * elf/tst-protected1b.c: Likewise.
25443         * elf/tst-protected1mod.h: Likewise.
25444         * elf/tst-protected1moda.c: Likewise.
25445         * elf/tst-protected1modb.c: Likewise.
25447 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25449         [BZ #17711]
25450         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25451         indicates it is called from do_lookup_x on relocation against
25452         protected data, skip the data definion in the executable from
25453         copy reloc.
25454         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25455         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25456         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25457         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25458         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25459         otherwise to 0.
25460         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25461         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25462         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25463         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25464         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25465         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25467 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25469         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25470         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25472 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25474         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25475         THREAD_SETMEM_NC.
25476         * sysdeps/x86_64/nptl/tls.h: Ditto.
25478 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25480         * dlfcn/tststatic.c (main): Converted to ...
25481         (do_test): ... this.
25482         (TEST_FUNCTION): New macro.
25483         Include test-skeleton.c.
25485 2015-03-26  Alan Modra  <amodra@gmail.com>
25487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25488         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25489         zero for undefined weak.
25490         (elf_machine_plt_conflict): Similarly.
25492 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25494         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25495         atanh.
25496         * math/auto-libm-test-out: Regenerated.
25497         * sysdeps/i386/fpu/libm-test-ulps: Update.
25498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25500         * math/auto-libm-test-in: Add another test of asin.
25501         * math/auto-libm-test-out: Regenerated.
25502         * sysdeps/i386/fpu/libm-test-ulps: Update.
25503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25505         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25506         Remove macro.
25507         (LLL_EBX_REG): Likewise.
25508         (LLL_ENTER_KERNEL): Likewise.
25510         * math/auto-libm-test-in: Add more tests of asin.
25511         * math/auto-libm-test-out: Regenerated.
25512         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25515         [BZ #18138]
25516         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25517         libc_do_syscall_args): New structure.
25518         (INTERNAL_SYSCALL_MAIN_0): New macro.
25519         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25520         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25521         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25522         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25523         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25524         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25525         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25526         Replace conditional definitions by conditional definitions of ....
25527         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25528         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25529         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25530         (libpthread-sysdep_routines): Add libc-do-syscall.
25531         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25532         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25533         to __NR_futex not 240.
25535 2015-03-25  Alan Modra  <amodra@gmail.com>
25537         * NEWS: Advertise TLS optimization.
25538         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25539         (DT_PPC_NUM): Increment.
25540         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25541         (CHECK_STATIC_TLS): Use here.
25542         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25543         TLS descriptors.
25544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25545         * sysdeps/powerpc/dl-tls.c: New file.
25546         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25547         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25548         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25549         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25554 2015-03-25  Alan Modra  <amodra@gmail.com>
25556         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25557         for overlapping .opd entries" to "support...".
25558         * sysdeps/powerpc/powerpc64/configure: Regenerate
25560 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25562         * math/auto-libm-test-in: Add more tests of acos.
25563         * math/auto-libm-test-out: Regenerated.
25564         * sysdeps/i386/fpu/libm-test-ulps: Update.
25565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567         * math/auto-libm-test-in: Add more tests of expm1.
25568         * math/auto-libm-test-out: Regenerated.
25569         * sysdeps/i386/fpu/libm-test-ulps: Update.
25570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25572 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25574         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25575         * math/auto-libm-test-out: Regenerated.
25576         * sysdeps/i386/fpu/libm-test-ulps: Update.
25577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25579         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25582         * math/auto-libm-test-in: Add more tests of log2.
25583         * math/auto-libm-test-out: Regenerated.
25584         * sysdeps/i386/fpu/libm-test-ulps: Update.
25585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25587 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25589         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25590         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25591         _IO_IS_APPENDING bit in READ_WRITE instead.
25593 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25595         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25596         (__determine_cpumask_size): Replace extend_alloca with a
25597         variable-length array.  Do not treat res == 0 as an error.
25599 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25601         [BZ #18100]
25602         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25603         and integer overflow.
25604         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25605         (main): Add integer overflow tests.
25606         * manual/pattern.texi (Calling Wordexp): Document additional use
25607         for WRDE_SYNTAX.
25609 2015-03-23  Alan Modra  <amodra@gmail.com>
25611         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25612         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25613         and false branch of conditional.
25614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25615         Likewise.
25617 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25619         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25620         libc-modules.h
25621         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25622         unused declaration of _hurd_intr_rpc_msg_in_trap.
25623         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25624         defined instead of whether it is non-zero.
25625         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25626         input constraint instead of both input and output constraint.  Use ecx
25627         clobber instead of %ecx.
25628         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25629         mutex_unlock): Use a statement expression instead of an expression list.
25630         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25631         type to vm_size_t instead of vm_address_t.
25632         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25633         defined instead of whether it is non-zero.
25634         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25635         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25636         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25637         comparisons with mapaddr.
25638         * nscd/nscd-client.h: Include <time.h>.
25639         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25640         9th parameter to __vm_region instead of int.
25641         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25642         * scripts/check-local-headers.sh (exclude): Add device/,
25643         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25644         cthreads.h.
25646 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25648         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25649         to account for alignment padding.
25650         * sysdeps/arm/memmove.S: Likewise.
25652 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25654         * sysdeps/unix/sysv/linux/generic/README: New file.
25656 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25658         [BZ #18138]
25659         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25660         (futex_abstimed_wait)
25661         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25662         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25663         of lll_futex_timed_wait.
25665 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25667         [BZ #17542]
25668         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25670 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25672         [BZ #17090]
25673         [BZ #17620]
25674         [BZ #17621]
25675         [BZ #17628]
25676         * NEWS: Update.
25677         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25678         entries with Static TLS too.  Skip entries past the end of the
25679         allocated DTV, from Alan Modra.
25680         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25681         Static TLS DTV entry set up from...
25682         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25683         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25684         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25685         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25686         for Static TLS.
25687         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25688         that the slot we find is associated with the given map before
25689         using its generation count.
25690         * nptl_db/db_info.c: Include ldsodefs.h.
25691         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25692         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25693         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25694         (link_map::l_tls_offset): New struct field.
25695         (dtv_t::counter): Likewise.
25696         (rtld_global): New struct.
25697         (_rtld_global): New rtld variable.
25698         (dl_tls_dtv_slotinfo_list): New rtld global field.
25699         (dtv_slotinfo_list): New struct.
25700         (dtv_slotinfo): Likewise.
25701         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25702         (td_lookup): Rename to...
25703         (td_mod_lookup): ... this.  Use new mod parameter instead of
25704         LIBPTHREAD_SO.
25705         * nptl_db/td_thr_tlsbase.c: Include link.h.
25706         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25707         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25708         addresses even if the DTV is out of date or missing them.
25709         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25710         index zero-length arrays.
25711         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25712         (td_lookup): Make it a macro implemented in terms of...
25713         (td_mod_lookup): ... this declaration.
25714         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25715         (DB_MAIN_VARIABLE): Likewise.
25717 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25719         [BZ #18134]
25720         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25722 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25724         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25726 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25728         [BZ #18128]
25729         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25730         (atomic_add, atomic_increment_and_test)
25731         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25733 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25735         * stdlib/setenv.c (__add_to_environ):
25736         Dump core quickly if setenv (..., NULL, ...) is called.
25738 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25740         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25741         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25742         all the necessary asm magic in one place.
25743         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25744         using those.
25746 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25748         [BZ #14906]
25749         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25750         traced file mtime. Use consistent log message.
25751         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25752         (register_traced_file): Call install_watches. Always set mtime.
25753         (invalidate_cache): Iterate over all trace files. Call install_watches.
25754         (inotify_check_files): Don't inline. Handle watching parent
25755         directories and configuration file movement in and out.
25756         (handle_inotify_events): New function.
25757         (main_loop_poll): Call handle_inotify_events.
25758         (main_loop_epoll): Likewise.
25759         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25760         (struct traced_file): Use array of inotify fds. Add parent directory,
25761         and basename.
25762         (struct database_dyn): Remove unused file_mtime.
25763         (init_traced_file): New inline function.
25764         (define_traced_file): New macro.
25765         * nss/nss_db/db-init.c: Use define_traced_file.
25766         (_nss_db_init): Use init_traced_file.
25767         * nss/nss_files/files-init.c: Use define_traced_file.
25768         (_nss_files_init): Use init_traced_file.
25770 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25772         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25773         [_LIBC]: Do not include <stdlib.h>.
25774         [!_LIBC] (abort): Remove declaration.
25775         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25776         _FP_STATIC_ASSERT instead of conditionally calling abort.
25777         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25778         (_FP_EXTEND_CNAN): Likewise.
25779         (FP_TRUNC): Likewise.
25780         (__FP_CLZ): Likewise.
25781         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25783 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25785         * manual/string.texi (XPG basename): Fix prototype.
25787 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25789         [BZ #18080]
25790         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25791         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25792         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25793         (__setcontext): Likewise.
25794         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25795         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25796         Call rt_sigprocmask syscall one time to set new signal mask
25797         and retrieve the current signal mask instead of two calls.
25798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25799         (__swapcontext): Likewise.
25800         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25801         * stdlib/tst-setcontext2.c: New file.
25803 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25805         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25807 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25809         [BZ #18093]
25810         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25811         the wrong size.
25813 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25815         [BZ #18043]
25816         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25818 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25820         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25821         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25822         Remove define.
25823         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25824         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25825         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25826         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25827         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25828         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25829         define.
25830         * nptl_db/td_symbol_list.c (td_lookup): Remove
25831         HAVE_ASM_GLOBAL_DOT_NAME code.
25832         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25833         HAVE_ASM_GLOBAL_DOT_NAME check.
25834         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25835         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25836         (DOT_LABEL): Remove define.
25837         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25838         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25839         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25840         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25841         (__TLS_GET_ADDR): Likewise.
25842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25843         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25845 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25847         [BZ #18111]
25848         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25849         (_FPU_SETCW): Initialize cw from fpsr before storing.
25850         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25851         (fesetexceptflag): Rewrite using fpu_control.h.
25852         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25854 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25856         [BZ #18110]
25857         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25858         asms.
25859         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25861 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25863         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25864         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25865         abort.
25866         (_FP_FMA): Likewise.
25867         (_FP_DIV): Likewise.
25869 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25871         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25872         with 0 in that case.
25873         * Makefile (summarize-tests): New canned sequence, factored out of
25874         commands for targets tests and xtests.  Display summary lines that
25875         don't start with PASS: or XFAIL: rather than ones that do start with
25876         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25877         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25878         do start with ERROR: or FAIL:.
25879         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25880         (except for [$(build-shared) = yes]).
25881         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25882         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25883         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25884         * nptl/Makefile: Revert 2015-03-04 changes.
25885         [$(CXX) empty] (tests-unsupported): New variable.
25886         * debug/Makefile: Likewise.
25888         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25889         gnulib file.  Replace __attribute with __attribute__ throughout.
25891 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25893         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25895 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25897         [BZ #18104]
25898         * math/auto-libm-test-in: Add another test of pow.
25899         * math/auto-libm-test-out: Regenerated.
25901 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25903         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25904         $(config-cflags-nofma).
25906 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25908         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25909         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25910         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25911         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25912         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25913         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25914         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25915         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25916         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25917         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25918         Add comment on closing #endif.
25920 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25922         * posix/wordexp.c (CHAR_IN_SET): New macro.
25923         (parse_param): Use it.
25925 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25927         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25929 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25931         [BZ #18043]
25932         * posix/wordexp.c (parse_param): Fix buffer overflow.
25933         * posix/wordexp-test.c (test_case): Add test case.
25935 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25937         [BZ #18042]
25938         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25939         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25941 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25943         [BZ #18043]
25944         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25945         (do_bz18043): Delete.
25946         (at_page_end): New.
25947         (testit): Refactor to have words at the edge of unreadable page.
25949 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25951         [BZ #16734]
25952         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25953         Cleanup read-only streams as well.
25954         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25956 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25958         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25959         <bits/libc-lockP.h>
25961 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25963         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25964         on [__KERNEL__].
25965         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25966         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25967         * soft-fp/op-common.h (_FP_DECL): Likewise.
25969 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25971         * elf/ifuncdep2.c (global): Replace
25972         __attribute__((visibility("protected"))) with
25973         asm (".protected global").
25974         * elf/ifuncmod1.c (global): Likewise.
25975         * elf/ifuncmod5.c (global): Likewise.
25977 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25979         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25980         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25982 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25984         * manual/install.texi (Configuring and compiling):
25985         Document test-wrapper-env-only.
25986         * INSTALL: Regenerated.
25988 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25990         [BZ #18043]
25991         * posix/wordexp.c (parse_param): Fix buffer overflow.
25992         * posix/wordexp-test.c (do_bz18043): Add test case.
25994 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25996         * time/tst-strptime2.c (do_test): Ensure failing tests are
25997         reported correctly.
25998         * time/tst-strptime3.c (do_test): Likewise.
26000 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26002         Fix aio_error thread-safety.
26003         * sysdeps/pthread/aio_error.c: New file
26004         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26005         synchronization.
26007 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26009         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26010         (group_number, vfprintf): Use it.
26011         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26012         (JUMP, REF): Use it.
26013         (WORK_BUFFER_SIZE): New enum constant.
26014         (process_arg, vfprintf): Use it.
26016 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26018         * manual/errno.texi (Error Messages): Complete example function
26019         by adding missing #define.
26020         (program_invocation_name): Add statement indicating GNU
26021         extension and reference which header file declares the variable.
26022         (program_invocation_short_name): Likewise.
26024 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26026         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26027         compatibility note.
26029 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26031         * Makeconfig (test-wrapper-env-only): New variable.
26032         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26033         then use that with $(test-wrapper-env-only) rather than using
26034         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26036 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26038         [BZ #18082]
26039         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26040         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26041         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26042         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26043         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26044         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26045         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26046         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26047         Likewise.
26048         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26049         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26050         Likewise.
26051         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26052         Likewise.
26053         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26054         Likewise.
26055         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26056         Likewise.
26057         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26058         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26059         Likewise.
26060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26061         Likewise.
26062         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26063         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26065 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26067         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26068         (ETH_ALEN): New macro.
26069         (struct ether_addr): Use it for length of ether_addr_octet.
26071         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26072         (setdb): Don't call __nss_configure_lookup for "rpc".
26073         (do_test): Don't call test_rpc.
26074         (output_rpcent, test_rpc): Functions moved ...
26075         * sunrpc/test-rpcent.c: ... to this new file.
26076         * sunrpc/Makefile (tests): Add it.
26078         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26079         __xpg_sigpause.
26080         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26081         * nptl/tst-signal6.c: Likewise.
26082         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26083         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26085         * configure.ac (libc_cv_cxx_link_ok): New check.
26086         Reset CXX to empty if it fails to link.
26087         * configure: Regenerated.
26088         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26089         bug-atexit3-lib only if $(CXX) is nonempty.
26090         * nptl/Makefile (tests): Likewise for tst-cancel24.
26091         (tests, tests-static): Likewise for tst-cancel24-static.
26092         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26093         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26094         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26095         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26097 2015-03-04  Andreas Schwab  <schwab@suse.de>
26099         [BZ #17631]
26100         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26101         for non-GCC compilers.
26102         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26103         Likewise.
26105 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26107         [BZ #17776]
26108         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26109         integer before bitwise and assembly operations.
26110         (feclearexcept): Likewise.
26111         * math/test-fenvinline.c: New file.
26112         * math/Makefile: Add test-fenvinline test.
26114 2015-03-03  Alan Modra  <amodra@gmail.com>
26116         [BZ #16512]
26117         * scripts/localplt.awk: Strip off symbol version.
26118         * NEWS: Mention bug fix.
26120 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26122         * sysdeps/pthread/timer_routines.c
26123         (timer_free_list, thread_free_list, thread_active_list): Make static.
26125 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26127         [BZ #17779]
26128         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26129         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26130         Undefine.
26131         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26132         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26133         Likewise.
26134         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26135         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26136         Likewise.
26138 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26140         [BZ #18036]
26141         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26142         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26144 2015-03-02  Andreas Schwab  <schwab@suse.de>
26146         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26147         variable name.
26149 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26151         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26152         Return error status.
26154 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26156         [BZ #15969]
26157         * locale/findlocale.c (_nl_find_locale): Introduce const
26158         version of loc_name and drop unsafe type casts.
26160 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26162         * dlfcn/tststatic2.c (main): Converted to ...
26163         (do_test): ... this.
26164         (TEST_FUNCTION): New macro.
26165         Include test-skeleton.c.
26167 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26169         [BZ #17711]
26170         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26171         (tests-pie): Add vismain.
26172         (CFLAGS-vismain.c): New.
26173         * elf/vismain.c: Add comments for PIE requirement.
26175 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26177         [BZ #18046]
26178         [BZ #18047]
26179         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26180         0x1p-56L as threshold for just returning the argument.
26181         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26182         0x1p-32L as threshold for just returning the argument.
26183         * math/auto-libm-test-in: Add more tests of atanh.
26184         * math/auto-libm-test-out: Regenerated.
26185         * sysdeps/i386/fpu/libm-test-ulps: Update.
26186         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26188 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26190         * string/bcopy.c (bcopy): Call memmove for performance.
26192 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26194         * string/bzero.c (__bzero): Call memset for performance.
26196 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26198         [BZ #18068]
26199         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26200         to 00100000.
26202 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26204         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26206 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26208         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26209         (__kernel_standard): Use CSTR macro when setting exc.name.
26210         * sysdeps/ieee754/Makefile [$(subdir) = math]
26211         (CFLAGS-k_standard.c): Remove variable.
26213         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26214         setting p and q from "else if" to "else".
26215         (qzero): Likewise.
26216         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26217         (qone): Likewise.
26218         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26219         (qzerof): Likewise.
26220         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26221         (qonef): Likewise.
26222         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26223         (qzero): Likewise.
26224         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26225         (qone): Likewise.
26227         [BZ #18038]
26228         [BZ #18039]
26229         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26230         return pi/2 for arguments below 0x1p-113L.
26231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26232         return pi/2 for arguments below 0x1p-106L.
26233         * math/auto-libm-test-in: Add more tests of acos.
26234         * math/auto-libm-test-out: Regenerated.
26236         [BZ #16351]
26237         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26238         (MO): New macro.
26239         (__ieee754_asin): Force underflow exception for results with small
26240         absolute value.
26241         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26242         (MO): New macro.
26243         (__ieee754_asinf): Force underflow exception for results with
26244         small absolute value.
26245         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26246         (__ieee754_asin): Force underflow exception for results with small
26247         absolute value.
26248         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26249         (__ieee754_asinf): Force underflow exception for results with
26250         small absolute value.
26251         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26252         (__ieee754_asinl): Force underflow exception for results with
26253         small absolute value.
26254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26255         (__ieee754_asinl): Force underflow exception for results with
26256         small absolute value.
26257         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26258         (__ieee754_asinl): Force underflow exception for results with
26259         small absolute value.
26260         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26261         Include <math.h>.
26262         * math/auto-libm-test-in: Do not mark underflow exceptions as
26263         possibly missing for bug 16351.
26264         * math/auto-libm-test-out: Regenerated.
26266         [BZ #18030]
26267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26268         of power of 2 down when low part has opposite sign.
26269         * math/libm-test.inc (logb_test_data): Add more tests.
26271 2015-02-26  Andreas Schwab  <schwab@suse.de>
26273         [BZ #18032]
26274         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26275         over collating symbol inside a bracket expression.  Minor cleanup.
26276         * posix/tst-fnmatch3.c (do_test): Add test case.
26278 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26280         [BZ #18029]
26281         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26282         Adjust exponent of power of 2 down when low part has opposite
26283         sign.
26284         * math/libm-test.inc (ilogb_test_data): Add more tests.
26286 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26288         [BZ #15969]
26289         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26290         the previous change.
26292         [BZ #15969]
26293         * locale/findlocale.c (_nl_find_locale): Retry archive search
26294         after alias expansion.
26296 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26298         * iconv/tst-iconv3.c (main): Converted to ...
26299         (do_test): ... this.
26300         (TEST_FUNCTION): New macro.
26301         Include test-skeleton.c.
26303         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26304         (convert): Make function static.
26305         (test_unalign): Likewise.  Add const to argument pointee types.
26306         (main): Replace with static function do_test.
26307         Print "Succeeded." only if RET is zero.
26308         (TEST_FUNCTION): New macro.
26309         Include test-skeleton.c.
26311         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26312         returns a null pointer.
26314 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26316         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26317         to __memcpy_ppc only for static builds.
26319 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26321         [BZ #18020]
26322         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26323         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26324         * math/auto-libm-test-in: Add more tests of asinh.
26325         * math/auto-libm-test-out: Regenerated.
26326         * sysdeps/i386/fpu/libm-test-ulps: Update.
26327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26331         [BZ #15850]
26332         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26333         and ip6_mtuinfo definitions here.
26334         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26335         in this define too.  Update comment.
26337 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26339         * elf/sprof.c (load_shobj): Tweak error message to match others.
26341 2015-02-24  Kevin Easton  <kevin@guarana.org>
26343         [BZ #16145] (partial fix)
26344         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26345         to reduce lock contention.
26347 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26349         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26350         (struct timex): Update time comment.
26351         (ADJ_SETOFFSET): Define.
26353 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #18019]
26356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26357         2**56 not 2**28 as threshold for log (2x) formula.
26358         * math/auto-libm-test-in: Add more tests of acosh.
26359         * math/auto-libm-test-out: Regenerated.
26360         * sysdeps/i386/fpu/libm-test-ulps: Update.
26361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26363 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26365         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26366         parenthesis around the buf assignment.
26367         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26369 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26371         [BZ #16783]
26372         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26373         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26374         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26375         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26376         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26377         * math/libm-test.inc (scalb_test_data): Add more tests.
26379 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26381         [BZ #17916]
26382         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26383         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26385 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26387         [BZ #17523]
26388         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26389         * io/bits/fcntl2.h (open): Use it.
26390         (openat): Likewise.
26391         * io/open.c (__libc_open): Likewise.
26392         * io/open64.c (__libc_open64): Likewise.
26393         * io/open64_2.c (__open64_2): Likewise.
26394         * io/open_2.c (__open_2): Likewise.
26395         * io/openat.c (__openat): Likewise.
26396         * io/openat64.c (__openat64): Likewise.
26397         * io/openat64_2.c (__openat64_2): Likewise.
26398         * io/openat_2.c (__openat_2): Likewise.
26399         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26400         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26401         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26402         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26403         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26404         (__open_nocancel): Likewise.
26405         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26406         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26407         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26409 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26411         [BZ #14841]
26412         * resolv/gethnamaddr.c (getanswer): Skip logging if
26413         RES_USE_DNSSEC is set.
26414         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26416 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26418         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26420 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26422         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26423         201304L, for Unicode 7.
26425 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26427         [BZ #17836]
26428         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26429         shared library.  Add gmon-start.os otherwise.
26430         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26431         $(objpfx)gmon-start.os if builing shared library.
26432         ($(objpfx)g$(static-start-installed-name)): Likewise.
26434 2015-02-23  Andreas Schwab  <schwab@suse.de>
26436         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26438 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26440         [BZ #17269]
26441         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26442         (enlarge_userbuf): Likewise.
26444 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26446         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26447         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26448         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26449         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26451 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26453         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26454         expression inside statement expression.
26456 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26458         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26459         <sysdeps/nptl/lowlevellock.h> and remove macros and
26460         functions that are now defined there.
26461         (SYS_futex): Remove.
26462         (lll_compare_and_swap): Remove.
26463         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26465 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #17999]
26468         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26469         instead of scandirat.
26470         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26471         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26472         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26473         __scandirat.
26474         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26475         (__scandirat): Declare.  Use libc_hidden_proto.
26476         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26477         Remove variable.
26478         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26480 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26482         [BZ #15319]
26483         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26484         (MO): New macro.
26485         (__ieee754_atan2): For results with small absolute value, force
26486         underflow exception and remove excess range and precision from
26487         return value.
26488         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26489         (MO): New macro.
26490         (__ieee754_atan2f): For results with small absolute value, force
26491         underflow exception and remove excess range and precision from
26492         return value.
26493         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26494         (MO): New macro.
26495         (__atan): For results with small absolute value, force underflow
26496         exception and remove excess range and precision from return value.
26497         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26498         (MO): New macro.
26499         (__atanf): For results with small absolute value, force underflow
26500         exception and remove excess range and precision from return value.
26501         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26502         <math.h>.
26503         (__ieee754_atan2): Force underflow exception for results with
26504         small absolute value.
26505         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26506         <math_private.h>.
26507         (atan): Force underflow exception for results with small absolute
26508         value.
26509         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26510         (__atanf): Force underflow exception for results with small
26511         absolute value.
26512         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26513         <math.h>.
26514         (__atanl): Force underflow exception for results with small
26515         absolute value.
26516         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26517         (__atanl): Force underflow exception for results with small
26518         absolute value.
26519         * sysdeps/x86/fpu/bits/mathinline.h
26520         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26521         (__ieee754_atan2): Only define inline for long double.
26522         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26523         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26524         * math/auto-libm-test-in: Do not mark underflow exceptions as
26525         possibly missing for bug 15319.  Add more tests of atan2.
26526         * math/auto-libm-test-out: Regenerated.
26527         * math/libm-test.inc (casin_test_data): Do not mark underflow
26528         exceptions as possibly missing for bug 15319.
26529         (casinh_test_data): Likewise.
26530         * sysdeps/i386/fpu/libm-test-ulps: Update.
26532 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26534         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26535         * sysdeps/mips/bits/endian.h: Fix comments.
26537 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26539         [BZ #17996]
26540         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26541         (hdestroy_r): Likewise.
26542         (hsearch_r): Likewise.
26543         (__hcreate_r): Declare and use libc_hidden_proto.
26544         (__hdestroy_r): Likewise.
26545         (__hsearch_r): Likewise.
26546         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26547         (hcreate): Call __hcreate_r instead of hcreate_r.
26548         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26549         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26550         as weak alias of __hcreate_r.
26551         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26552         __hdestroy_r.
26553         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26554         __hsearch_r.
26555         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26556         Remove variable.
26557         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26558         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26559         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26560         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26562 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26564         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26565         arena_lock into a single arena_get.
26567 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26569         * dl-reloc.c: Inlucde libc-internal.h.
26570         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26571         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26572         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26573         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26574         (grow_heap): Likewise.
26575         * malloc/malloc.c: Include libc-internal.h.
26576         (do_check_malloc): Call powerof2.
26577         (sysmalloc): Use pagesize. Call ALIGN_UP.
26578         (systrim): Use pagesize.
26579         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26580         (__libc_valloc): Use pagesize.
26581         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26583 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26585         [BZ #17991]
26586         * include/sys/resource.h (__getrlimit64): Declare.  Use
26587         libc_hidden_proto.
26588         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26589         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26590         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26591         getrlimit64.
26592         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26593         __getrlimit64.
26594         [!getrlimit64] (getrlimit64): Define as weak alias of
26595         __getrlimit64.  Use libc_hidden_weak.
26596         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26597         using __getrlimit64 not __new_getrlimit64.
26598         (__GI_getrlimit64): Likewise.
26599         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26600         Likewise.
26601         (__GI_getrlimit64): Likewise.
26602         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26604         (getrlimit): Add __getrlimit64 alias.
26605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26606         Likewise.
26607         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26608         Remove variable.
26609         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26610         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26612 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26614         * libio/fileops.c: Add missing sys/mman.h
26615         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26617 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26619         * manual/math.texi (Errors in Math Functions): Clarify goals
26620         regarding inexact and underflow exceptions.
26622 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26624         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26625         * sysdeps/mips/memset.S: Ditto.
26627 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26629         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26631 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26633         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26634         (__v1longjmp): Remove versioned symbol.
26635         (__v1siglongjmp): Remove alias and versioned symbol.
26636         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26637         (__v2siglongjmp): Likewise.
26639 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26641         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26643 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26645         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26647 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26649         [BZ #17987]
26650         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26651         zero result does not depend on the sign resulting from
26652         subtraction.
26653         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26654         Likewise.
26655         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26656         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26657         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26658         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26659         * math/libm-test.inc (remquo_test_data): Add more tests.
26661 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26663         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26664         Problem reported by J William Piggott.
26666 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26668         [BZ #17978]
26669         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26670         products 4 * y and 2 * y where those would overflow.
26671         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26672         Likewise.
26673         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26674         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26675         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26676         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26677         * math/libm-test.inc (remquo_test_data): Add more tests.
26679         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26681         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26682         [defined _COMPILING_NEWLIB].
26683         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26684         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26686         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26687         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26689 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26691         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26692         acquired.
26694 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26696         [BZ #17792]
26697         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26698         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26699         HOST_STACK_END_ADDR): Likewise.
26701 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26703         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26704         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26705         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26707 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26709         * sysdeps/generic/c++-types.data: New file.
26710         * sysdeps/generic/ld.abilist: New file.
26711         * sysdeps/generic/libBrokenLocale.abilist: New file.
26712         * sysdeps/generic/libanl.abilist: New file.
26713         * sysdeps/generic/libc.abilist: New file.
26714         * sysdeps/generic/libcrypt.abilist: New file.
26715         * sysdeps/generic/libdl.abilist: New file.
26716         * sysdeps/generic/libm.abilist: New file.
26717         * sysdeps/generic/libpthread.abilist: New file.
26718         * sysdeps/generic/libresolv.abilist: New file.
26719         * sysdeps/generic/librt.abilist: New file.
26721 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26723         [BZ #17569]
26724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26725         Compute absolute value of x as modified by fmod, not original
26726         value of x.
26727         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26728         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26729         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26730         RUN_TEST_ffI_f1_mod8.
26731         (remquo_test_data): Add more tests.
26733 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26735         * sysdeps/init_array/pt-crti.S: New file.
26737 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26739         [BZ #17967]
26740         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26741         __builtin_fmaf instead of relying on contraction of a * b + c.
26743 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26745         [BZ #17969]
26746         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26747         node.
26749 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26751         [BZ #17964]
26752         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26753         __builtin_fma instead of relying on contraction of a * b + c.
26755 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26757         * Makeconfig (ASFLAGS): Add -Werror=undef.
26758         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26759         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26760         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26762         * Makeconfig (after-link): New variable.
26763         (+link-pie, +link-pie-tests): Use it.
26764         (+link-static, +link-static-tests): Likewise.
26765         (+link, +link-tests): Likewise.
26766         * Makerules (build-module, build-module-asneeded): Likewise.
26767         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26768         Likewise.
26769         * elf/Makefile ($(objpfx)ld.so): Likewise.
26771 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26773         [BZ #17965]
26774         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26775         both struct timeval and struct timespec.
26777 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26779         [BZ #16560]
26780         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26781         and redefine.
26782         (__ieee754_exp2l): Do not multiply small fractional parts by
26783         M_LN2l.
26784         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26785         small argument.
26786         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26787         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26788         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26789         * math/auto-libm-test-in: Add more tests of exp2.
26790         * math/auto-libm-test-out: Regenerated.
26792 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26794         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26795         unaligned path.
26797 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26799         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26800         little endian.
26802 2015-02-12  Andreas Schwab  <schwab@suse.de>
26804         [BZ #15790]
26805         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26806         Filter out elision flags from value returned in kind.
26807         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26808         * nptl/tst-pthread-mutexattr.c: New file.
26810 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26812         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26813         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26814         into gnu-gnu, and update comment to refer to abi-tags.
26816 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26818         [BZ #15467]
26819         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26820         (__sincos): Set errno to EDOM for infinite argument.
26821         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26822         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26823         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26824         (__sincosl): Set errno to EDOM for infinite argument.
26825         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26826         (__sincosl): Set errno to EDOM for infinite argument.
26827         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26828         (__sincosl): Set errno to EDOM for infinite argument.
26829         * math/libm-test.inc (sincos_test_data): Test errno setting.
26831 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26833         * string/strxfrm_l.c: Remove #define STRCMP.
26834         * string/strcoll_l.c: Remove #define STRLEN.
26835         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26836         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26838 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26840         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26841         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26842         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26843         * sysdeps/mips/mips64/Makefile: ... here.
26844         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26845         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26846         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26847         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26848         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26849         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26850         * sysdeps/mips/mips64/n64/Implies: Likewise.
26852 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26854         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26855         <sys/time.h>, <string.h>, and <errno.h>.
26856         (dest_offset, dest_address, value, zero): Remove unused variables.
26857         (ldouble): Remove typedef.
26858         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26859         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26860         1).  Fix code style.
26861         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26862         (check): Function removed.
26863         (CHECK): New macro.
26864         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26865         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26866         Don't call set_sigaction_FP and remove_sigaction_FP here.
26867         (ldouble_test): Just use 'long double' as macro argument, no need for
26868         the 'ldouble' typedef.
26869         (do_test): Set up SIGFPE handler at start, using plain signal rather
26870         than sigaction.  Fix code style.
26872 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26874         [BZ #17949]
26875         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26876         jump label.
26878 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26880         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26881         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26883         * sysdeps/powerpc/configure.ac: Remove file.
26884         * sysdeps/powerpc/configure: Likewise.
26886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26887         [sysdep_routines]: Remove wordcopy-power6 object.
26888         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26889         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26891         (__memmove_ppc32): Likewise.
26892         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26893         file.
26894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26895         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26896         Remove preprocessor.
26898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26899         [sysdep_routines]: Remove wide chars objects.
26900         [wcsmbs]: New rule for wide char objects.
26902         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26903         Remove wordcopy-power6 obejct.
26904         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26905         Use local call for wordcopy and memcpy symbols.
26906         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26907         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26908         implementation for loader.
26909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26911         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26912         Remove wordcopy-power7 object.
26913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26915         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26916         (_wordcopy_fwd_dest_aligned): Likewise.
26917         (_wordcopy_bwd_aligned): Likewise.
26918         (_wordcopy_bwd_dest_aligned): Likewise.
26920         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26921         Rewrite to call __memmove_ppc instead of include default
26922         implementation.
26924         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26925         Remove wide chars objects.
26926         [wcsmbs]: New rule for wide char objects.
26928 2015-02-09  Andreas Schwab  <schwab@suse.de>
26930         [BZ #17912]
26931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26932         in terms of __O_DIRECTORY.
26934 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26936         * time/getdate.c: Include <stdbool.h>.
26937         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26938         call PTR_MANGLE.
26939         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26940         PTR_DEMANGLE.
26942 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26944         Add ersatz _Static_assert on older C hosts
26945         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26946         pre-C11 C platform that is not known to support _Static_assert.
26948 2015-02-07  Richard Braun  <rbraun@sceen.net>
26950         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26951         sigstate.
26952         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26954 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26956         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26957         priority against unexistent AIO_PRIO_DELTA_MAX.
26958         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26959         instead of int.
26960         * misc/fchflags.c (fchflags): Likewise.
26961         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26962         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26963         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26964         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26965         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26966         Declare macros.
26967         [__USE_MISC] (chflags, fchflags): Declare functions.
26968         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26969         EINVAL when nfds is greater than FD_SETSIZE.
26970         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26971         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26972         45.
26973         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26974         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26975         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26976         MACH_RCV_TIMED_OUT.
26977         * hurd/hurd/signal.h (_hurd_self_sigstate,
26978         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26979         Explicit casts from void *.
26980         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26981         * abi-tags: Rename gnu-gnu os into gnu.
26983         [BZ #4719]
26984         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26985         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26986         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26987         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26988         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26989         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26991         [BZ #17944]
26992         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26993         duplicates ADDR->sun_path with sockaddr LEN limitation.
26994         * sysdeps/mach/hurd/connect.c: Include <string.h>
26995         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26996         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26997         * sysdeps/mach/hurd/sendto.c: Likewise.
26998         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26999         implementing it by hand.
27001 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27003         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27004         Use sfi_breg on ldr.
27005         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27006         Likewise.
27008         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27009         it's defined.
27010         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27011         Test SIGSETXID only if it's defined.
27013         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27015         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27016         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27018         * nptl/tst-align2.c: Moved ...
27019         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27020         * nptl/Makefile (tests): Remove tst-align2.
27021         * sysdeps/unix/sysv/linux/Makefile
27022         [$(subdir) = nptl] (tests): Add tst-align-clone.
27023         * nptl/tst-getpid1.c: Moved ...
27024         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27025         * nptl/tst-getpid2.c: Moved ...
27026         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27027         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27028         * sysdeps/unix/sysv/linux/Makefile
27029         [$(subdir) = nptl] (tests): ... here.
27030         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27031         * sysdeps/unix/sysv/linux/Makefile
27032         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27034         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27035         Drop trailing \n from perror argument.  Use return rather than exit.
27037         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27038         on [SA_SIGINFO].
27039         * nptl/tst-cancel21.c (do_test): Likewise.
27040         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27041         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27042         [!SA_SIGINFO]: Make it a stub test.
27044         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27045         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27047         * posix/tst-getlogin.c: Move to ...
27048         * login/tst-getlogin.c: ... here.
27049         * posix/Makefile (tests): Move tst-getlogin to ...
27050         * login/Makefile (tests): ... here.
27052         * libio/tst-atime.c (do_test): Move local variables SV and E
27053         inside [ST_NOATIME] conditional.
27055         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27057         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27059         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27060         (wait_code): New function replaces macro.
27061         Call nanosleep rather than syscall.
27063         * nptl/pt-system.c: Rewritten.  Put everything under
27064         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27065         Use IFUNC to redirect when possible.
27067         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27068         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27069         Use IFUNC to redirect when possible.
27071         * nptl/pt-fork.c: Rewritten.  Put everything under
27072         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27073         Use IFUNC to redirect when possible.
27074         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27077         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27078         unconditionally nowadays.  This included the only reference to
27079         __vdso_clock_gettime that appears outside libc proper.
27080         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27081         Remove version set (containing only __vdso_clock_gettime).
27082         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27083         Add attribute_hidden.
27084         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27085         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27086         libc_hidden_data_def.
27087         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27088         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27090         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27091         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27092         setrpcent, and getrpcport to ...
27093         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27094         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27095         getrpcbynumber_r, and getrpcent_r to ...
27096         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27097         * inet/getrpcbyname.c: Moved ...
27098         * sunrpc/getrpcbyname.c: ... here.
27099         * inet/getrpcbyname_r.c: Moved ...
27100         * sunrpc/getrpcbyname_r.c: ... here.
27101         * inet/getrpcbynumber.c: Moved ...
27102         * sunrpc/getrpcbynumber.c: ... here.
27103         * inet/getrpcbynumber_r.c: Moved ...
27104         * sunrpc/getrpcbynumber_r.c: ... here.
27105         * inet/getrpcent.c: Moved ...
27106         * sunrpc/getrpcent.c: ... here.
27107         * inet/getrpcent_r.c: Moved ...
27108         * sunrpc/getrpcent_r.c: ... here.
27109         * inet/Makefile (routines): Move those to ...
27110         * sunrpc/Makefile (routines): ... here.
27111         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27112         the $(subdirs) list.
27113         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27114         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27115         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27116         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27118         * elf/Makefile (routines): Include $(all-dl-routines), not just
27119         $(dl-routines).
27120         (rtld-routines): Likewise.  Use = rather than :=.
27121         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27122         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27123         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27124         * sysdeps/arm/Makefile: Likewise.
27125         * sysdeps/i386/Makefile: Likewise.
27126         * sysdeps/x86_64/Makefile: Likewise.
27127         * sysdeps/hppa/Makefile [$(subdir) = elf]
27128         (sysdep_routines, sysdep-rtld-routines): Don't add
27129         $(sysdep-dl-routines) to these.
27130         * sysdeps/ia64/Makefile: Likewise.
27131         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27132         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27133         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27134         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27135         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27136         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27137         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27138         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27139         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27140         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27141         these; sysdep-dl-routines alone is enough.
27143 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27145         [BZ #17932]
27146         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27147         where multiplication results in zero and third argument is finite
27148         and nonzero.
27149         * math/auto-libm-test-in: Add more tests of fma.
27150         * math/auto-libm-test-out: Regenerated.
27152         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27153         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27154         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27155         (_FP_CMP_EQ): Likewise.
27156         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27158         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27159         extra argument CHECK_NAN.  Redefine as wrapper around
27160         _FP_EXTEND_CNAN.
27162 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27164         * version.h (RELEASE): Set to "stable".
27165         (VERSION): Set to "2.21"
27166         * include/features.h (__GLIBC_MINOR__): Set to 21.
27168         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27170 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27171             Paul Eggert  <eggert@cs.ucla.edu>
27173         [BZ #16618]
27174         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27175         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27176         size in bytes. Store needed elements in wpmax. Use needed size
27177         in bytes for extend_alloca.
27179 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27181         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27182         binutls 2.25, and texinfo 5.2.
27183         * INSTALL: Regenerate.
27184         * sysdeps/nios2/configure: Regenerate.
27185         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27186         * manual/contrib.texi: Update.
27187         * po/be.po: Update.
27188         * po/bg.po: Update.
27189         * po/ca.po: Update.
27190         * po/cs.po: Update.
27191         * po/da.po: Update.
27192         * po/de.po: Update.
27193         * po/el.po: Update.
27194         * po/eo.po: Update.
27195         * po/es.po: Update.
27196         * po/fi.po: Update.
27197         * po/fr.po: Update.
27198         * po/gl.po: Update.
27199         * po/hr.po: Update.
27200         * po/hu.po: Update.
27201         * po/ia.po: Update.
27202         * po/id.po: Update.
27203         * po/it.po: Update.
27204         * po/ja.po: Update.
27205         * po/ko.po: Update.
27206         * po/lt.po: Update.
27207         * po/nb.po: Update.
27208         * po/nl.po: Update.
27209         * po/pl.po: Update.
27210         * po/pt_BR.po: Update.
27211         * po/ru.po: Update.
27212         * po/rw.po: Update.
27213         * po/sk.po: Update.
27214         * po/sl.po: Update.
27215         * po/sv.po: Update.
27216         * po/tr.po: Update.
27217         * po/uk.po: Update.
27218         * po/vi.po: Update.
27219         * po/zh_CN.po: Update.
27220         * po/zh_TW.po: Update.
27222         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27223         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27224         * sysdeps/hppa/dl-irel.h: Remove #warning.
27225         * sysdeps/hppa/entry.h: Provide prototype for
27226         __canonicalize_funcptr_for_compare and cast argument.
27227         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27228         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27229         * sysdeps/hppa/sotruss-lib.c: New file.
27230         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27231         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27232         (atomic_compare_and_exchange_bool_acq): Likewise.
27233         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27234         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27236         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27237         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27238         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27240 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27242         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27243         called function in non-PIC case.
27245 2015-01-31  David S. Miller  <davem@davemloft.net>
27247         * sysdeps/sparc/sparc32/bits/atomic.h
27248         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27249         unlock not after it.
27250         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27251         volatile register usage warnings from the compiler.
27253         * sysdeps/sparc/nptl/sem_init.c: Delete.
27254         * sysdeps/sparc/nptl/sem_post.c: Delete.
27255         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27256         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27257         * sysdeps/sparc/sparc32/sem_init.c: New file.
27258         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27259         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27260         padding explicitly initialized.
27261         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27262         padding for in-semaphore spinlock.
27263         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27264         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27265         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27266         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27267         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27268         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27269         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27270         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27271         version.
27272         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27273         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27275 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27277         [BZ #17801]
27278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27279         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27280         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27281         New.
27282         (index_AVX_Fast_Unaligned_Load): Likewise.
27283         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27284         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27285         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27286         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27287         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27288         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27289         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27290         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27291         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27293 2015-01-29  Andreas Schwab  <schwab@suse.de>
27295         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27297 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27299         [BZ #17892]
27300         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27302 2015-01-28  Martin Sebor  <msebor@redhat.com>
27304         * math/README.libm-test: Clarify. Add "How to read the test output."
27306 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27308         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27309         Define to 0.
27311 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27313         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27314         (__HAVE_64B_ATOMICS): Define to 0.
27316 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27318         [BZ #17885]
27319         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27320         value to set as new flag.
27322         [BZ #16576]
27323         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27324         and use _ARCH_PPCSQ instead.
27325         (__ieee754_sqrt): Likewise.
27326         (__ieee754_sqrtf): Likewise.
27327         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27328         _ARCH_PPCSQ is defined.
27329         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27330         fsqrt instruction.
27331         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27332         _ARCH_PPCSQ is defined.
27333         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27334         fsqrts instruction.
27335         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27337 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27339         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27340         bug (GCC BZ #64739).
27342 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27344         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27345         Mark _retval as used.
27346         (lll_futex_wake_unlock): Likewise.
27347         (lll_futex_timed_wait_requeue_pi): Likewise.
27349         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27350         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27351         register variables.
27353         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27354         libm_hidden_def.
27356         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27357         (__bswap_64): Mark as __always_inline.
27359 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27361         [BZ #15378]
27362         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27363         when none of the search directories exist.
27365 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27367         [BZ #17869]
27368         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27369         power8 in .machine directive.
27371         [BZ #17868]
27372         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27373         set dependency from opd value.
27375 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27378         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27379         architecture.
27381 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27383         [BZ #17870]
27384         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27385         with uint64_t.
27386         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27387         (uint64_t) 1.
27388         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27389         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27390         Replace 1UL with (uint64_t) 1.
27391         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27392         int with uint64_t.
27394 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27396         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27397         (if_freenameindex): Likewise.
27399         * resource/getrlimit64.c: Add missing libc_hidden_def.
27401 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27403         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27404         __label__.
27405         (_FP_FMA): Likewise.
27406         (_FP_TO_INT_ROUND): Likewise.
27407         (_FP_FROM_INT): Likewise.
27409 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27411         [BZ #16418]
27412         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27413         Make code racy and cancel safe.
27415 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27417         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27418         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27419         attribution.
27421         * pwd/tst-getpw.c: Rewrite.
27423         [BZ #17702]
27424         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27425         (modules-names): Add moddummy1 and moddummy2.
27426         ($(objpfx)tst-rec-dlopen): Define.
27427         * dlfcn/moddummy1.c: New file.
27428         * dlfcn/moddummy2.c: New file.
27429         * dlfcn/tst-rec-dlopen.c: New file.
27430         * elf/dl-cache.c (_dl_load_cache_lookup):
27431         Return char*. Copy result with alloca/strcpy/strdup.
27432         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27433         returns char*. Free cached. If not saving realname
27434         free cached.
27435         * elf/dl-open.c (dl_open_worker): Do not assert that
27436         _r_debug->r_state is RT_CONSISTENT.
27437         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27438         returns char*.
27440 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27441             Carlos O'Donell  <carlos@redhat.com>
27443         [BZ #12674]
27444         * nptl/sem_waitcommon.c: New file.
27445         * nptl/sem_wait.c: Include sem_waitcommon.c.
27446         (__sem_wait_cleanup, do_futex_wait): Remove.
27447         (__new_sem_wait): Adapt.
27448         (__new_sem_trywait): New function.
27449         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27450         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27451         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27452         (sem_timedwait): Adapt.
27453         * nptl/sem_post.c (__new_sem_post): Adapt.
27454         (futex_wake): New function.
27455         (__old_sem_post): Add release MO fence.
27456         * nptl/sem_open.c (sem_open): Adapt.
27457         * nptl/sem_init.c (__new_sem_init): Adapt.
27458         (futex_private_if_supported): New function.
27459         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27460         (__old_sem_getvalue): Add using previous code.
27461         * sysdeps/nptl/internaltypes.h: Adapt.
27462         * nptl/tst-sem13.c (do_test): Adapt.
27463         * nptl/tst-sem11.c (main): Adapt.
27464         * nptl/sem_trywait.c: Remove.
27465         * nptl/DESIGN-sem.txt: Remove.
27466         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27467         (gen-as-const-headers): Remove structsem.sym.
27468         * nptl/structsem.sym: Remove.
27469         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27470         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27471         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27472         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27473         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27474         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27475         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27476         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27477         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27478         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27479         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27480         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27481         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27482         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27483         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27484         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27485         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27486         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27487         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27488         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27489         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27490         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27492 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27494         * INSTALL: Regenerated.
27496         * po/libc.pot: Regenerated.
27498 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27499             Sandra Loosemore  <sandra@codesourcery.com>
27500             Andrew Jenner  <andrew@codesourcery.com>
27501             Joseph Myers  <joseph@codesourcery.com>
27502             Nathan Sidwell  <nathan@codesourcery.com>
27504         * NEWS: Mention new Nios II port.
27505         * sysdeps/nios2/Implies: New file.
27506         * sysdeps/nios2/Makefile: New file.
27507         * sysdeps/nios2/Subdirs: New file.
27508         * sysdeps/nios2/Versions: New file.
27509         * sysdeps/nios2/__longjmp.S: New file.
27510         * sysdeps/nios2/abort-instr.h: New file.
27511         * sysdeps/nios2/backtrace.c: New file.
27512         * sysdeps/nios2/bits/endian.h: New file.
27513         * sysdeps/nios2/bits/fenv.h: New file.
27514         * sysdeps/nios2/bits/link.h: New file.
27515         * sysdeps/nios2/bits/setjmp.h: New file.
27516         * sysdeps/nios2/bsd-_setjmp.S: New file.
27517         * sysdeps/nios2/bsd-setjmp.S: New file.
27518         * sysdeps/nios2/configure: New generated file.
27519         * sysdeps/nios2/configure.ac: New file.
27520         * sysdeps/nios2/crti.S: New file.
27521         * sysdeps/nios2/crtn.S: New file.
27522         * sysdeps/nios2/dl-init.c: New file.
27523         * sysdeps/nios2/dl-machine.h: New file.
27524         * sysdeps/nios2/dl-sysdep.h: New file.
27525         * sysdeps/nios2/dl-tls.h: New file.
27526         * sysdeps/nios2/dl-trampoline.S: New file.
27527         * sysdeps/nios2/gccframe.h: New file.
27528         * sysdeps/nios2/gmp-mparam.h: New file.
27529         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27530         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27531         * sysdeps/nios2/ldsodefs.h: New file.
27532         * sysdeps/nios2/libc-tls.c: New file.
27533         * sysdeps/nios2/libm-test-ulps: New file.
27534         * sysdeps/nios2/machine-gmon.h: New file.
27535         * sysdeps/nios2/math-tests.h: New file.
27536         * sysdeps/nios2/math_private.h: New file.
27537         * sysdeps/nios2/memusage.h: New file.
27538         * sysdeps/nios2/nptl/Makefile: New file.
27539         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27540         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27541         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27542         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27543         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27544         * sysdeps/nios2/nptl/tls.h: New file.
27545         * sysdeps/nios2/preconfigure: New file.
27546         * sysdeps/nios2/s_fma.c: New file.
27547         * sysdeps/nios2/s_fmaf.c: New file.
27548         * sysdeps/nios2/setjmp.S: New file.
27549         * sysdeps/nios2/sfp-machine.h: New file.
27550         * sysdeps/nios2/sotruss-lib.c: New file.
27551         * sysdeps/nios2/stackguard-macros.h: New file.
27552         * sysdeps/nios2/stackinfo.h: New file.
27553         * sysdeps/nios2/start.S: New file.
27554         * sysdeps/nios2/sysdep.h: New file.
27555         * sysdeps/nios2/tls-macros.h: New file.
27556         * sysdeps/nios2/tst-audit.h: New file.
27557         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27558         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27559         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27560         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27561         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27562         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27563         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27564         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27565         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27566         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27567         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27568         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27569         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27570         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27571         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27572         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27573         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27574         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27575         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27576         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27577         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27578         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27579         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27580         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27581         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27582         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27583         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27584         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27585         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27586         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27587         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27588         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27589         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27590         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27591         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27592         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27593         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27594         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27595         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27596         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27597         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27598         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27599         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27600         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27602 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27604         [BZ #17844]
27605         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27606         (getutent): Use weak_alias in non SHARED case
27607         and default_symbol_version in SHARED case.
27608         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27609         (getutent_r, pututline): Likewise.
27610         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27611         (getutid): Likewise.
27612         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27613         (getutid_r): Likewise.
27614         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27615         (getutline): Likewise.
27616         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27617         (getutline_r): Likewise.
27618         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27619         (updwtmp): Likewise.
27621 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27623         [BZ #17848]
27624         * sysdeps/s390/s390-32/memcmp.S
27625         (memcmp_g5): Rename to __memcmp_g5.
27626         * sysdeps/s390/s390-32/memcpy.S
27627         (memcpy_g5): Rename to __memcpy_g5.
27628         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27629         (memcpy_mvcle) Rename to __memcpy_mvcle.
27630         * sysdeps/s390/s390-32/memset.S
27631         (memset_g5): Rename to __memset_g5.
27632         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27633         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27634         and use prefixed functions.
27635         * sysdeps/s390/s390-32/multiarch/memcmp.S
27636         (memcmp_z196): Rename to __memcmp_z196.
27637         (memcmp_z10): Rename to __memcmp_z10.
27638         (memcmp): Set alias to __memcmp_g5.
27639         (bcmp): Set alias to __memcmp_g5.
27640         * sysdeps/s390/s390-32/multiarch/memcpy.S
27641         (memcpy_z196): Rename to __memcpy_z196.
27642         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27643         (memcpy_z10): Rename to __memcpy_z10.
27644         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27645         (memcpy): Set alias to __memcpy_g5.
27646         * sysdeps/s390/s390-32/multiarch/memset.S
27647         (memset_z196): Rename to __memset_z196.
27648         Jump to __memset_mvcle instead of memset_mvcle.
27649         (memset_z10): Rename to __memset_z10.
27650         Jump to __memset_mvcle instead of memset_mvcle.
27651         (memset_mvcle) Rename to __memset_mvcle.
27652         (memset): Set alias to __memset_g5.
27653         * sysdeps/s390/s390-64/memcmp.S
27654         (memcmp_z900): Rename to __memcmp_z900.
27655         * sysdeps/s390/s390-64/memcpy.S
27656         (memcpy_z900): Rename to __memcpy_z900.
27657         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27658         (memcpy_mvcle) Rename to __memcpy_mvcle.
27659         * sysdeps/s390/s390-64/memset.S
27660         (memset_z900): Rename to __memset_z900.
27661         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27662         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27663         and use prefixed functions.
27664         * sysdeps/s390/s390-64/multiarch/memcmp.S
27665         (memcmp_z196): Rename to __memcmp_z196.
27666         (memcmp_z10): Rename to __memcmp_z10.
27667         (memcmp): Set alias to __memcmp_z900.
27668         (bcmp): Set alias to __memcmp_z900.
27669         * sysdeps/s390/s390-64/multiarch/memcpy.S
27670         (memcpy_z196): Rename to __memcpy_z196.
27671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27672         (memcpy_z10): Rename to __memcpy_z10.
27673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27674         (memcpy): Set alias to __memcpy_z900.
27675         * sysdeps/s390/s390-64/multiarch/memset.S
27676         (memset_z196): Rename to __memset_z196.
27677         Jump to __memset_mvcle instead of memset_mvcle.
27678         (memset_z10): Rename to __memset_z10.
27679         Jump to __memset_mvcle instead of memset_mvcle.
27680         (memset_mvcle) Rename to __memset_mvcle.
27681         (memset): Set alias to __memset_z900.
27683 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27685         [BZ #17748]
27686         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27687         __fesetenv instead of fesetenv.
27689 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27691         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27692         macro.
27694 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27696         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27697         regression on LE.
27699         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27700         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27702         strncmp-power8 object.
27703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27704         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27705         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27706         * NEWS: Update.
27708 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27709             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27711         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27712         trailing byte check.
27714 2015-01-13  David S. Miller  <davem@davemloft.net>
27716         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27718 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27720         * login/logout.c (logout): Use memset rather than bzero.
27721         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27722         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27723         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27724         (_gethtbyaddr): Likewise.
27725         * locale/programs/simple-hash.c (bcopy): Macro removed.
27727 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27729         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27730         Add strcmp-power8 object.
27731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27732         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27734         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27735         __strcmp_power8 implementation.
27736         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27737         * NEWS: Update.
27739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27740         Add strncpy-power8 and stpncpy-power8 objects.
27741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27742         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27743         implementations.
27744         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27745         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27746         __stpncpy_power8 implementation.
27747         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27748         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27749         __strncpy_power8 implementation.
27750         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27751         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27752         * NEWS: Update.
27754         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27755         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27756         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27759         strncat-power8 object.
27760         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27761         __strcat_power8 implementation.
27762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27763         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27764         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27765         optimized strcat for power8.
27767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27768         strcpy-power8 and stpcpy-power8 objects.
27769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27770         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27771         implementations.
27772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27773         multiarch stpcpy implementation for POWER8.
27774         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27775         multiarch strcpy implementation for POWER8.
27776         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27777         __strcpy_power8 function.
27778         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27779         stpcpy for POWER8.
27780         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27781         strcpy for POWER8.
27782         * NEWS: Update.
27784 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27786         [BZ #16009]
27787         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27788         weights and rules. Use do_xfrm_cached if data fits in cache,
27789         do_xfrm otherwise.  Moved former main loop to...
27790         * (do_xfrm_cached): New function.
27791         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27792         find_idx, find_position and stack_push.
27793         * (find_idx): New function.
27794         * (find_position): Likewise.
27795         * localedata/sort-test.sh: Added test run for do_xfrm.
27796         * localedata/xfrm-test.c (main): Added command line option
27797         -nocache to run the test with strings that are too large for
27798         the STRXFRM cache.
27800 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27802         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27803         variable to lll_futex_wake call, not the value itself.
27805 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27807         [BZ #17803]
27808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27809         twom64.  Adjust value to 0x1p-64L.
27810         (__scalblnl): Only return standard underflowing result for K <=
27811         -64 not K <= -63; adjust exponent for underflowing result by 64
27812         not 63.
27813         * math/libm-test.inc (scalbn_test_data): Add more tests.
27814         (scalbln_test_data): Likewise.
27816         [BZ #17834]
27817         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27818         0x1p63L.
27819         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27820         not HX.
27821         * math/libm-test.inc (scalbn_test_data): Add more tests.
27822         (scalbln_test_data): Likewise.
27824 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27825             Stefani Seibold  <stefani@seibold.net>
27827         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27828         (sysdep_routines): Add dl-vdso here, ...
27829         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27830         (sysdep_routines): ... not here.
27831         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27832         fallback when vDSO is not presented.
27833         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27834         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27835         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27836         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27837         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27838         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27839         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27840         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27841         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27842         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27843         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27844         fallback configurable symbol when vDSO is not available.
27845         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27846         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27847         be able to redefine fallback symbol when vDSO is not available.
27848         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27849         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27851 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27853         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27854         (TLS_INIT_TP): Add tm_capable initialization.
27855         (TLS_DEFINE_INIT_TP): Likewise.
27856         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27857         TCB.
27858         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27859         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27860         calculation.
27861         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27862         transactoion is lock elision is built and TCB tm_capable is set.
27863         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27865         (INTERNAL_SYSCALL_NCS): Likewise.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27867         (INTERNAL_SYSCALL_NCS): Likewise.
27868         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27870         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27871         for powerpc.
27872         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27873         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27874         and remove it for 32 bits case.
27875         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27877         initialization.
27878         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27879         Disable lock elision with rdlocks if elision is not available.
27881         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27882         (sysdep_routines): Add lock elision objects.
27883         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27884         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27885         [pthread_mutex_t] (__elision): Add field.
27886         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27887         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27888         elision definitions for powerpc.
27889         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27890         implementation of lock elision for powerpc.
27891         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27892         implementation of timed lock elision for powerpc.
27893         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27894         implementation of trylock with lock elision for powerpc.
27895         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27896         implementaion of unlock for lock elision for powerpc.
27897         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27898         automatic enable lock elision for mutexes.
27899         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27900         transaction execution definitions for powerpc.
27901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27902         definitions.
27903         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27904         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27905         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27906         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27907         * NEWS: Update.
27909 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27911         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27912         for #include of <shm-directory.h>.
27914 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27917         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27919 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27921         [BZ #17791]
27922         * NEWS: Mention bug fix.
27923         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27924         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27925         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27927 2015-01-09  Torvald Riegel <triegel@redhat.com>
27929         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27931 2015-01-09  Torvald Riegel <triegel@redhat.com>
27933         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27935 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27937         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27938         pointer and cast to uintptr_t.
27940 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27942         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27943         removed.
27944         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27946 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27948         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27949         of 0.
27951 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27953         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27954         <nptl/pthreadP.h> instead.
27955         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27957         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27958         already defined.
27959         [__SIGRTMIN] (init): Function removed.
27960         [__SIGRTMIN] (initialized): Variable removed.
27961         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27962         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27963         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27964         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27965         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27966         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27967         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27968         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27969         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27970         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27971         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27972         * sysdeps/nptl/allocrtsig.c: New file.
27973         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27974         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27975         * sysdeps/generic/testrtsig.h: File removed.
27977         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27978         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27980         * nptl/nptl-init.c (pthread_functions): Conditionalize
27981         .ptr__nptl_setxid initialization on [SIGSETXID].
27983         * sysdeps/nptl/sys/procfs.h: New file.
27984         * nptl_db/Makefile (headers): Add it.
27985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27987         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27988         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27989         * nptl/pthread_attr_setaffinity.c: Include it.
27990         * nptl/pthread_setattr_default_np.c: Likewise.
27991         * nptl/check-cpuset.h: New file.
27993 2015-01-08  Richard Henderson  <rth@redhat.com>
27995         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27996         (CFLAGS-tst-execstack-prog.c): Likewise.
27997         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27999 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28000             Sandra Loosemore  <sandra@codesourcery.com>
28001             Andrew Jenner  <andrew@codesourcery.com>
28002             Joseph Myers  <joseph@codesourcery.com>
28003             Nathan Sidwell  <nathan@codesourcery.com>
28005         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28006         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28007         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28008         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28009         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28010         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28011         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28012         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28013         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28014         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28015         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28016         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28017         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28018         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28019         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28020         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28021         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28023 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28025         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28026         timespec struct member in syscall macro.
28027         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28028         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28029         first timeval struct member in syscall macro.
28030         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28032 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28034         [BZ #17748]
28035         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28036         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28037         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28038         __feupdateenv and define as weak alias of __feupdateenv.  Use
28039         libm_hidden_weak.
28040         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28041         libm_hidden_def.
28042         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28043         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28044         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28045         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28046         libm_hidden_def.
28047         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28048         __feupdateenv and define as weak alias of __feupdateenv.  Use
28049         libm_hidden_weak.
28050         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28051         libm_hidden_def.
28052         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28053         __feupdateenv and define as weak alias of __feupdateenv.  Use
28054         libm_hidden_weak.
28055         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28056         libm_hidden_def.
28057         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28058         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28059         (__feupdateenv): Likewise.
28060         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28061         __feupdateenv and define as weak alias of __feupdateenv.  Use
28062         libm_hidden_weak.
28063         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28064         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28065         libm_hidden_def.
28066         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28067         function.
28068         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28069         libm_hidden_def.
28070         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28071         __feupdateenv instead of feupdateenv.
28072         (default_libc_feupdateenv_test): Likewise.
28073         (libc_feresetround_ctx): Likewise.
28075 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28077         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28078         prototype.
28080 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28082         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28083         COLL_SYM in a couple of places to avoid uninitialized variable
28084         wanings on tilegx gcc 4.8.2.
28086 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28088         * sysdeps/aarch64/strcpy.S: New file.
28089         * sysdeps/aarch64/stpcpy.S: New file.
28090         * NEWS: Updated.
28092 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28094         * sysdeps/aarch64/strrchr.S: New file.
28095         * NEWS: Updated.
28097 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28099         [BZ #17658]
28100         * stdlib/setenv.c: Fix memory leak when setting large,
28101         duplicate string.
28103 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28105         [BZ #17273]
28106         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28107         and tabs from buffer before parsing fstab entry.
28108         * misc/tst-mntent.c (main): Add test for mount entry with
28109         trailing spaces and tabs.
28111 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28113         [BZ #17748]
28114         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28115         * math/fesetround.c (fesetround): Rename to __fesetround and
28116         define as weak alias of __fesetround.  Use libm_hidden_weak.
28117         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28118         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28119         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28120         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28121         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28122         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28123         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28124         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28125         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28126         __fesetround_inline.
28127         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28128         __fesetround_inline instead of __fesetround.
28129         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28130         __fesetround and define as weak alias of __fesetround.  Use
28131         libm_hidden_weak.  Call __fesetround_inline instead of
28132         __fesetround.
28133         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28134         __fesetround and define as weak alias of __fesetround.  Use
28135         libm_hidden_weak.
28136         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28137         Likewise.
28138         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28139         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28140         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28141         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28142         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28143         __fesetround and define as weak alias of __fesetround.  Use
28144         libm_hidden_weak.
28145         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28146         __fesetround instead of fesetround.
28147         (default_libc_feholdexcept_setround): Likewise.
28148         (libc_feholdsetround_ctx): Likewise.
28149         (libc_feholdsetround_noex_ctx): Likewise.
28151         [BZ #17748]
28152         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28153         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28154         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28155         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28156         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28157         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28158         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28159         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28160         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28161         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28162         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28163         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28164         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28165         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28166         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28167         libm_hidden_def.
28168         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28169         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28170         Likewise.
28171         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28173         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28174         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28175         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28176         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28177         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28178         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28179         __fesetenv instead of fesetenv.
28180         (libc_feresetround_noex_ctx): Likewise.
28181         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28182         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28183         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28184         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28185         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28186         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28188         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28189         (__feupdateenv): Likewise.
28190         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28191         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28192         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28193         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28195 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28197         [BZ #17806]
28198         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28199         addresses have been freed.
28201 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28203         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28204         and nservall.
28206 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28208         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28209         Clean up check_pf allocation pattern. addresses
28211 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28213         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28214         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28215         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28216         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28217         * nptl/pthread_join.c (pthread_join): Likewise.
28218         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28219         * sysdeps/posix/waitid.c (__waitid): Likewise.
28220         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28221         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28222         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28223         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28225         Likewise.
28226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28227         (__libc_pread64): Likewise.
28228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28229         (__libc_pwrite): Likewise.
28230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28231         (__libc_pwrite64): Likewsie.
28232         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28233         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28234         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28235         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28236         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28237         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28238         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28240         Likewise.
28241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28242         (__libc_pread64): Likewise.
28243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28244         Likewise.
28245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28246         (__libc_pwrite64): Likewise.
28247         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28248         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28249         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28250         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28251         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28252         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28253         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28254         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28255         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28256         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28257         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28258         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28259         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28260         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28261         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28262         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28263         Likewise.
28265 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28267         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28268         (CFLAGS-test-double.c): Likewise.
28269         (CFLAGS-test-ldouble.c): Likewise.
28270         (CPPFLAGS-test-ifloat.c): Likewise.
28271         (CPPFLAGS-test-idouble.c): Likewise.
28272         (CPPFLAGS-test-ildoubl.c): Likewise.
28273         (CFLAGS-test-test-fenv.c): Remove variable.
28274         (CFLAGS-test-misc.c): Likewise.
28276 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28278         [BZ #17797]
28279         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28280         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28281         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28282         CLOCKS_PER_SEC == 1000000.
28283         * time/clocktest.c (main): Replace %ld with %jd and cast to
28284         intmax_t.
28286 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28288         * sysdeps/generic/unwind-resume.h: New file.
28289         * sysdeps/gnu/unwind-resume.c: Include it.
28290         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28291         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28292         argument list.
28293         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28294         global rather than static.
28295         (_Unwind_Resume): Update user.
28296         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28297         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28298         rather than static.  Add __attribute__ ((cold)).
28299         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28300         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28301         * sysdeps/arm/arm-unwind-resume.S: New file.
28302         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28303         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28304         * sysdeps/arm/Makefile [$(subdir) = csu]
28305         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28306         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28307         Add rt-arm-unwind-resume.
28308         [$(subdir) = nptl]
28309         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28310         Add pt-arm-unwind-resume.
28311         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28312         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28314 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28316         [BZ #17748]
28317         * include/fenv.h (__feholdexcept): Declare.  Use
28318         libm_hidden_proto.
28319         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28320         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28321         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28322         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28323         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28324         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28325         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28326         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28327         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28328         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28329         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28330         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28331         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28332         (feholdexcept): Likewise.
28333         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28334         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28335         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28336         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28337         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28338         __feholdexcept instead of feholdexcept.
28339         (default_libc_feholdexcept_setround): Likewise.
28341 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28343         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28344         to avoid using stl/str to align destination.
28346 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28348         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28350 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28352         [BZ #17796]
28353         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28354         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28355         Define as weak alias not strong alias.
28357 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28359         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28360         bltzal with addiupc.
28361         (RTLD_START): Ditto.
28363 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28365         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28366         for __vdso_* functions in declarations.
28367         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28368         definitions.
28369         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28370         INTERNAL_VSYSCALL): Use struct return types to check for error.
28372         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28373         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28374         function with cast from llround().
28375         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28376         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28377         Define.
28379 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28381         [BZ #17793]
28382         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28383         Define as weak alias not strong alias.
28385         [BZ #17635]
28386         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28387         ...
28388         * ctype/ctype-extn.c: ... here.
28389         (__isblank_l): Move to ...
28390         * ctype/ctype-c99_l.c: ... here.  New file.
28391         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28392         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28393         Remove variable.
28394         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28395         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28396         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28397         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28398         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28400         [BZ #17777]
28401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28402         (posix_fadvise64): Define as weak alias not strong alias.
28403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28404         (posix_fallocate64): Likewise.
28405         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28406         Remove variable.
28407         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28408         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28409         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28410         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28411         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28413 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28415         [BZ #16191]
28416         * NEWS: Mention bug fix.
28417         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28418         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28419         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28420         (HOST_STACK_END_ADDR): Likewise.
28422 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28424         [BZ #17748]
28425         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28426         * math/fegetround.c (fegetround): Rename to __fegetround and
28427         define as weak alias of __fegetround.  Use libm_hidden_weak.
28428         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28429         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28430         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28431         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28432         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28433         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28434         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28435         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28436         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28437         Undefine after rather than before function definition; use
28438         parentheses around function name in definition.
28439         (__fegetround): Also undefine macro after function definition.
28440         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28441         __fegetround and define as weak alias of __fegetround.  Use
28442         libm_hidden_weak.  Do not undefine as macro.
28443         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28444         Likewise.
28445         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28446         __fegetround and define as weak alias of __fegetround.  Use
28447         libm_hidden_weak.
28448         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28449         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28450         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28451         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28452         __fegetround and define as weak alias of __fegetround.  Use
28453         libm_hidden_weak.
28454         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28455         __fegetround instead of fegetround.
28457         [BZ #17782]
28458         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28459         Condition macro definition on [__USE_MISC].
28461         [BZ #17781]
28462         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28463         (struct sigaction): Change type of sa_flags field to int.
28465         [BZ #17780]
28466         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28467         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28468         __glibc_reserved0.
28470         * nptl/version.c (banner): Use single year in copyright notice.
28472         * NEWS: Update copyright dates.
28473         * catgets/gencat.c (print_version): Likewise.
28474         * csu/version.c (banner): Likewise.
28475         * debug/catchsegv.sh: Likewise.
28476         * debug/pcprofiledump.c (print_version): Likewise.
28477         * debug/xtrace.sh (do_version): Likewise.
28478         * elf/ldconfig.c (print_version): Likewise.
28479         * elf/ldd.bash.in: Likewise.
28480         * elf/pldd.c (print_version): Likewise.
28481         * elf/sotruss.sh: Likewise.
28482         * elf/sprof.c (print_version): Likewise.
28483         * iconv/iconv_prog.c (print_version): Likewise.
28484         * iconv/iconvconfig.c (print_version): Likewise.
28485         * locale/programs/locale.c (print_version): Likewise.
28486         * locale/programs/localedef.c (print_version): Likewise.
28487         * login/programs/pt_chown.c (print_version): Likewise.
28488         * malloc/memusage.sh (do_version): Likewise.
28489         * malloc/memusagestat.c (print_version): Likewise.
28490         * malloc/mtrace.pl: Likewise.
28491         * manual/libc.texinfo: Likewise.
28492         * nptl/version.c (banner): Likewise.
28493         * nscd/nscd.c (print_version): Likewise.
28494         * nss/getent.c (print_version): Likewise.
28495         * nss/makedb.c (print_version): Likewise.
28496         * posix/getconf.c (main): Likewise.
28497         * scripts/test-installation.pl: Likewise.
28498         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28500 2015-01-02  Will Newton  <will.newton@linaro.org>
28502         * sysdeps/arm/armv7/configure: Removed.
28503         * sysdeps/arm/armv7/configure.ac: Likewise.
28505 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28507         * All files with FSF copyright notices: Update copyright dates
28508         using scripts/update-copyrights.
28509         * intl/plural.c: Regenerated.
28510         * locale/programs/charmap-kw.h: Likewise.
28511         * locale/programs/locfile-kw.h: Likewise.
28513 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28515         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28517 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #17748]
28520         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28521         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28522         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28523         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28524         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28525         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28526         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28527         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28528         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28529         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28530         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28531         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28532         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28533         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28534         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28535         libm_hidden_def.
28536         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28538         Likewise.
28539         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28541         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28542         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28543         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28544         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28545         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28546         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28547         __fegetenv instead of fegetenv.
28548         (libc_feholdsetround_noex_ctx): Likewise.
28550 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28552         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28553         (Elf_MIPS_ABIFlags_v0): New structure.
28554         (EF_MIPS_FP64): Define.
28555         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28556         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28557         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28558         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28559         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28560         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28561         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28562         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28563         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28564         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28565         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28566         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28567         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28568         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28569         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28570         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28571         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28572         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28573         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28574         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28575         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28576         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28577         field.
28578         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28579         EF_MIPS_FP64.
28580         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28581         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28582         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28583         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28584         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28585         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28586         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28587         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28588         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28589         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28590         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28591         record the current FP ABI extension.
28592         (mips-mode-switch): Define to show if kernel headers support mode
28593         switching.
28594         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28595         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28596         supported SYSV ABI version to 3.
28597         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28598         feature.
28600 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28603         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28604         path.
28605         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28607 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28609         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28610         __fegetround and redefine to call __fegetround.  Remove condition
28611         on [!__NO_MATH_INLINES].
28612         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28613         function.
28614         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28615         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28616         Remove macro.
28617         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28618         instead of <fenv_libc.h>.
28619         (__llrintl): Call fegetround instead of __fegetround.
28620         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28621         instead of <fenv_libc.h>.
28622         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28623         (__lrintl): Call fegetround instead of __fegetround.
28624         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28625         instead of <fenv_libc.h>.
28626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28627         (__rintl): Call fegetround instead of __fegetround.
28629 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28632         arrays.
28634 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28636         [BZ #17775]
28637         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28638         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28639         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28641 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28643         * sysdeps/i386/tls-macros.h: Include <features.h>.
28644         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28645         (TLS_IE): Likewise.
28646         (TLS_LD): Likewise.
28647         (TLS_GD): Likewise.
28648         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28649         define for GCC >= 5.0.
28651 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28653         * math/test-fenv.c (test_single_exception, set_single_exc,
28654         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28655         feexcp_mask_test, feenable_test, fe_single_test): Add
28656         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28657         case where they are not used.
28658         * math/libm-test.inc: Likewise.
28659         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28660         unused in the absence of FP rounding/exception support.
28661         * stdio-common/tst-printf-round.c: Likewise.
28662         * stdlib/tst-strtod-round.c: Likewise.
28663         * stdlib/tst-strtod-underflow.c: Likewise.
28665 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28667         [BZ #17723]
28668         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28669         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28670         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28671         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28672         libm_hidden_weak.
28673         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28674         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28675         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28676         libm_hidden_def.
28677         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28678         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28679         libm_hidden_weak.
28680         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28681         Likewise.
28682         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28683         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28684         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28685         libm_hidden_weak.
28686         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28687         libm_hidden_def.
28688         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28689         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28690         (__feraiseexcept): Likewise.
28691         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28693         libm_hidden_weak.
28694         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28695         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28696         libm_hidden_def.
28697         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28698         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28699         Use libm_hidden_def.
28700         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28701         libm_hidden_def.
28702         (feraiseexcept): Define as weak not strong alias.  Use
28703         libm_hidden_weak.
28704         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28705         New inline function.  Factored out of ...
28706         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28707         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28708         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28709         feraiseexcept.
28710         * math/w_acos.c (__acos): Likewise.
28711         * math/w_asin.c (__asin): Likewise.
28712         * math/w_ilogb.c (__ilogb): Likewise.
28713         * math/w_j0.c (y0): Likewise.
28714         * math/w_j1.c (y1): Likewise.
28715         * math/w_jn.c (yn): Likewise.
28716         * math/w_log.c (__log): Likewise.
28717         * math/w_log10.c (__log10): Likewise.
28718         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28719         * sysdeps/aarch64/fpu/math_private.h
28720         (libc_feupdateenv_test_aarch64): Likewise.
28721         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28722         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28723         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28724         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28725         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28726         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28727         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28728         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28729         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28730         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28732 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28734         [BZ #17732]
28735         * io/test-utime.c (main): Replace %ld with %jd and cast to
28736         intmax_t.
28737         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28738         * nptl/tst-mutex5.c: Include <stdint.h>.
28739         (do_test): Replace %ld with %jd and cast to intmax_t.
28740         * posix/tst-regex.c (run_test): Likewise.
28741         (run_test_backwards): Likewise.
28742         * rt/tst-clock.c: Include <stdint.h>.
28743         (clock_test): Replace %ld with %jd and cast to intmax_t.
28744         * rt/tst-cpuclock1.c: Include <stdint.h>.
28745         (do_test): Replace %lu with %ju and cast to uintmax_t.
28746         * rt/tst-cpuclock2.c: Include <stdint.h>.
28747         (do_test): Replace %lu with %ju and cast to uintmax_t.
28748         * rt/tst-mqueue1.c: Include <stdint.h>.
28749         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28750         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28751         intmax_t.
28752         * rt/tst-mqueue4.c (do_test): Likewise.
28753         * rt/tst-timer4.c: Include <stdint.h>.
28754         (check_ts): Replace %ld with %jd and cast to intmax_t.
28755         (do_test): Likewise.
28756         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28757         and cast to intmax_t.
28758         * sysdeps/pthread/tst-timer.c (main): Likewise.
28759         * time/clocktest.c (main): Likewise.
28760         * time/tst-posixtz.c (do_test): Likewise.
28761         * timezone/tst-timezone.c (main): Likewise.
28763 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28764             H.J. Lu  <hongjiu.lu@intel.com>
28766         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28767         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28768         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28769         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28770         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28771         version if bit_Fast_Unaligned_Load is set.
28772         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28773         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28774         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28775         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28776         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28777         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28779         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28780         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28781         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28782         to 4.
28783         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28784         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28785         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28786         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28788 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28790         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28791         instead of #if to avoid a Wundef warning.
28792         * stdlib/tst-limits.c (do_test): Likewise.
28794         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28795         parallel other exception macros.
28796         (fegetenv): Convert from macro to extern inline so that it applies
28797         retroactively to inline functions already seen by the compiler.
28798         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28800         * posix/Makefile (before-compile): Use $(objpfx) for
28801         posix-conf-vars-def.h.
28803 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805         * posix/getconf.c (main): Use size_t for type of I.
28806         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28807         NSPEC.
28809         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28810         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28811         * posix/posix-envs.def: Likewise.
28812         * sysdeps/posix/sysconf.c: Likewise.
28813         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28814         (specs): Remove array.
28815         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28816         array.
28818         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28819         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28820         (__sysconf): Use CONF_IS_* macros.
28822         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28823         ($(objpfx)posix-conf-vars-def.h): New target.
28824         * posix/posix-conf-vars.list: New file.
28825         * posix/posix-conf-vars.h: New file.
28826         * posix/confstr.c: Include posix-conf-vars.h.
28827         (confstr): Use CONF_IS_* macros.
28828         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28829         CONF_IS_* macros.
28830         * scripts/gen-posix-conf-vars.awk: New file.
28832 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28834         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28835         fegetround): Add no-op macros to avoid linknamespace issues.
28837         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28838         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28840         * sysdeps/unix/sysv/linux/tile/sysdep.h
28841         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28842         assembly-specific section to avoid a redefinition warning.
28844         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28845         long before casting to pointer to avoid a cast warning.
28847 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28849         * sysdeps/tile/tilegx/Implies: New file.
28851 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28853         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28855 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28857         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28859 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28862         not define.
28863         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28864         <kernel-features.h>.
28865         (__utimes) [__NR_utimes]: Make code unconditional.
28866         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28867         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28868         (__ASSUME_UTIMES): Do not undefine.
28869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28870         (__ASSUME_UTIMES): Likewise.
28871         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28872         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28873         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28874         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28876 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28878         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28880 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28882         [BZ #17747]
28883         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28884         alias to weak alias for j0l, y0l.
28885         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28886         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28888         [BZ #17746]
28889         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28890         conversion.
28892 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28894         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28895         to zero if not already defined.
28897 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28899         [BZ #17724]
28900         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28901         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28902         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28903         (char *) casts added.
28904         * sysdeps/ieee754/k_standardf.c: New file.
28905         * sysdeps/ieee754/k_standardl.c: Likewise.
28906         * math/Makefile (libm-support): Remove k_standard.
28907         (libm-calls): Add k_standard.
28909 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28911         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28912         Optimize to avoid an unnecessary FPCR read.
28914 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28916         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28917         Optimize to reduce FPCR/FPSR accesses.
28919 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28921         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28922         Call libc_fetestexcept_aarch64.
28924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28926         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28927         Call libc_fesetround_aarch64.
28929 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28931         [BZ #17733]
28932         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28933         (__bind): Do not define as weak alias.
28934         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28935         define.
28936         (__getsockname): Do not define as weak alias.
28938 2014-12-22  Will Newton  <will.newton@linaro.org>
28940         * manual/install.texi: Document that we require bison 2.7
28941         or above.
28942         * INSTALL: Regenerate.
28943         * configure.ac: Use AC_CHECK_PROG_VER instead of
28944         AC_PATH_PROG when checking for bison and check for
28945         version 2.7 or above.
28946         * configure: Regenerate.
28948 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28950         [BZ #17745]
28951         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28952         * sysdeps/tile/ffsll.c (ffsll): To here.
28954         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28956 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28958         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28959         if not defined.
28960         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28961         definition.
28962         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28963         hidden ___tls_get_addr.
28964         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28965         hidden __tls_get_addr.
28966         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28967         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28968         Likewise.
28970 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28972         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28973         _dl_init call.
28975 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28977         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28978         from "call _dl_init@PLT".
28979         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28981 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28983         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28984         guarantees.
28986 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28988         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28990 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28992         [BZ #17744]
28993         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28994         strnlen.
28996 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28998         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28999         of multu on MIPSr6.
29000         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29001         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29002         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29003         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29004         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29006 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29008         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29009         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29010         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29011         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29012         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29013         mips32r6/mips64r6.
29014         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29016 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29018         * string/strncat.c (STRNCAT): Simplify implementation.
29020 2014-12-19  David S. Miller  <davem@davemloft.net>
29022         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29023         access the quad as both a long double and as a series of 4 words.
29025         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29026         link_map->l_info array access.
29028 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29030         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29032         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29033         * math/atest-exp2.c (TIMEOUT): Likewise.
29034         * math/atest-sincos.c (TIMEOUT): Likewise.
29036 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29038         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29039         -Wno-error with -fno-builtin-lround.
29041 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29043         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29044         Contains futex constants and functions moved over from ...
29045         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29046         <lowlevellock-futex.h>.
29047         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29048         (lll_timedwait_tid): Add comments and parentheses around macro
29049         arguments.
29051 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29053         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29054         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29055         (__lll_private_flag): Remove.
29056         (lll_futex_wait): Likewise.
29057         (lll_futex_timed_wait): Likewise.
29058         (lll_futex_wake): Likewise.
29059         (lll_futex_requeue): Likewise.
29060         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29061         (__lll_timedwait_tid): Spell out argument names.
29062         (lll_timedwait_tid): Add comments and parentheses around macro
29063         arguments.
29064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29065         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29067 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29069         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29070         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29071         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29072         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29073         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29074         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29075         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29076         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29077         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29078         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29079         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29081         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29083         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29084         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29085         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29086         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29087         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29089 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29091         * sysdeps/x86_64/x32/Makefile: New file.
29093 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29095         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29096         1L with (mp_limb_t) 1.
29098 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29100         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29101         * nptl/libc_pthread_init.c: ... here.
29102         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29103         * nptl/register-atfork.c: ... here.
29105         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29106         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29107         Use assert_perror to check its return value.
29108         (__gai_create_helper_thread): Likewise.
29110         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29112         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29114 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29116         [BZ #17725]
29117         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29118         __profil_counter.
29119         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29120         Likewise.
29121         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29124         Likewise.
29125         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29126         (profil_counter): Likewise.
29127         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29128         (profil_counter): Likewise.
29129         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29130         Likewise.
29131         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29132         Likewise.
29133         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29134         (profil_counter): Likewise.
29135         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29136         Likewise.
29137         [!__profil_counter] (profil_counter): Define as weak alias of
29138         __profil_counter.
29139         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29140         (profil_counter): Rename to __profil_counter.
29141         [!__profil_counter] (profil_counter): Define as weak alias of
29142         __profil_counter.
29143         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29144         (profil_counter): Rename to __profil_counter.
29145         [!__profil_counter] (profil_counter): Define as weak alias of
29146         __profil_counter.
29147         * sysdeps/posix/profil.c: Update comment referring to
29148         profil_counter.
29149         (__profil): Use __profil_counter instead of profil_counter.
29150         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29151         __profil_counter.  Use __profil_counter_ushort and
29152         __profil_counter_uint in definitions.
29153         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29154         instead of profil_counter_uint and profil_counter_ushort.
29156         [BZ #17722]
29157         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29158         define as weak alias of __inet_makeaddr.
29159         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29160         as weak alias of __inet_addr.
29161         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29162         as weak alias of __inet_pton.  Use libc_hidden_weak.
29163         * include/arpa/inet.h (__inet_pton): Declare.  Use
29164         libc_hidden_proto.
29165         (inet_makeaddr): Don't use libc_hidden_proto.
29166         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29167         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29168         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29169         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29170         Remove variable.
29171         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29172         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29174 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29176         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29178 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29180         * stdio-common/bug-vfprintf-nargs.c (do_test):
29181         Cast value to intptr_t to avoid format warning
29182         for usage with PRIdPTR printing macro.
29184 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29186         * libio/tst-widetext.c (do_test):
29187         Use format type %td instead of %Zd for ptrdiff_t
29188         in order to avoid format warning.
29190 2014-12-17  Andreas Schwab  <schwab@suse.de>
29192         * nscd/mem.c (gc): Add size_t cast to match printf format.
29194 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29196         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29197         (init): Apply PTR_MANGLE to pointers before storing them.
29198         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29199         before using them.
29201 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29203         [BZ #17719]
29204         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29205         define as weak alias of __memrchr.
29206         (__memrchr): Do not define as strong alias of memrchr.
29207         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29208         Remove variable.
29209         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29210         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29211         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29213         [BZ #17717]
29214         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29215         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29216         (if_indextoname): Rename to __if_indextoname and define as weak
29217         alias of __if_indextoname.  Use libc_hidden_weak.
29218         (if_freenameindex): Rename to __if_freenameindex and define as
29219         weak alias of __if_freenameindex.
29220         (if_nameindex): Rename to __if_nameindex and define as weak alias
29221         of __if_nameindex.
29222         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29223         __if_nametoindex and define as weak alias of __if_nametoindex.
29224         Use libc_hidden_weak.
29225         (if_freenameindex): Rename to __if_freenameindex and define as
29226         weak alias of __if_freenameindex.
29227         (if_nameindex): Rename to __if_nameindex and define as weak alias
29228         of __if_nameindex.
29229         (if_indextoname): Rename to __if_indextoname and define as weak
29230         alias of __if_indextoname.  Use libc_hidden_weak.
29231         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29232         __if_nametoindex and define as weak alias of __if_nametoindex.
29233         Use libc_hidden_weak.
29234         (if_freenameindex): Rename to __if_freenameindex and define as
29235         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29236         (if_nameindex_netlink): Use __if_freenameindex instead of
29237         if_freenameindex.
29238         (if_nameindex): Rename to __if_nameindex and define as weak alias
29239         of __if_nameindex.  Use libc_hidden_weak.
29240         (if_indextoname): Rename to __if_indextoname and define as weak
29241         alias of __if_indextoname.  Use libc_hidden_weak.
29242         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29243         libc_hidden_proto.
29244         [!_ISOMAC] (__if_freenameindex): Likewise.
29245         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29246         if_nametoindex.
29247         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29248         variable.
29249         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29250         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29251         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29252         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29253         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29254         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29255         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29257         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29258         Remove variable.
29259         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29260         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29262 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29264         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29265         subscript above bounds'
29267         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29268         bounds.
29270 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29272         * libio/tst-fopenloc.c: Use test-skeleton.c.
29274         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29275         (entry): Rename to ITEM.
29276         (do_test, comp): Adjust.
29278         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29280 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29282         * string/tester.c: Include <libc-internal.h>.
29283         (test_memset): Ignore -Wmemset-transposed-args.
29285 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29287         * misc/tst-mntent2.c (do_test): Fix warning.
29289 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29291         * elf/tst-unique4lib.cc(a): Mark as used.
29293 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29295         [BZ #17630]
29296         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29297         names.
29299 2014-12-16  Allan McRae  <allan@archlinux.org>
29301         * stdio-common/Makefile (tests): Re-add bug26.
29303 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29305         [BZ #17657]
29306         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29307         static array.
29309 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29311         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29312         (__lll_lock_wait): Likewise.
29313         (__lll_timedlock_wait): Likewise.
29314         (__lll_timedwait_tid): Likewise.
29315         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29316         (__lll_robust_timedlock_wait): Likewise.
29317         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29318         (lll_cond_trylock): Likewise.
29319         (__lll_lock): Likewise.
29320         (__lll_robust_lock): Likewise.
29321         (__lll_cond_lock): Likewise.
29322         (lll_robust_cond_lock): Likewise.
29323         (__lll_timedlock): Likewise.
29324         (__lll_robust_timedlock): Likewise.
29325         (__lll_unlock): Likewise.
29326         (__lll_robust_unlock): Likewise.
29327         (lll_wait_tid): Likewise.
29328         (lll_timedwait_tid): Likewise.
29330 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29332         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29334 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29336         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29338 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29340         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29341         * stdio-common/tst-sprintf.c: Likewise.
29343 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29345         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29347 2014-12-15  Jeff Law  <law@redhat.com>
29349         [BZ #16617]
29350         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29351         on the heap.  (CVE-2012-3406)
29352         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29353         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29354         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29356 2014-12-15  Will Newton  <will.newton@linaro.org>
29358         * manual/install.texi: Bump required version of texinfo
29359         to 4.7 from 4.5.
29360         * INSTALL: Regenerated.
29361         * configure.ac: Check for makeinfo version 4.7 and above.
29362         * configure: Regenerated.
29364 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29366         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29367         PREFIX, string constant to insert between directory and name.
29368         * sysdeps/posix/shm_open.c: Update caller.
29369         * sysdeps/posix/shm_unlink.c: Likewise.
29370         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29371         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29372         (SEM_SHM_PREFIX): New macro.
29373         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29374         [$(have-thread-library) = no].
29375         * nptl/Makefile (libpthread-routines): Add shm-directory.
29376         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29377         * sysdeps/nptl/shm-directory.h: New file.
29378         * sysdeps/posix/shm-directory.c
29379         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29380         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29381         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29382         INTERNAL_SYSCALL.
29383         (__where_is_shmfs): Function removed.
29384         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29385         Variables removed.
29386         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29387         Use SHM_GET_NAME.
29388         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29390         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29391         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29392         unconditional for use inside libpthread.
29393         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29395 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29397         * nptl/pthread_getaffinity.c: New file.
29398         * nptl/pthread_setaffinity.c: New file.
29399         * nptl/pthread_getname.c: New file.
29400         * nptl/pthread_setname.c: New file.
29402         * nptl/pthread_create.c (START_THREAD_DEFN)
29403         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29405 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29406             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29408         * resolv/res_send.c (send_vc): Disable warning resplen may
29409         be used uninitialized.
29411 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29413         * nptl/tst-mutex6.c
29414         (ATTR_NULL): New define checks ATTR against NULL.
29415         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29416         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29418 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29420         [BZ #17581]
29421         * malloc/hooks.c
29422         (mem2mem_check): Revert my previous change.
29423         (malloc_check_get_size): Revert my previous change.
29424         (mem2chunk_check): Revert my previous change.
29426 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29428         * sysdeps/posix/shm-directory.c: New file.
29429         * sysdeps/posix/shm-directory.h: New file.
29430         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29431         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29432         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29433         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29434         Transmute EPERM to EACCES.
29435         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29436         from ...
29437         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29438         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29440 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29442         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29443         pointer and cast to uintptr_t.
29444         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29446         Add cast to avoid warning.
29447         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29449 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29451         * nptl/semaphore.h: Move to ...
29452         * sysdeps/pthread/semaphore.h: ... here.
29453         * Makefile (installed-headers): Change nptl/semaphore.h to
29454         sysdeps/pthread/semaphore.h.
29456 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29458         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29459         generated error format strings.
29461         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29462         -Wformat-extra-args warnings for scanf formats.
29463         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29464         test of zero-length format (duh).
29465         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29466         corner-case scanf format test.
29467         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29468         generated fprintf format string.
29469         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29470         corner-case sprintf format tests.
29471         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29472         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29473         -Wformat-extra-args warnings throughout.
29474         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29475         (CFLAGS-scanf4.c): Likewise.
29476         (CFLAGS-scanf7.c): Likewise.
29477         (CFLAGS-tst-sprintf.c): Likewise.
29478         (CFLAGS-tst-printf.c): Likewise.
29479         (CFLAGS-tst-printfsz.c): Likewise.
29481 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29483         * include/cpio.h: New file.
29484         * include/fmtmsg.h: Likewise.
29486         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29487         corresponding format argument to size_t.
29488         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29489         arguments.
29490         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29491         corresponding format argument to size_t.
29492         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29493         arguments.
29494         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29495         corresponding format argument to size_t.
29496         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29497         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29498         (CFLAGS-tst-mbswcs2.c): Likewise.
29499         (CFLAGS-tst-mbswcs3.c): Likewise.
29500         (CFLAGS-tst-mbswcs4.c): Likewise.
29501         (CFLAGS-tst-mbswcs5.c): Likewise.
29502         (CFLAGS-tst-trans.c): Likewise.
29504 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29506         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29507         rather than assuming they won't contain any '%'s.
29509 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29511         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29512         inhibit_loop_to_libcall to avoid recursive calls.
29513         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29514         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29516 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29518         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29519         prototype.
29521 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29523         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29524         integer value instead of boolean.
29526 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29528         * malloc/malloc.c: Fix powerof2 check.
29530 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29532         * locale/programs/locfile.h (maybe_swap_uint32):
29533         Remove inline and add unused attribute.
29535 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29538         Truncating assembler expression to a .long expression.
29540 2014-12-11  Andreas Schwab  <schwab@suse.de>
29542         * elf/rtld.c (struct map_args): Constify str member.
29543         (do_preload): Constify fname argument.
29545 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29548         constants definition.
29550 2014-12-11  Andreas Schwab  <schwab@suse.de>
29552         [BZ #16657]
29553         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29554         FORCE_ELISION instead of DO_ELISION.
29555         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29556         Remove.
29557         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29558         Likewise.
29560         * iconvdata/gconv-modules: Remove duplicate entry.
29562 2014-12-11  Will Newton  <will.newton@linaro.org>
29564         Merge gettext 0.19.3 into intl/.
29566         This involves a number of cosmetic changes to comments
29567         and ANSI function definitions and prototypes throughout
29568         all the files. The gettext copyright header is used but
29569         with the date ranges taken from the glibc copy.
29571         * NEWS: Add gettext merge to 2.21.
29572         * intl/bindtextdom.c: Switch to gettext copyright.
29573         Use ANSI definitions and prototypes.
29574         Use gl_* locking primitives rather than __libc_* ones.
29575         Use __builtin_expect rather than __glibc_likely/unlikely.
29576         * intl/dcgettext.c: Switch to gettext copyright.
29577         Use ANSI definitions and prototypes.
29578         * intl/dcigettext.c: Switch to gettext copyright.
29579         Use ANSI definitions and prototypes.
29580         (INTDIV0_RAISES_SIGFPE): New define.
29581         Use gl_* locking primitives rather than __libc_* ones.
29582         Include eval-plural.h instead of plural-eval.c.
29583         Use __builtin_expect rather than __glibc_likely/unlikely.
29584         * intl/dcngettext.c: Switch to gettext copyright.
29585         Use ANSI definitions and prototypes.
29586         * intl/dgettext.c: Likewise.
29587         * intl/dngettext.c: Likewise.
29588         * intl/plural-eval.c: Renamed to...
29589         * intl/eval-plural.h: ...this.
29590         * intl/explodename.c: Switch to gettext copyright.
29591         Use ANSI definitions and prototypes.
29592         (_nl_explode_name): Use strchr instead of __rawmemchr.
29593         * intl/finddomain.c: Switch to gettext copyright.
29594         Use ANSI definitions and prototypes.
29595         Use gl_* locking primitives rather than __libc_* ones.
29596         (_nl_find_domain): Use malloc rather than alloca for
29597         allocation of temporary locale name.
29598         * intl/gettext.c: Switch to gettext copyright.
29599         Use ANSI definitions and prototypes.
29600         * intl/gettextP.h: Switch to gettext copyright.
29601         Use ANSI definitions and prototypes.
29602         Use gl_* locking primitives rather than __libc_* ones.
29603         * intl/gmo.h: Switch to gettext copyright.
29604         (struct sysdep_string): Move struct segment_pair outside of
29605         struct definition.
29606         * intl/hash-string.c: Use ANSI definitions and prototypes.
29607         * intl/hash-string.h: Switch to gettext copyright.
29608         Use ANSI definitions and prototypes.
29609         * intl/l10nflist.c: Switch to gettext copyright.
29610         Use ANSI definitions and prototypes.
29611         (_nl_normalize_codeset): Avoid integer overflow.
29612         * intl/loadinfo.h: Switch to gettext copyright.
29613         Use ANSI definitions and prototypes.
29614         (LIBINTL_DLL_EXPORTED): New define.
29615         (PATH_SEPARATOR): New define.
29616         * intl/loadmsgcat.c: Switch to gettext copyright.
29617         * intl/localealias.c: Switch to gettext copyright.
29618         Use ANSI definitions and prototypes.
29619         (_nl_expand_alias): Use PATH_SEPARATOR.
29620         * intl/ngettext.c: Switch to gettext copyright.
29621         Use ANSI definitions and prototypes.
29622         * intl/plural-exp.c: Likewise.
29623         * intl/plural-exp.h: Switch to gettext copyright.
29624         Use ANSI definitions and prototypes.
29625         (struct expression): Move definition of enum operator outside
29626         of struct definition.
29627         * intl/plural.c: Regenerate.
29628         * intl/plural.y: Switch to gettext copyright.
29629         Use ANSI definitions and prototypes.
29630         Port to bison 3.0.
29631         * intl/textdomain.c: Switch to gettext copyright.
29632         Use ANSI definitions and prototypes.
29633         Use gl_* locking primitives rather than __libc_* ones.
29635 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29637         * debug/warning-nop.c: Add used atrribute.
29639 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29641         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29643         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29644         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29645         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29647 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29648             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29650         [BZ #17634]
29651         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29652         Undefine after defining function.  Define as weak alias of
29653         __wcschr.  Use libc_hidden_weak.
29654         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29655         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29656         (libc_hidden_def): Also define __GI___wcschr alias.
29657         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29658         __wcschr and define as weak alias of __wcschr.
29659         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29660         __wcschr.
29661         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29662         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29663         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29664         libc_hidden_weak.  Do not use libc_hidden_def.
29665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29666         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29667         __GI___wcschr alias.
29668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29669         [IS_IN (libc)] (wcschr): Define as macro expanding to
29670         __redirect_wcschr.
29671         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29672         [IS_IN (libc)] (__wcschr_power6): Likewise.
29673         [IS_IN (libc)] (__wcschr_power7): Likewise.
29674         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29675         instead of wcschr.
29676         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29677         __libc_wcschr.
29678         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29679         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29680         __wcschr and define as weak alias of __wcschr.  Use
29681         libc_hidden_builtin_def.
29682         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29683         as weak alias of __wcschr.  Use libc_hidden_weak.
29684         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29685         wcschr.
29686         * time/era.c (_nl_init_era_entries): Likewise.
29687         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29688         variable.
29689         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29690         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29692 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29694         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29695         format for long int variable.
29697 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29699         [BZ #10672]
29700         * manual/search.texi: (Array Sort Function): Remove claim how to make
29701         qsort stable.
29703 2014-12-10  Andreas Schwab  <schwab@suse.de>
29705         [BZ #12847]
29706         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29707         user-controlled locks.
29709 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29711         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29712         register.
29714 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29716         * configure.ac (--disable-werror): New configure option.
29717         (enable_werror): New AC_SUBST.
29718         * configure: Regenerated.
29719         * config.make.in (enable-werror): New variable.
29720         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29721         -Wno-error=undef.
29722         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29723         * manual/install.texi (Configuring and compiling): Document
29724         --disable-werror.
29725         * INSTALL: Regenerated.
29726         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29727         (CFLAGS-tst-chk2.c): Likewise.
29728         (CFLAGS-tst-chk3.c): Likewise.
29729         (CFLAGS-tst-chk4.cc): Likewise.
29730         (CFLAGS-tst-chk5.cc): Likewise.
29731         (CFLAGS-tst-chk6.cc): Likewise.
29732         (CFLAGS-tst-lfschk1.c): Likewise.
29733         (CFLAGS-tst-lfschk2.c): Likewise.
29734         (CFLAGS-tst-lfschk3.c): Likewise.
29735         (CFLAGS-tst-lfschk4.cc): Likewise.
29736         (CFLAGS-tst-lfschk5.cc): Likewise.
29737         (CFLAGS-tst-lfschk6.cc): Likewise.
29739         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29740         (main): Disable -Wdeprecated-declarations around calls to
29741         register_printf_function.
29743         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29744         (do_test): Disable -Wdiv-by-zero around some calls to
29745         fwrite_unlocked and fread_unlocked.
29747         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29748         (DIAG_POP_NEEDS_COMMENT): Likewise.
29749         (_DIAG_STR1): Likewise.
29750         (_DIAG_STR): Likewise.
29751         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29752         * stdio-common/bug21.c: Include <libc-internal.h>.
29753         (do_test): Disable -Wformat around call to sscanf.
29754         * stdio-common/scanf14.c: Include <libc-internal.h>.
29755         (main): Disable -Wformat around some calls to scanf functions.
29757 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29759         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29761 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29763         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29764         stack variable alignment.
29766 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #17682]
29769         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29770         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29771         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29772         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29773         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29774         __getrlimit instead of getrlimit.
29775         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29776         __gettimeofday instead of gettimeofday.
29777         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29778         Likewise.
29779         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29780         Likewise.
29781         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29782         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29783         Remove variable.
29784         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29785         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29787 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29789         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29790         for wide-character tests.
29792 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29794         * io/openat64.c: #include <libc-internal.h>
29795         (__openat64): Prototypify.  Use ignore_value on MODE.
29796         * io/openat.c: Likewise.
29797         * misc/reboot.c: #include <libc-internal.h>
29798         (reboot): Prototypify.  Use ignore_value on HOWTO.
29799         * misc/ptrace.c: #include <libc-internal.h>
29800         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29802 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29804         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29805         XPG4, UNIX98 and XOPEN2K.
29806         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29807         Remove variable.
29808         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29810 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29812         * libio/fileops.c: Use ISO C style for function definitions.
29813         * libio/iofopen.c: Likewise.
29814         * libio/wfileops.c: Likewise.
29816         [BZ #17653]
29817         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29818         offset on EOF.
29819         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29820         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29821         (fgets_func): Function pointer to fgets and fgetws.
29822         (do_ftell_test): Add test to verify ftell value after read
29823         EOF.
29824         (do_test): Set fgets_func.
29826         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29827         O_TRUNC flag for w and w+ modes.
29828         (do_rewind_test): Likewise.
29829         (do_ftell_test): Likewise.
29830         (do_write_test): Likewise.
29832         [BZ #17647]
29833         * libio/fileops.c (do_ftell): Seek only when there are
29834         unflushed writes.
29835         * libio/wfileops.c (do_ftell_wide): Likewise.
29836         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29837         test case.
29838         (do_one_test): Call it.
29840 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29842         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29843         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29844         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29845         Remove variable.
29846         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29847         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29848         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29850 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29852         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29853         Remove variable.
29854         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29856         [BZ #17668]
29857         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29858         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29859         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29860         __freeifaddrs.  Use libc_hidden_weak.
29861         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29862         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29863         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29864         __freeifaddrs.  Use libc_hidden_weak.
29865         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29866         __getifaddrs and define as weak alias of __getifaddrs.  Use
29867         libc_hidden_weak.
29868         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29869         __freeifaddrs.  Use libc_hidden_weak.
29870         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29871         Remove variable.
29872         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29873         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29875 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29877         [BZ #17601]
29878         * sysdeps/mips/start.S (__start): Use indirect jump to call
29879         __libc_start_main.
29881 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29883         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29885         * nptl/tst-mutex1.c: Include <stdbool.h>.
29886         [!ATTR] (ATTR_NULL): New macro.
29887         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29888         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29889         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29891         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29892         to char *.
29894         [BZ #17665]
29895         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29896         Change conditional to [__USE_MISC].
29898         [BZ #17664]
29899         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29900         fgets_unlocked.
29901         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29902         __fgets_unlocked.
29903         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29904         fgets_unlocked.
29905         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29906         Remove variable.
29907         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29908         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29909         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29910         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29911         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29912         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29913         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29914         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29915         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29917         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29919 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29922         Remove strpbrk objects.
29923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29924         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29925         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29927         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29928         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29931         Remove strcspn objects.
29932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29933         (__libc_ifunc_impl_list): Remove strcspn implementation.
29934         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29935         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29936         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29937         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29939         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29940         Remove strspn objetcs.
29941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29942         (__libc_ifunc_impl_list): Remove strspn implementation.
29943         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29944         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29945         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29946         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29948 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29950         [BZ #17581]
29951         * malloc/hooks.c
29952         (mem2mem_check): Add a terminator to the chain of checking blocks.
29953         (malloc_check_get_size): Use it here.
29954         (mem2chunk_check): Ditto.
29956 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29958         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29959         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29961 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29963         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29965         * nptl/nptl-init.c: Include libc-internal.h.
29966         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29968         * elf/ldconfig.c (search_dir): Expand comment.
29970 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29972         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29973         variable.
29974         (linknamespace-symlist-stdlibs-tests): Likewise.
29975         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29976         instead of $(objpfx)symlist-stdlibs.
29977         (linknamespace-libs-isoc): New variable.
29978         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29979         (linknamespace-libs-ISO): New variable.
29980         (linknamespace-libs-ISO99): Likewise.
29981         (linknamespace-libs-ISO11): Likewise.
29982         (linknamespace-libs-XPG3): Likewise.
29983         (linknamespace-libs-XPG4): Likewise.
29984         (linknamespace-libs-POSIX): Likewise.
29985         (linknamespace-libs-UNIX98): Likewise.
29986         (linknamespace-libs-XOPEN2K): Likewise.
29987         (linknamespace-libs-POSIX2008): Likewise.
29988         (linknamespace-libs-XOPEN2K8): Likewise.
29989         ($(objpfx)symlist-stdlibs): Replace by
29990         $(linknamespace-symlist-stdlibs-tests).  Use
29991         $(linknamespace-libs-$*) as set of libraries.
29992         ($(linknamespace-header-tests)): Update dependencies.  Use
29993         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29994         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29995         * conform/linknamespace.pl: Remove comment about considering
29996         definitions of symbols from irrelevant libraries.
29998 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30000         [BZ #13862]
30001         * elf/dl-tls.c: Include <atomic.h>.
30002         (oom): Remove #ifdef SHARED/#endif.
30003         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30004         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30005         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30006         big enough.
30007         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30008         * nptl/Makefile (tests): Add tst-stack4.
30009         (modules-names): Add tst-stack4mod.
30010         ($(objpfx)tst-stack4): New.
30011         (tst-stack4mod.sos): Likewise.
30012         ($(objpfx)tst-stack4.out): Likewise.
30013         ($(tst-stack4mod.sos)): Likewise.
30014         (clean): Likewise.
30015         * nptl/tst-stack4.c: New file.
30016         * nptl/tst-stack4mod.c: Likewise.
30018 2014-11-27  J. Brown  <jb999@gmx.de>
30020         * sysdeps/x86/bits/string.h: Add recent CPUs.
30022 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30024         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30025         sigblock.
30027         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30028         feof.
30030         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30031         variable.
30033 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30035         * nscd/connections.c: Include libc-internal.h because of macro
30036         usage ignore_value.
30038 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30040         * string/bits/string3.h (__warn_memset_zero_len): Don't
30041         declare for gcc newer than 5.0.
30042         (memset): Don't test for zero-length __LEN for gcc newer than
30043         5.0.
30045 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30047         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30048         size_t for %zu format.
30050         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30051         difference, not %ju.
30053 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30055         * include/libc-internal.h (ignore_value): New macro.
30056         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30057         with ignore_value.
30059         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30060         definition.
30062         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30063         pthread_cleanup_push to void *.
30065         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30066         Undefine.
30068         [BZ #16619]
30069         [BZ #16740]
30070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30071         instead of 1L << 52.
30073         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30074         * libio/bug-rewind2.c (do_test): Likewise.
30076         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30077         * debug/test-strcpy_chk-ifunc.c: Likewise.
30078         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30079         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30080         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30081         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30082         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30083         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30084         * Rules [$(multi-arch) = no] (tests): Do not filter out
30085         $(tests-ifunc).
30086         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30087         * debug/Makefile (tests-ifunc): Remove variable.
30088         (tests): Do not add $(tests-ifunc).
30089         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30090         (tests): Do not add $(tests-ifunc).
30091         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30092         [TEST_IFUNC]: Remove conditionals.
30093         * string/test-string.h (TEST_IFUNC): Remove macro.
30094         [TEST_IFUNC]: Remove conditionals.
30096         * string/test-strchr.c [!WIDE] (L): New macro.
30097         [WIDE] (L): Likewise.
30098         (check1): Use CHAR instead of char.  Use L on string and character
30099         constants.
30101 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30103         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30104         tests.
30105         * sysdeps/powerpc/bits/atomic.h
30106         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30107         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30108         (atomic_exchange_and_add_acq): Likewise.
30109         (atomic_exchange_and_add_rel): Likewise.
30110         * sysdeps/powerpc/powerpc32/bits/atomic.h
30111         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30112         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30113         * sysdeps/powerpc/powerpc64/bits/atomic.h
30114         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30115         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30117 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30119         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30120         Change synchronization of __sched_fifo_min_prio and
30121         __sched_fifo_max_prio.
30122         * nptl/pthread_mutexattr_getprioceiling.c
30123         (pthread_mutexattr_getprioceiling): Likewise.
30124         * nptl/pthread_mutexattr_setprioceiling.c
30125         (pthread_mutexattr_setprioceiling): Likewise.
30126         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30127         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30128         Likewise.
30130 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30132         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30133         void.
30135 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30137         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30138         third argument const.
30140 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30142         fnmatch: work around GCC compiler warning bug with uninit var
30143         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30144         This works around a bug with x86-64 GCC 4.9.2 and earlier
30145         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30146         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30147         used uninitialized in this function [-Wmaybe-uninitialized]".
30149 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30151         * posix/bug-regex31.c (main): Return RES not 0.
30153 2014-11-25  Anton Blanchard <anton@samba.org>
30155         * sysdeps/powerpc/bits/atomic.h
30156         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30158 2014-11-24  Sterling Augustine  <saugustine@google.com>
30160         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30162 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30164         [BZ #17608]
30165         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30167 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30169         [BZ #17633]
30170         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30171         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30172         variable.
30173         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30174         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30176 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30178         * string/strncpy.c (strncpy): Improve performance by using memset.
30180 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30182         * string/strcpy.c (strcpy):
30183         Improve performance by using strlen and memcpy.
30185 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30187         * string/strcoll_l.c (get_next_seq): __always_inline.
30188         * string/strcoll_l.c (do_compare): __always_inline.
30190 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30192         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30193         defined.
30194         * include/mqueue.h: Likewise.
30195         * include/stdlib.h: Likewise.
30197         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30198         (get_null_defines): Adjust.
30199         * sunrpc/Makefile: Adjust comment.
30200         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30201         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30202         (CFLAGS-interp.c): Likewise.
30203         (CFLAGS-ldconfig.c): Likewise.
30204         (CPPFLAGS-.os): Likewise.
30205         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30206         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30207         * extra-modules.mk (extra-modules.mk): Likewise.
30208         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30209         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30210         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30211         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30212         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30213         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30214         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30215         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30216         * iconvdata/Makefile (CPPFLAGS): Likewise.
30217         (cpp-srcs-left): Add libof for all iconvdata routines.
30218         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30219         * include/assert.h: Likewise.
30220         * include/ctype.h: Likewise.
30221         * include/errno.h: Likewise.
30222         * include/libc-symbols.h: Likewise.
30223         * include/math.h: Likewise.
30224         * include/netdb.h: Likewise.
30225         * include/resolv.h: Likewise.
30226         * include/stdio.h: Likewise.
30227         * include/stdlib.h: Likewise.
30228         * include/string.h: Likewise.
30229         * include/sys/stat.h: Likewise.
30230         * include/wctype.h: Likewise.
30231         * intl/l10nflist.c: Likewise.
30232         * libidn/idn-stub.c: Likewise.
30233         * libio/libioP.h: Likewise.
30234         * nptl/libc_multiple_threads.c: Likewise.
30235         * nptl/pthreadP.h: Likewise.
30236         * posix/regex_internal.h: Likewise.
30237         * resolv/res_hconf.c: Likewise.
30238         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30239         * sysdeps/arm/memmove.S: Likewise.
30240         * sysdeps/arm/sysdep.h: Likewise.
30241         * sysdeps/generic/_itoa.h: Likewise.
30242         * sysdeps/generic/symbol-hacks.h: Likewise.
30243         * sysdeps/gnu/errlist.awk: Likewise.
30244         * sysdeps/gnu/errlist.c: Likewise.
30245         * sysdeps/i386/i586/memcpy.S: Likewise.
30246         * sysdeps/i386/i586/memset.S: Likewise.
30247         * sysdeps/i386/i686/memcpy.S: Likewise.
30248         * sysdeps/i386/i686/memmove.S: Likewise.
30249         * sysdeps/i386/i686/mempcpy.S: Likewise.
30250         * sysdeps/i386/i686/memset.S: Likewise.
30251         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30252         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30253         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30254         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30255         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30256         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30257         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30258         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30259         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30260         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30261         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30262         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30263         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30264         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30265         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30266         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30267         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30268         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30269         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30270         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30271         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30272         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30276         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30277         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30278         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30280         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30281         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30282         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30284         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30285         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30287         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30288         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30289         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30290         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30291         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30292         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30294         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30295         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30296         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30297         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30298         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30300         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30301         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30302         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30303         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30304         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30305         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30306         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30307         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30308         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30309         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30310         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30311         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30312         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30313         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30314         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30315         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30316         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30317         * sysdeps/posix/closedir.c: Likewise.
30318         * sysdeps/posix/opendir.c: Likewise.
30319         * sysdeps/posix/readdir.c: Likewise.
30320         * sysdeps/posix/rewinddir.c: Likewise.
30321         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30322         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30323         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30324         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30325         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30326         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30327         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30332         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30333         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30334         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30335         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30336         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30338         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30339         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30341         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30342         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30343         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30356         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30357         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30359         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30360         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30361         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30362         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30363         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30364         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30365         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30366         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30367         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30368         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30369         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30377         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30378         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30379         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30380         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30381         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30382         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30383         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30384         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30385         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30386         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30387         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30388         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30389         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30390         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30391         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30392         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30393         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30394         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30395         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30396         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30397         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30398         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30399         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30400         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30401         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30402         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30405         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30406         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30407         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30408         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30409         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30411         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30412         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30413         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30417         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30419         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30420         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30421         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30422         * sysdeps/unix/alpha/sysdep.S: Likewise.
30423         * sysdeps/unix/alpha/sysdep.h: Likewise.
30424         * sysdeps/unix/make-syscalls.sh: Likewise.
30425         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30427         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30428         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30429         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30430         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30431         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30432         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30433         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30434         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30435         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30436         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30438         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30439         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30440         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30441         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30442         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30443         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30444         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30445         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30446         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30447         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30448         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30449         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30450         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30451         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30454         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30455         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30459         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30463         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30464         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30465         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30466         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30467         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30468         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30470         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30472         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30475         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30476         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30478         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30481         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30483         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30484         * sysdeps/x86_64/memcpy.S: Likewise.
30485         * sysdeps/x86_64/memmove.c: Likewise.
30486         * sysdeps/x86_64/memset.S: Likewise.
30487         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30488         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30489         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30490         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30491         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30492         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30494         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30495         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30496         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30497         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30499         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30500         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30502         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30503         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30504         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30506         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30507         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30508         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30511         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30512         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30513         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30514         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30516         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30517         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30518         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30519         * sysdeps/x86_64/strcmp.S: Likewise.
30521         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30523         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30524         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30525         * elf/rtld-Rules: Likewise.
30526         * elf/setup-vdso.h: Likewise.
30527         * include/assert.h: Likewise.
30528         * include/bits/stdlib-float.h: Likewise.
30529         * include/errno.h: Likewise.
30530         * include/sys/stat.h: Likewise.
30531         * include/unistd.h: Likewise.
30532         * sysdeps/aarch64/setjmp.S: Likewise.
30533         * sysdeps/alpha/setjmp.S: Likewise.
30534         * sysdeps/arm/__longjmp.S: Likewise.
30535         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30536         * sysdeps/arm/setjmp.S: Likewise.
30537         * sysdeps/arm/sysdep.h: Likewise.
30538         * sysdeps/generic/_itoa.h: Likewise.
30539         * sysdeps/generic/dl-sysdep.h: Likewise.
30540         * sysdeps/generic/ldsodefs.h: Likewise.
30541         * sysdeps/i386/dl-tls.h: Likewise.
30542         * sysdeps/i386/setjmp.S: Likewise.
30543         * sysdeps/m68k/setjmp.c: Likewise.
30544         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30545         * sysdeps/mach/hurd/opendir.c: Likewise.
30546         * sysdeps/posix/getcwd.c: Likewise.
30547         * sysdeps/posix/opendir.c: Likewise.
30548         * sysdeps/posix/profil.c: Likewise.
30549         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30550         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30551         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30552         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30553         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30555         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30556         * sysdeps/s390/dl-tls.h: Likewise.
30557         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30558         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30559         * sysdeps/sh/sh3/setjmp.S: Likewise.
30560         * sysdeps/sh/sh4/setjmp.S: Likewise.
30561         * sysdeps/unix/alpha/sysdep.h: Likewise.
30562         * sysdeps/unix/arm/sysdep.S: Likewise.
30563         * sysdeps/unix/i386/sysdep.S: Likewise.
30564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30566         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30568         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30569         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30570         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30572         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30573         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30574         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30575         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30576         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30579         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30582         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30583         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30587         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30588         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30589         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30591         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30592         * sysdeps/x86_64/setjmp.S: Likewise.
30594         * include/math.h: Use IS_IN instead of IS_IN_libm.
30595         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30605         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30606         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30607         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30608         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30609         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30610         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30611         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30612         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30613         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30614         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30615         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30616         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30617         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30618         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30619         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30620         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30621         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30622         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30623         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30624         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30626         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30627         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30629         Likewise.
30630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30631         Likewise.
30632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30633         Likewise.
30634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30635         Likewise.
30636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30637         Likewise.
30638         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30639         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30640         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30641         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30642         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30643         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30649         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30650         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30651         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30652         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30653         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30654         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30655         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30657         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30658         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30659         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30662         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30664         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30666         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30667         * nptl/pthreadP.h: Likewise.
30668         * nptl_db/structs.def: Likewise.
30669         * sysdeps/arm/sysdep.h: Likewise.
30670         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30671         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30672         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30673         * sysdeps/unix/alpha/sysdep.h: Likewise.
30674         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30676         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30677         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30678         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30679         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30681         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30683         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30684         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30685         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30686         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30687         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30692         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30695         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30696         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30697         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30698         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30699         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30701         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30702         * nptl/pthreadP.h: Likewise.
30703         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30704         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30705         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30706         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30707         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30708         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30709         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30710         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30711         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30712         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30713         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30714         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30716         Likewise.
30717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30718         Likewise.
30719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30721         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30724         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30725         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30726         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30728         * dlfcn/dladdr.c: Use IS_IN.
30729         * dlfcn/dladdr1.c: Likewise.
30730         * dlfcn/dlclose.c: Likewise.
30731         * dlfcn/dlerror.c: Likewise.
30732         * dlfcn/dlinfo.c: Likewise.
30733         * dlfcn/dlmopen.c: Likewise.
30734         * dlfcn/dlopen.c: Likewise.
30735         * dlfcn/dlsym.c: Likewise.
30736         * dlfcn/dlvsym.c: Likewise.
30738         * include/ifaddrs.h: Use IS_IN.
30739         * inet/check_pf.c: Likewise.
30740         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30741         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30743         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30744         IS_IN_ldconfig.
30745         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30746         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30748         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30749         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30750         IS_IN (libc).
30752         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30754         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30755         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30756         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30757         * include/libc-symbols.h (IS_IN_LIB): New macro.
30758         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30759         * include/netdb.h: Likewise.
30760         * include/stap-probe.h: Remove all uses of IN_LIB.
30762         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30763         instead of IN_MODULE.
30764         * include/libc-symbols.h (IN_MODULE): Define using
30765         MODULE_NAME.
30766         (PASTE_NAME, PASTE_NAME1): New macros.
30767         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30768         of IN_LIB.
30769         (STAP_PROBE_ASM): Likewise.
30771 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30773         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30774         __mach_init in dlopened libc.
30776 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30778         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30779         * sysdeps/arm/preconfigure: Regenerate.
30781 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30783         * nptl/pthread_create.c (__pthread_create_2_1): Set
30784         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30785         when copying values from IATTR into PD.
30787 2014-11-21  Will Newton  <will.newton@linaro.org>
30788             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30790         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30791         Refactor inline-asm.  Also add comment.
30793         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30794         ElfW macro instead of hardcoded Elf64 types.
30795         (la_aarch64_gnu_pltenter): Likewise.
30796         * sysdeps/aarch64/dl-machine.h
30797         (elf_machine_runtime_setup): Use ElfW(Addr).
30799         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30800         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30801         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30802         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30803         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30804         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30805         (R_AARCH64_TLS_DTPMOD): This.
30806         (R_AARCH64_TLS_DTPREL64): Rename to ...
30807         (R_AARCH64_TLS_DTPREL): This.
30808         (R_AARCH64_TLS_TPREL64): Rename to ...
30809         (R_AARCH64_TLS_TPREL): This.
30810         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30811         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30812         R_AARCH64_TLS_TPREL64.
30813         (elf_machine_rela): Likewise.
30815 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30817         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30818         by setting it to 0.  64b atomics are not supported currently.
30820 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30822         [BZ #16469]
30823         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30824         search domain names.
30826 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30828         [BZ #16469]
30829         * NEWS: Update.
30830         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30831         trailing dot.
30832         * posix/tst-getaddrinfo5.c: New.
30833         * posix/Makefile (tests): Add it.
30835 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30837         [BZ #14498]
30838         * NEWS: Fixed.
30839         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30840         after parsing line but before break_if_match.
30841         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30842         if there is a protocol mismatch.
30844 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30846         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30847         because the potential race is on the user-supplied stream.
30849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30851         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30852         string literal if not passed a buffer.
30853         * manual/job.texi (ctermid): Update reasoning, note deviation
30854         from posix, suggest mtasurace when not passed a buffer, for
30855         future non-preliminary safety notes.
30857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30859         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30860         of not passing it a buffer.
30861         Reported by Peng Haitao.
30863 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30865         * manual/Makefile ($(objpfx)stamp-summary): Require
30866         check-safety.sh to pass.
30867         * manual/check-safety.sh: Wish for verification that every
30868         @deftypefn and @deftypefun is followed by a @safety remark.
30870 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30872         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30874         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30875         PTHREAD_CANCEL_ASYNCHRONOUS.
30876         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30877         send SIGCANCEL.
30879         * nptl/default-sched.h: New file.
30880         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30881         * nptl/pthread_create.c: Include it.
30882         (__pthread_create_2_1): Use collect_default_sched instead of making
30883         Linux syscalls here directly.
30885 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30887         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30888         __pthread_once): Use C11 atomics.
30890 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30892         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30894 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30896         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30897         atomic_thread_fence_acquire, atomic_thread_fence_release,
30898         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30899         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30900         atomic_compare_exchange_weak_relaxed,
30901         atomic_compare_exchange_weak_acquire,
30902         atomic_compare_exchange_weak_release,
30903         atomic_exchange_acquire, atomic_exchange_release,
30904         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30905         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30906         atomic_fetch_and_acquire,
30907         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30909 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30911         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30912         USE_ATOMIC_COMPILER_BUILTINS): Define.
30913         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30915         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30917         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30919         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30921         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30923         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30925         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30927         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30929         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30931         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30933         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30935         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30937         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30939         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30941         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30943         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30945         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30947         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30948         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30949         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30951         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30954 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30956         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30957         the sched_priority value here.  It was already checked when the user
30958         called pthread_attr_setschedparam.
30960         * nptl/tst-bad-schedattr.c: New file.
30961         * nptl/Makefile (tests): Add it.
30963 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30964             Florian Weimer  <fweimer@redhat.com>
30965             Joseph Myers  <joseph@codesourcery.com>
30966             Adam Conrad  <adconrad@0c3.net>
30967             Andreas Schwab  <schwab@suse.de>
30968             Brooks  <bmoses@google.com>
30970         [BZ #17625]
30971         * wordexp-test.c (__dso_handle): Add prototype.
30972         (__register_atfork): Likewise.
30973         (__app_register_atfork): New function.
30974         (registered_forks): New global.
30975         (register_fork): New function.
30976         (test_case): Add 3 new tests for WRDE_CMDSUB.
30977         (main): Call __app_register_atfork.
30978         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30979         fork count is non-zero fail the test.
30980         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30981         is set.
30982         (parse_dollars): Remove check for WRDE_NOCMD.
30983         (parse_dquote): Likewise.
30985 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30987         * Makeconfig (built-modules): List non-library modules to be
30988         built.
30989         (module-cppflags): Include libc-modules.h for
30990         everything except shlib-versions.v.i.
30991         (CPPFLAGS): Use it.
30992         (before-compile): Add libc-modules.h.
30993         ($(common-objpfx)libc-modules.h,
30994         $(common-objpfx)libc-modules.stmp): New targets.
30995         (common-generated): Add libc-modules.h and libc-modules.stmp.
30996         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30997         * include/libc-symbols.h: Don't include libc-modules.h.
30998         * include/libc-modules.h: Remove file.
30999         * scripts/gen-libc-modules.awk: New script to generate
31000         libc-modules.h.
31001         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31002         Depend on libc-modules.stmp.
31004         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31006         * Makeconfig (in-module): Get value of libof set for the
31007         translation unit.
31008         (CPPFLAGS): Use $(in-module).
31009         * Makerules: Don't suffix routine names for nonlib.
31010         * include/libc-modules.h: New file.
31011         * include/libc-symbols.h: Include libc-modules.h
31012         (IS_IN): New macro to replace IS_IN_* macros.
31013         * elf/Makefile: Set libof-* for each routine.
31014         * elf/rtld-Rules: Likewise.
31015         * extra-modules.mk: Likewise.
31016         * iconv/Makefile: Likewise.
31017         * iconvdata/Makefile: Likewise.
31018         * locale/Makefile: Likewise.
31019         * malloc/Makefile: Likewise.
31020         * nss/Makefile: Likewise.
31021         * sysdeps/gnu/Makefile: Likewise.
31022         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31023         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31024         * sysdeps/s390/s390-64/Makefile: Likewise.
31025         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31026         CPPFLAGS for nscd instead of nonlib.
31028 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31030         * nptl/createthread.c: New file.
31032         * nptl/createthread.c: Moved ...
31033         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31035         * nptl/createthread.c: Add proper top-line comment.
31036         (do_clone): Folded into ...
31037         (create_thread): ... here.  Take new arguments STOPPED_START and
31038         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31039         increment __nptl_threads, do event-reporting logic, do
31040         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31041         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31042         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31043         just send SIGCANCEL.
31044         * nptl/pthread_create.c: Forward-declare create_thread before
31045         including createthread.c.
31046         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31047         declaration, and new macro START_THREAD_SELF to replace argument.
31048         Remove return statement.
31049         (report_thread_creation): New function.
31050         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31051         synchronization logic, and __nptl_nthreads increment here, around
31052         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31053         PD->parent_cancelhandling here, before create_thread.  When
31054         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31055         __deallocate_stack, and ENOMEM translation here.
31057 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31059         [BZ #17616]
31060         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31061         (mptwo): Rename to __mptwo.
31062         (__inv): Use __mptwo instead of mptwo.
31063         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31064         (mptwo): Rename to __mptwo.
31065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31066         of mpone and __mptwo instead of mptwo.
31067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31068         instead of mpone.
31069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31070         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31071         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31072         of mpone and __mptwo instead of mptwo.
31073         (__mpranred): Use __mpone instead of mpone.
31074         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31075         variable.
31076         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31077         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31078         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31079         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31080         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31081         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31082         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31083         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31084         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31085         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31086         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31087         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31088         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31089         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31090         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31091         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31092         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31093         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31094         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31096 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31098         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31099         replace BSD Handler xref with BSD Signal Handling.
31101 2014-11-17  Richard Henderson  <rth@redhat.com>
31103         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31104         (_FP_PACK_RAW_2): Remove.
31105         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31106         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31107         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31108         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31109         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31110         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31111         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31112         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31113         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31114         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31115         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31116         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31117         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31118         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31119         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31120         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31122 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31124         * signal/signal.h [__USE_MISC]
31125         (struct sigvec): Remove type.
31126         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31127         (sigvec): Remove declaration.
31128         * sysdeps/posix/sigvec.c: Moved ...
31129         * signal/sigvec.c: ... here, replacing old file.
31130         (struct sigvec): New type, copied from old signal.h definition.
31131         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31132         (__sigvec): Convert definition to prototype.
31133         (sigvec): Replace weak_alias with compat_symbol.
31134         * signal/Versions (libc: GLIBC_2.21): New version set.
31135         * include/signal.h: Remove __sigvec declaration.
31136         * sysdeps/unix/bsd/sigvec.c: Remove file.
31137         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31138         * manual/signal.texi (BSD Handler): Remove subsection.
31139         Move siginterrupt up to ...
31140         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31141         (Blocking in BSD): Fold subsection into its parent.
31142         * NEWS: Mention sigvec removal.
31144 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31146         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31147         (DLA_FMS): Make definition conditional only on [__FMA4__].
31148         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31149         definition.
31151         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31152         Make definition conditional only on [PROF].
31153         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31154         definition.
31155         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31156         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31158         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31159         !__GNUC__].
31160         * include/signal.h (__sigpause): Move declaration above call to
31161         libc_hidden_proto.
31162         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31163         variable.
31164         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31165         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31167 2014-11-14  David S. Miller  <davem@davemloft.net>
31169         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31170         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31172 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31174         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31175         * configure: Regenerated.
31176         * manual/install.texi (Tools for Compilation): Document a
31177         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31178         compiler verified to work.
31179         * INSTALL: Regenerated.
31181         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31182         redeclare with asm name.
31183         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31184         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31185         including <string.h>.
31186         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31187         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31188         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31189         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31190         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31192         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31194 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31196         * stdlib/strtol.c (__strtol): Use prototype definition.
31198         [BZ #17594]
31199         * stdlib/strtol.c (SYM__): New macro.
31200         (SYM__1): Likewise.
31201         (__strtol): Likewise.
31202         (strtol): Rename to __strtol and define as weak alias of
31203         __strtol.  Use libc_hidden_weak.
31205 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31207         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31208         Use numbered labels in inline assembly.
31210 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31212         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31213         Add setjmp LIBC_PROBE.
31214         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31215         Likewise.
31216         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31217         Add longjmp, longjmp_target LIBC_PROBE.
31218         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31219         Likewise.
31221 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31223         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31224         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31225         to get rid of unused variable warning.
31227 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31229         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31230         Check for unwind_backtrace ==  NULL only in SHARED case.
31231         (__backchain_backtrace): Compile only in SHARED case.
31232         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31233         Likewise.
31234         (__backchain_backtrace): Declare as static.
31236 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31238         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31239         (__libc_multiple_threads_ptr): Variable moved ...
31240         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31242 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31244         * conform/GlibcConform.pm: New file.
31245         * conform/conformtest.pl: Use GlibcConform module.
31246         * conform/linknamespace.pl: New file.
31247         * conform/list-header-symbols.pl: Likewise.
31248         * conform/Makefile (linknamespace-symlists-base): New variable.
31249         (linknamespace-symlists-tests): Likewise.
31250         (linknamespace-header-base): Likewise.
31251         (linknamespace-header-tests): Likewise.
31252         (tests-special): Add new tests.
31253         ($(linknamespace-symlists-tests)): New rule.
31254         (linknamespace-libs): New variable.
31255         ($(objpfx)symlist-stdlibs): New rule.
31256         ($(linknamespace-header-tests)): Likewise.
31257         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31258         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31259         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31260         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31261         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31262         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31263         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31264         (test-xfail-ISO/math.h/linknamespace): Likewise.
31265         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31266         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31267         (test-xfail-ISO/time.h/linknamespace): Likewise.
31268         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31269         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31270         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31271         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31272         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31273         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31274         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31275         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31276         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31277         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31278         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31279         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31280         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31281         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31282         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31283         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31284         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31285         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31286         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31287         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31288         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31289         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31290         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31291         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31292         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31293         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31294         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31295         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31296         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31297         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31298         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31299         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31300         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31301         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31302         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31303         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31304         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31305         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31306         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31307         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31308         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31309         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31310         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31311         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31312         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31313         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31314         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31315         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31316         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31317         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31318         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31319         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31320         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31321         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31322         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31323         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31324         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31325         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31326         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31327         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31328         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31329         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31330         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31331         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31332         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31333         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31334         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31335         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31336         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31337         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31338         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31339         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31340         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31341         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31342         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31343         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31344         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31345         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31346         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31347         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31348         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31349         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31350         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31351         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31352         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31353         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31354         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31355         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31356         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31357         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31358         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31359         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31360         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31361         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31362         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31363         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31364         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31365         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31366         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31367         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31368         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31369         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31370         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31371         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31372         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31373         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31374         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31375         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31376         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31377         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31378         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31379         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31380         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31381         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31382         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31383         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31384         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31385         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31386         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31387         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31388         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31389         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31390         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31391         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31392         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31393         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31394         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31395         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31396         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31397         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31398         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31399         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31400         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31401         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31402         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31403         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31404         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31405         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31406         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31407         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31408         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31409         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31410         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31411         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31412         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31413         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31414         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31415         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31416         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31417         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31419         [BZ #17589]
31420         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31421         of fgets_unlocked.
31423         [BZ #17585]
31424         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31425         (memmem): Rename to __memmem and define as weak alias of
31426         __memmem.  Use libc_hidden_weak.
31427         (__memmem): Use libc_hidden_def.
31428         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31429         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31430         memmem.
31432         [BZ #17582]
31433         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31434         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31435         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31436         and define as weak alias of __fgets_unlocked.  Use
31437         libc_hidden_weak.
31438         (__fgets_unlocked): Use libc_hidden_def.
31439         * include/stdio.h (__fgets_unlocked): Declare.  Use
31440         libc_hidden_proto.
31441         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31442         __fgets_unlocked instead of fgets_unlocked.
31443         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31444         (GET_NPROCS_CONF_PARSER): Likewise.
31445         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31446         (GET_NPROCS_CONF_PARSER): Likewise.
31448         [BZ #17574]
31449         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31450         weak alias of __wmemset.  Use libc_hidden_weak.
31451         (__wmemset): Use libc_hidden_def.
31452         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31453         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31454         of wmemset.
31456         [BZ #17573]
31457         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31458         with asm name __mempcpy.
31459         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31461         [BZ #17572]
31462         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31463         and define as weak alias of __rawmemchr.
31464         (__rawmemchr): Do not define as strong alias of rawmemchr.
31466         [BZ #17571]
31467         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31468         alias of __qsort_r.
31469         (qsort): Call __qsort_r instead of qsort_r.
31470         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31471         (__qsort_r): Declare.  Call libc_hidden_proto.
31472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31473         instead of qsort_r.
31474         * nscd/gai.c (__qsort_r): Define to qsort_r.
31475         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31476         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31477         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31479         [BZ #17570]
31480         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31481         define as weak alias of __malloc_info.
31483         [BZ #17584]
31484         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31485         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31486         (__rewinddir): Use libc_hidden_def.
31487         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31488         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31489         (__rewinddir): Use libc_hidden_def.
31490         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31491         weak alias of __rewinddir.  Don't use libc_hidden_def.
31492         (__rewinddir): Use libc_hidden_def.
31493         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31494         (__rewinddir): Use libc_hidden_proto.
31495         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31496         rewinddir.
31497         (__getcwd): Use __rewinddir instead of rewinddir.
31499         [BZ #17583]
31500         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31501         alias of __fileno.  Use libc_hidden_weak.
31502         (__fileno): Use libc_hidden_def.
31503         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31504         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31505         alias of __ftello.
31506         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31507         __ftello.
31508         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31509         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31510         libc_hidden_def.
31511         (fread_unlocked): Don't use libc_hidden_ver.
31512         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31513         and define as weak alias of __fread_unlocked.  Don't use
31514         libc_hidden_def.
31515         (__fread_unlocked): Use libc_hidden_def.
31516         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31517         (ftello): Don't use libc_hidden_proto.
31518         (__ftello): Declare.  Use libc_hidden_proto.
31519         (fread_unlocked): Don't use libc_hidden_proto.
31520         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31521         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31522         and __ftello instead of fileno, fread_unlocked and ftello.
31524 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31526         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31527         GOT12.
31528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31529         Likewise.
31530         (_dl_start_user): Likewise.
31531         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31533 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31534             Siddhesh Poyarekar  <siddhesh@redhat.com>
31536         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31537         Move argv and envp down instead of moving argc up.
31538         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31540 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31542         [BZ #17506]
31543         * test-skeleton.c (main): Return successful if one of
31544         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31545         * string/tst-strcoll-overflow.c: Define expected status.
31547 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31549         [BZ #17475]
31550         * locale/iso-639.def: Define Bhili and Tulu language codes.
31552 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31554         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31556 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31558         [BZ #17555]
31559         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31561 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31563         * configure.ac: Updated check of minimal required version to
31564         2.22.
31565         * manual/install.texi (Tools for Compilation): Updated version
31566         number.
31567         * configure: Regenerated.
31568         * INSTALL: Likewise.
31570 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31572         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31573         __tls_get_addr.
31575 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31577         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31578         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31579         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31580         libc_hidden_weak.
31581         (waitpid): Define as alias of __waitpid.
31582         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31583         __waitpid.
31584         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31585         libc_hidden_weak.
31586         (waitpid): Define as alias of __waitpid.
31587         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31588         __libc_waitpid alias.
31589         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31590         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31591         Likewise.
31592         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31593         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31594         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31595         alias.
31596         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31597         __waitpid.
31598         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31599         libc_hidden_weak.
31600         (waitpid): Define as alias of __waitpid.
31602 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31604         * manual/llio.texi: Add comment that write safety has been
31605         fixed in Linux.
31607         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31608         (localplt-build-dso): Add elf/ld.so.
31609         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31610         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31611         and free for ld.so.
31612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31613         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31615         Likewise.
31616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31617         Likewise.
31618         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31619         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31620         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31621         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31622         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31623         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31624         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31625         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31626         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31627         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31628         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31630 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31632         [BZ #14132]
31633         * include/libc-symbols.h (INTUSE): Remove macro.
31634         (INTDEF): Likewise.
31635         (INTVARDEF): Likewise.
31636         (_INTVARDEF): Likewise.
31637         (INTDEF2): Likewise.
31638         (INTVARDEF2): Likewise.
31639         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31640         rtld_hidden_def instead of INTVARDEF.
31641         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31642         (_dl_starting_up_internal): Remove declaration.
31643         (_dl_starting_up): Use rtld_hidden_proto.
31644         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31645         declaration.
31646         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31647         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31648         _dl_starting_up.
31649         * elf/dl-writev.h (_dl_writev): Likewise.
31650         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31651         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31652         _dl_starting_up_internal.
31654 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31656         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31657         test-skeleton.c.
31659 2014-11-05  Will Newton  <will.newton@linaro.org>
31661         * benchtests/Makefile: (bench-malloc): Add malloc thread
31662         scalability benchmark.
31663         * benchtests/bench-malloc-threads.c: New file.
31665 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31667         * sysdeps/aarch64/strchrnul.S: New file.
31669 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31671         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31672         definition.
31673         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31674         Likwise.
31675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31676         Likewise.
31677         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31678         Likewise.
31679         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31680         Likewise.
31681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31682         Likewise.
31684 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31686         * catgets/test-gencat.c: Use test-skeleton.c.
31687         * catgets/tst-catgets.c: Likewise.
31688         * csu/tst-empty.c: Likewise.
31689         * elf/tst-audit2.c: Likewise.
31690         * elf/tst-global1.c: Likewise.
31691         * elf/tst-pathopt.c: Likewise.
31692         * elf/tst-piemod1.c: Likewise.
31693         * elf/tst-tls10.c: Likewise.
31694         * elf/tst-tls11.c: Likewise.
31695         * elf/tst-tls12.c: Likewise.
31696         * gnulib/tst-gcc.c: Likewise.
31697         * iconvdata/tst-e2big.c: Likewise.
31698         * iconvdata/tst-loading.c: Likewise.
31699         * iconv/tst-iconv1.c: Likewise.
31700         * iconv/tst-iconv2.c: Likewise.
31701         * inet/test-inet6_opt.c: Likewise.
31702         * inet/tst-gethnm.c: Likewise.
31703         * inet/tst-network.c: Likewise.
31704         * inet/tst-ntoa.c: Likewise.
31705         * intl/tst-codeset.c: Likewise.
31706         * intl/tst-gettext2.c: Likewise.
31707         * intl/tst-gettext3.c: Likewise.
31708         * intl/tst-ngettext.c: Likewise.
31709         * intl/tst-translit.c: Likewise.
31710         * io/test-stat.c: Likewise.
31711         * libio/test-fmemopen.c: Likewise.
31712         * libio/tst-freopen.c: Likewise.
31713         * libio/tst-sscanf.c: Likewise.
31714         * libio/tst-ungetwc1.c: Likewise.
31715         * libio/tst-ungetwc2.c: Likewise.
31716         * libio/tst-widetext.c: Likewise.
31717         * localedata/tst-ctype.c: Likewise.
31718         * localedata/tst-digits.c: Likewise.
31719         * localedata/tst-leaks.c: Likewise.
31720         * localedata/tst-mbswcs1.c: Likewise.
31721         * localedata/tst-mbswcs2.c: Likewise.
31722         * localedata/tst-mbswcs3.c: Likewise.
31723         * localedata/tst-mbswcs4.c: Likewise.
31724         * localedata/tst-mbswcs5.c: Likewise.
31725         * localedata/tst-setlocale.c: Likewise.
31726         * localedata/tst-trans.c: Likewise.
31727         * localedata/tst-wctype.c: Likewise.
31728         * localedata/tst-xlocale1.c: Likewise.
31729         * login/tst-grantpt.c: Likewise.
31730         * malloc/tst-calloc.c: Likewise.
31731         * malloc/tst-malloc.c: Likewise.
31732         * malloc/tst-mallocstate.c: Likewise.
31733         * malloc/tst-mcheck.c: Likewise.
31734         * malloc/tst-mtrace.c: Likewise.
31735         * malloc/tst-obstack.c: Likewise.
31736         * math/atest-exp2.c: Likewise.
31737         * math/atest-exp.c: Likewise.
31738         * math/atest-sincos.c: Likewise.
31739         * math/test-matherr.c: Likewise.
31740         * math/test-misc.c: Likewise.
31741         * math/test-powl.c: Likewise.
31742         * math/tst-definitions.c: Likewise.
31743         * misc/tst-dirname.c: Likewise.
31744         * misc/tst-efgcvt.c: Likewise.
31745         * misc/tst-fdset.c: Likewise.
31746         * misc/tst-hsearch.c: Likewise.
31747         * misc/tst-mntent2.c: Likewise.
31748         * nptl/tst-sem7.c: Likewise.
31749         * nptl/tst-sem8.c: Likewise.
31750         * nptl/tst-sem9.c: Likewise.
31751         * nss/test-netdb.c: Likewise.
31752         * posix/tst-fnmatch.c: Likewise.
31753         * posix/tst-getlogin.c: Likewise.
31754         * posix/tst-gnuglob.c: Likewise.
31755         * posix/tst-mmap.c: Likewise.
31756         * pwd/tst-getpw.c: Likewise.
31757         * resolv/tst-inet_ntop.c: Likewise.
31758         * rt/tst-timer.c: Likewise.
31759         * stdio-common/test-fseek.c: Likewise.
31760         * stdio-common/test-popen.c: Likewise.
31761         * stdio-common/test-vfprintf.c: Likewise.
31762         * stdio-common/tst-cookie.c: Likewise.
31763         * stdio-common/tst-fileno.c: Likewise.
31764         * stdio-common/tst-gets.c: Likewise.
31765         * stdio-common/tst-obprintf.c: Likewise.
31766         * stdio-common/tst-perror.c: Likewise.
31767         * stdio-common/tst-sprintf2.c: Likewise.
31768         * stdio-common/tst-sprintf3.c: Likewise.
31769         * stdio-common/tst-sprintf.c: Likewise.
31770         * stdio-common/tst-swprintf.c: Likewise.
31771         * stdio-common/tst-tmpnam.c: Likewise.
31772         * stdio-common/tst-unbputc.c: Likewise.
31773         * stdio-common/tst-wc-printf.c: Likewise.
31774         * stdlib/tst-environ.c: Likewise.
31775         * stdlib/tst-fmtmsg.c: Likewise.
31776         * stdlib/tst-limits.c: Likewise.
31777         * stdlib/tst-rand48-2.c: Likewise.
31778         * stdlib/tst-rand48.c: Likewise.
31779         * stdlib/tst-random2.c: Likewise.
31780         * stdlib/tst-random.c: Likewise.
31781         * stdlib/tst-strtol.c: Likewise.
31782         * stdlib/tst-strtoll.c: Likewise.
31783         * stdlib/tst-tls-atexit.c: Likewise.
31784         * stdlib/tst-xpg-basename.c: Likewise.
31785         * string/test-ffs.c: Likewise.
31786         * string/tst-bswap.c: Likewise.
31787         * string/tst-inlcall.c: Likewise.
31788         * string/tst-strtok.c: Likewise.
31789         * string/tst-strxfrm.c: Likewise.
31790         * sysdeps/x86_64/tst-audit10.c: Likewise.
31791         * sysdeps/x86_64/tst-audit3.c: Likewise.
31792         * sysdeps/x86_64/tst-audit4.c: Likewise.
31793         * sysdeps/x86_64/tst-audit5.c: Likewise.
31794         * time/tst-ftime_l.c: Likewise.
31795         * time/tst-getdate.c: Likewise.
31796         * time/tst-mktime3.c: Likewise.
31797         * time/tst-mktime.c: Likewise.
31798         * time/tst-posixtz.c: Likewise.
31799         * time/tst-strptime2.c: Likewise.
31800         * time/tst-strptime3.c: Likewise.
31801         * wcsmbs/tst-btowc.c: Likewise.
31802         * wcsmbs/tst-mbrtowc.c: Likewise.
31803         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31804         * wcsmbs/tst-wchar-h.c: Likewise.
31805         * wcsmbs/tst-wcpncpy.c: Likewise.
31806         * wcsmbs/tst-wcrtomb.c: Likewise.
31807         * wcsmbs/tst-wcsnlen.c: Likewise.
31808         * wcsmbs/tst-wcstof.c: Likewise.
31810 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31812         [BZ #14132]
31813         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31814         INTDEF.
31815         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31816         declaration.
31817         (_dl_mcount): Use rtld_hidden_proto.
31818         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31819         _dl_mcount.
31820         * elf/rtld.c (_rtld_global_ro): Likewise.
31822         [BZ #14132]
31823         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31824         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31825         of _dl_init_internal.
31826         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31827         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31828         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31829         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31830         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31831         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31832         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31833         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31834         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31835         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31836         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31837         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31838         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31839         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31840         * sysdeps/tile/dl-start.S (_start): Likewise.
31841         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31842         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31844         [BZ #14132]
31845         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31846         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31847         (rtld_progname): Make macro definition unconditional.
31848         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31849         INTDEF.
31850         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31851         (dl_main): Likewise.
31852         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31853         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31854         instead of _dl_argv_internal.
31855         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31856         __GI__dl_argv instead of INTUSE(_dl_argv).
31857         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31858         __GI__dl_argv instead of _dl_argv_internal.
31860         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31861         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31862         macro.
31863         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31864         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31865         New macro.
31866         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31867         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31868         macro.
31869         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31870         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31872 2014-11-04  Andreas Schwab  <schwab@suse.de>
31874         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31876 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31878         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31879         mtvsrd instruction in binary form.
31881 2014-11-03  Andreas Schwab  <schwab@suse.de>
31883         [BZ #17522]
31884         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31885         for less than MB_LEN_MAX use a local buffer of that size.
31886         * libio/tst-fputws.c: New file.
31887         * libio/Makefile (tests): Add tst-fputws.
31889 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31891         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31892         the size of the fpu_fr.fpu_dregs[] array.
31894 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31896         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31897         (__nanosleep): Do not define as alias.
31898         (nanosleep): Define as alias of __nanosleep.
31899         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31900         __libc_nanosleep name.
31902 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31904         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31905         install.texi in comment.
31907 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31909         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31910         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31911         ... add here and use lwsync or sync ...
31912         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31913         ... and add here using lwsync.
31915 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31917         * elf/dl-machine-reject-phdr.h: New file.
31918         * elf/dl-load.c: #include that.
31919         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31920         if that returned true.
31922 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31924         [BZ #17496]
31925         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31926         gen-as-const-headers chunk.  Add a big scare comment after the last
31927         safe place to touch before-compile.
31929 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31931         * manual/install.texi (Tools for Compilation): Update autoconf
31932         version requirements.
31933         * INSTALL: Regenerated.
31935         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31936         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31937         (__libc_pselect): Likewise.
31939         [BZ #14138]
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31945 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31947         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31948         correct barrier instruction.
31949         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31950         Likewise.
31951         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31952         Likewise.
31954 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31956         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31957         after defining inlines.  Instead, just use parens to defeat macro
31958         expansion of __isctype in its declaration.
31960 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31962         * include/sys/uio.h (__libc_readv): Remove declaration.
31963         (__libc_writev): Likewise.
31964         * misc/readv.c (__libc_readv): Rename to __readv.
31965         (__readv): Do not define as alias.
31966         (readv): Define as alias of __readv.
31967         * misc/writev.c (__libc_writev): Rename to __writev.
31968         (__writev): Do not define as alias.
31969         (writev): Define as alias of __writev.
31970         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31971         (__readv): Do not define as alias.
31972         (readv): Define unconditionally as alias of __readv.
31973         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31974         (__writev): Do not define as alias.
31975         (writev): Define unconditionally as alias of __writev.
31976         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31977         name.
31978         (writev): Do not define __libc_writev name.
31980 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31982         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31983         (convert_charseq): New function, broken out of ...
31984         (use_from_charmap): ... here.  Call it.
31985         (use_to_charmap): Use convert_charseq and free instead of duplicating
31986         its code with a variable-length stack struct.
31988 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31990         * include/fcntl.h (__libc_creat): Remove declaration.
31991         * io/creat.c (__libc_creat): Rename to creat.
31992         (creat): Do not define as alias.
31993         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31994         of creat instead of __libc_creat.
31995         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31996         to creat.
31997         (creat): Do not define as alias.
31998         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31999         __libc_creat.
32000         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32001         __libc_creat name.
32002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32003         Likewise.
32005 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32007         * manual/llio.texi: Add comments discussing why write() may be
32008         considered MT-unsafe on Linux.
32010 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32012         * dl-load.c (local_strdup): Remove.
32013         (expand_dynamic_string_token): Use __strdup.
32014         (decompose_rpath): Likewise.
32015         (_dl_map_object): Likewise.
32017 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32019         [BZ #14132]
32020         * sysdeps/generic/unwind-dw2-fde.c
32021         (__register_frame_info_bases_internal): Do not declare.
32022         (__register_frame_info_table_bases_internal): Likewise.
32023         (__deregister_frame_info_bases_internal): Likewise.
32024         (__register_frame_info_bases): Declare and use hidden_proto before
32025         definition.  Use hidden_def instead of INTDEF.
32026         (__register_frame_info_table_bases): Likewise.
32027         (__deregister_frame_info_bases): Likewise.
32028         (__register_frame_info): Do not use INTUSE.
32029         (__register_frame): Likewise.
32030         (__register_frame_info_table): Likewise.
32031         (__register_frame_table): Likewise.
32032         (__deregister_frame_info): Likewise.
32033         (__deregister_frame): Likewise.
32035 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32038         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32039         not undefine.
32040         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32041         Likewise.
32042         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32043         Likewise.
32045 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32047         [BZ #14138]
32048         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32049         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32050         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32051         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32052         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32053         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32054         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32055         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32056         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32057         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32058         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32059         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32060         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32061         syscall.
32062         (setfsuid): Likewise.
32063         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32064         (setfsuid): Likewise.
32065         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32066         (setfsuid): Likewise.
32067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32068         Likewise.
32069         (setfsuid): Likewise.
32070         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32071         (setfsuid): Likewise.
32072         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32073         Likewise.
32074         (setfsuid): Likewise.
32076 2014-10-27  Andreas Schwab  <schwab@suse.de>
32078         [BZ #17501]
32079         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32080         check for Slow_SSE4_2 feature bit.
32081         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32082         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32083         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32084         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32086 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32088         * configure.ac: Validate compiler version with a empirical test of
32089         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32090         $CC -v output.
32091         * configure: Regenerated.
32093         * inet/htons.c (htons): Prototypify.
32094         * inet/htonl.c (htonl): Likewise.
32096 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32098         * string/strncat.c (strncat): Improve performance by using strlen.
32100 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32102         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32104 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32106         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32107         Call libc_fetestexcept_aarch64.
32109 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32111         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32112         Call libc_feholdexcept_aarch64.
32114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32116         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32117         Call get_rounding_mode.
32119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32121         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32122         Simplify logic.
32124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32126         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32127         Simplify logic.
32129 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32131         [BZ #14138]
32132         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32133         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32134         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32135         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32136         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32137         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32138         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32139         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32140         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32141         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32142         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32144         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32145         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32146         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32147         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32148         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32149         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32150         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32151         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32152         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32153         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32154         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32155         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32156         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32157         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32158         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32159         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32160         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32161         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32162         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32163         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32164         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32165         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32166         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32167         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32168         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32169         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32170         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32171         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32172         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32173         syscall.
32174         (geteuid): Likewise.
32175         (getgid): Likewise.
32176         (getuid): Likewise.
32177         (getresgid): Likewise.
32178         (getresuid): Likewise.
32179         (getgroups): Likewise.
32180         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32181         (geteuid): Likewise.
32182         (getgid): Likewise.
32183         (getuid): Likewise.
32184         (getresgid): Likewise.
32185         (getresuid): Likewise.
32186         (getgroups): Likewise.
32187         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32188         (geteuid): Likewise.
32189         (getgid): Likewise.
32190         (getuid): Likewise.
32191         (getresgid): Likewise.
32192         (getresuid): Likewise.
32193         (getgroups): Likewise.
32194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32195         Likewise.
32196         (geteuid): Likewise.
32197         (getgid): Likewise.
32198         (getuid): Likewise.
32199         (getresgid): Likewise.
32200         (getresuid): Likewise.
32201         (getgroups): Likewise.
32202         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32203         (geteuid): Likewise.
32204         (getgid): Likewise.
32205         (getuid): Likewise.
32206         (getresgid): Likewise.
32207         (getresuid): Likewise.
32208         (getgroups): Likewise.
32209         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32210         Likewise.
32211         (geteuid): Likewise.
32212         (getgid): Likewise.
32213         (getuid): Likewise.
32214         (getgroups): Likewise.
32216         [BZ #14138]
32217         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32218         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32219         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32220         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32221         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32222         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32223         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32224         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32225         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32226         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32227         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32228         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32229         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32230         __chown.
32231         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32232         (lchown): Likewise.
32233         (fchown): Likewise.
32234         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32235         Likewise.
32236         (lchown): Likewise.
32237         (fchown): Likewise.
32238         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32239         (lchown): Likewise.
32240         (fchown): Likewise.
32241         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32242         Likewise.
32243         (lchown): Likewise.
32244         (fchown): Likewise.
32246 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32248         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32249         Simplify logic.
32251 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32253         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32254         Cleanup logic.
32256 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32258         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32259         Remove unused include.
32261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32263         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32264         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32265         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32266         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32268 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32269             Helge Deller <deller@gmx.de>
32271         [BZ #17508]
32272         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32273         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32274         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32276 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32278         [BZ #14132]
32279         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32280         Remove macro definition.
32281         (__ashrdi3_v_glibc20): Likewise.
32282         (__lshrdi3_v_glibc20): Likewise.
32283         (__cmpdi2_v_glibc20): Likewise.
32284         (__ucmpdi2_v_glibc20): Likewise.
32285         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32286         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32287         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32288         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32289         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32290         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32292 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32294         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32295         old GNU extension [0] syntax.
32296         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32297         alloca rather than an array member with variable length.
32298         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32299         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32300         (parse_opt): ... here.  Likewise use alloca there.
32301         Validate the -i argument before checking for rootness.
32302         (send_shutdown): New function, broken out of ...
32303         (parse_opt): ... here.
32305 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32307         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32308         macro to get at the _rt_local_ro field.
32309         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32310         ([PIC] case) or _dl_hwcap ([!PIC] case).
32311         * sysdeps/arm/setjmp.S: Likewise.
32313         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32314         * sysdeps/arm/configure.ac: New check to define it.
32315         * sysdeps/arm/configure: Regenerated.
32316         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32317         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32318         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32319         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32320         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32321         Use move/movt pair instead of a load.
32322         (LDST_GLOBAL): Macro removed.
32323         (LDR_GLOBAL): New macro replaces it.
32324         (LDR_HIDDEN): New macro.
32325         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32326         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32328         * setjmp/tst-setjmp-static.c: New file.
32329         * setjmp/Makefile (tests): Add it.
32330         (tests-static): New variable.
32332 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32334         [BZ #17485]
32335         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32337 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32339         [BZ #14132]
32340         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32342 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32344         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32346 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32348         * io/fts.c (dirent_not_directory): New function.
32349         (fts_build): Call it.
32351 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32353         * nptl/version.c (__nptl_main): Use normal __write rather than
32354         INTERNAL_SYSCALL.
32355         (banner): Update copyright years.
32357         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32358         gettimeofday.
32359         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32360         * nptl/pthread_cond_timedwait.c: Likewise.
32361         * nptl/pthread_mutex_timedlock.c: Likewise.
32362         * nptl/sem_timedwait.c: Likewise.
32364         * sysdeps/nptl/bits/libc-lock.h
32365         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32366         (__libc_lock_init_recursive): Return void, not 0.
32367         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32368         (__libc_rwlock_init): Likewise.
32369         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32371 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32373         [BZ #15215]
32374         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32375         (__pthread_once_slow): ... here.
32376         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32377         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32379 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32381         [BZ #15215]
32382         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32383         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32384         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32385         * nptl/pthread_once.c (__pthread_once): Likewise.
32386         Update comments.
32388 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #14138]
32391         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32392         name.
32393         (writev): Use __libc_writev as strong name.
32394         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32395         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32397 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32399         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32401         * sysdeps/i386/nptl/tls.h
32402         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32403         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32404         New macros.
32405         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32406         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32407         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32408         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32409         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32410         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32412         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32413         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32414         on [__NR_futex].
32415         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32416         broken out of ...
32417         (__pthread_mutex_init): ... here.  Call it.
32418         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32419         Conditionalize PI cases on [__NR_futex].
32420         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32421         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32422         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32424         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32425         conditional on [SIGSETXID].
32426         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32427         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32428         is defined.  Likewise for SIGSETXID.
32429         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32430         Conditionalize definitions on [SIGSETXID].
32431         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32432         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32433         unblocking on [SIGCANCEL].
32435         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32436         [__NR_set_robust_list].
32438 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32440         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32441         (do_compare): Likewise.
32443 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32445         [BZ #15884]
32446         * string/strcoll_l.c: Don't include stdio.h.
32447         (coll_seq): Remove members idxarr and rulearr.
32448         (get_next_seq_cached): Remove function.
32449         (get_next_seq): Likewise.
32450         (get_next_seq_nocache): Rename to get_next_seq.
32451         (do_compare): Remove function.
32452         (do_compare_nocache): Rename to do_compare.
32453         (STRCOLL): Remove weight and rules cache.
32455 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32457         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32458         * sysdeps/arm/sfp-machine.h: ... to here.
32459         * sysdeps/arm/Implies: Remove arm/soft-fp.
32461 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32463         * conform/data/sys/utsname.h-data (*_t): Allow.
32464         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32465         [POSIX] (WEXITED): Do not expect constant.
32466         [POSIX] (WSTOPPED): Likewise.
32467         [POSIX] (WNOHANG): Likewise.
32468         [POSIX] (WNOWAIT): Likewise.
32469         [POSIX] (siginfo_t): Do not expect type or elements.
32470         [POSIX] (pid_t): Do not expect type.
32471         [POSIX] (signal.h): Do not allow header.
32472         [POSIX] (sys/resource.h): Likewise.
32473         [POSIX] (si_*): Do not allow pattern.
32474         [POSIX] (W*): Likewise.
32475         [POSIX] (P_*): Likewise.
32476         [POSIX] (BUS_*): Likewise.
32477         [POSIX] (CLD_*): Likewise.
32478         [POSIX] (FPE_*): Likewise.
32479         [POSIX] (ILL_*): Likewise.
32480         [POSIX] (POLL_*): Likewise.
32481         [POSIX] (SEGV_*): Likewise.
32482         [POSIX] (SI_*): Likewise.
32483         [POSIX] (TRAP_*): Likewise.
32484         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32485         variable.
32487 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32489         [BZ #12926]
32490         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32491         infinite loop when __recvmsg returns 0.
32493 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32495         * CANCEL-FCT-WAIVE: Remove file.
32496         * CANCEL-FILE-WAIVE: Likewise.
32498         [BZ #14132]
32499         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32500         instead of INTVARDEF.
32501         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32502         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32503         rtld_hidden_data_def instead of INTVARDEF.
32504         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32505         * elf/dl-deps.c (expand_dst): Likewise.
32506         * elf/dl-load.c (_dl_dst_count): Likewise.
32507         (_dl_dst_substitute): Likewise.
32508         (decompose_rpath): Likewise.
32509         (_dl_init_paths): Likewise.
32510         (open_path): Likewise.
32511         (_dl_map_object): Likewise.
32512         * elf/rtld.c (dl_main): Likewise.
32513         (process_dl_audit): Likewise.
32514         (process_envvars): Likewise.
32515         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32516         Remove declaration.
32517         (__libc_enable_secure): Use rtld_hidden_proto.
32519 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32521         * elf/dl-load.c
32522         (add_path): New function broken out of _dl_rtld_di_serinfo.
32523         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32525 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32527         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32528         parentheses around macro arguments.
32529         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32531         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32535         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32539         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32540         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32541         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32542         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32543         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32544         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32545         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32550         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32554         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32555         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32558         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32559         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32560         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32561         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32562         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32563         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32564         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32565         Likewise.
32566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32573         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32577         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32578         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32587         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32588         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32592         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32593         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32594         (_FP_FRAC_SRS_1): Likewise.
32595         (_FP_FRAC_CLZ_1): Likewise.
32596         (_FP_MUL_MEAT_1_imm): Likewise.
32597         (_FP_MUL_MEAT_1_wide): Likewise.
32598         (_FP_MUL_MEAT_1_hard): Likewise.
32599         (_FP_SQRT_MEAT_1): Likewise.
32600         (_FP_FRAC_ASSEMBLE_1): Likewise.
32601         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32602         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32603         (__FP_CLZ_2): Likewise.
32604         (_FP_MUL_MEAT_2_wide): Likewise.
32605         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32606         (_FP_MUL_MEAT_2_gmp): Likewise.
32607         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32608         (_FP_SQRT_MEAT_2): Likewise.
32609         (_FP_FRAC_ASSEMBLE_2): Likewise.
32610         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32611         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32612         (_FP_FRAC_CLZ_4): Likewise.
32613         (_FP_MUL_MEAT_4_wide): Likewise.
32614         (_FP_MUL_MEAT_4_gmp): Likewise.
32615         (_FP_SQRT_MEAT_4): Likewise.
32616         (_FP_FRAC_ASSEMBLE_4): Likewise.
32617         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32618         * soft-fp/op-common.h (_FP_CMP): Likewise.
32619         (_FP_CMP_EQ): Likewise.
32620         (_FP_CMP_UNORD): Likewise.
32621         (_FP_TO_INT): Likewise.
32622         (_FP_FROM_INT): Likewise.
32623         [!__FP_CLZ] (__FP_CLZ): Likewise.
32624         (_FP_DIV_HELP_imm): Likewise.
32625         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32626         Likewise.
32627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32629         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32630         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32631         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32638         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32639         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32640         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32641         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32642         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32643         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32644         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32645         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32647         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32648         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32656         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32657         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32658         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32660         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32661         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32662         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32663         (FP_UNPACK_RAW_SP): Likewise.
32664         (FP_PACK_RAW_S): Likewise.
32665         (FP_PACK_RAW_SP): Likewise.
32666         (FP_UNPACK_S): Likewise.
32667         (FP_UNPACK_SP): Likewise.
32668         (FP_UNPACK_SEMIRAW_S): Likewise.
32669         (FP_UNPACK_SEMIRAW_SP): Likewise.
32670         (FP_PACK_S): Likewise.
32671         (FP_PACK_SP): Likewise.
32672         (FP_PACK_SEMIRAW_S): Likewise.
32673         (FP_PACK_SEMIRAW_SP): Likewise.
32674         (_FP_SQRT_MEAT_S): Likewise.
32675         (FP_CMP_S): Likewise.
32676         (FP_CMP_EQ_S): Likewise.
32677         (FP_CMP_UNORD_S): Likewise.
32678         (FP_TO_INT_S): Likewise.
32679         (FP_FROM_INT_S): Likewise.
32681         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32683         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32684         (FP_EX_INVALID_IMZ): Likewise.
32685         (FP_EX_INVALID_IMZ_FMA): Likewise.
32686         (FP_EX_INVALID_ISI): Likewise.
32687         (FP_EX_INVALID_ZDZ): Likewise.
32688         (FP_EX_INVALID_IDI): Likewise.
32689         (FP_EX_INVALID_SQRT): Likewise.
32690         (FP_EX_INVALID_CVI): Likewise.
32691         (FP_EX_INVALID_VC): Likewise.
32692         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32693         "invalid" exceptions.
32694         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32695         (_FP_ADD_INTERNAL): Likewise.
32696         (_FP_MUL): Likewise.
32697         (_FP_FMA): Likewise.
32698         (_FP_DIV): Likewise.
32699         (_FP_CMP_CHECK_NAN): Likewise.
32700         (_FP_SQRT): Likewise.
32701         (_FP_TO_INT): Likewise.
32702         (FP_EXTEND): Likewise.
32704 2014-10-09  Allan McRae  <allan@archlinux.org>
32706         * po/fr.po: Update French translation from translation project.
32708 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32710         [BZ #14132]
32711         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32712         of INTDEF.
32713         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32714         (__cxa_atexit): Use libc_hidden_proto.
32715         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32717         [BZ #14132]
32718         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32719         declaration.
32720         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32721         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32722         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32723         [!_ISOMAC] (__iswctype_internal): Likewise.
32724         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32725         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32726         alias.
32727         (fcntl): Remove __fcntl_internal alias.
32728         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32729         __connect_internal alias.
32730         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32731         Likewise.
32733         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32735         FP_DENORM_ZERO.
32736         (_FP_CHECK_FLUSH_ZERO): New macro.
32737         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32738         (_FP_CMP): Likewise.
32739         (_FP_CMP_EQ): Likewise.
32740         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32741         FP_DENORM_ZERO.
32742         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32743         (FP_TRUNC): Likewise.
32745         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32746         treated as invalid conversion, not as normal exponent.
32748         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32749         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32750         (_FP_CMP_EQ): Likewise.
32751         (_FP_CMP_UNORD): Likewise.
32752         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32753         (FP_CMP_EQ_D): Likewise.
32754         (FP_CMP_UNORD_D): Likewise.
32755         * soft-fp/extended.h (FP_CMP_E): Likewise.
32756         (FP_CMP_EQ_E): Likewise.
32757         (FP_CMP_UNORD_E): Likewise.
32758         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32759         (FP_CMP_EQ_Q): Likewise.
32760         (FP_CMP_UNORD_Q): Likewise.
32761         * soft-fp/single.h (FP_CMP_S): Likewise.
32762         (FP_CMP_EQ_S): Likewise.
32763         (FP_CMP_UNORD_S): Likewise.
32764         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32765         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32766         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32767         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32768         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32769         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32770         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32771         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32772         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32773         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32774         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32775         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32776         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32777         to FP_CMP_Q.
32778         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32779         FP_CMP_Q.
32780         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32781         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32782         FP_CMP_EQ_Q.
32783         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32784         FP_CMP_Q.
32785         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32786         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32787         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32788         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32789         FP_CMP_EQ_Q.
32790         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32791         FP_CMP_Q.
32792         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32793         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32794         FP_CMP_EQ_Q.
32795         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32796         FP_CMP_Q.
32797         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32798         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32799         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32800         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32801         FP_CMP_EQ_Q.
32803         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32804         a subnormal result, set the underflow exception if trapping on
32805         underflow is enabled.
32806         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32807         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32808         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32809         redefine to 0.
32810         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32811         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32812         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32813         * soft-fp/extendxftf2.c (__extendxftf2): Use
32814         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32816         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32817         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32818         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32819         FP_HANDLE_EXCEPTIONS.
32820         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32821         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32822         FP_HANDLE_EXCEPTIONS.
32823         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32824         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32825         FP_HANDLE_EXCEPTIONS.
32826         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32827         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32828         FP_HANDLE_EXCEPTIONS.
32830 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32832         [BZ #14132]
32833         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32834         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32835         use INTUSE.
32836         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32837         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32838         Remove alias.
32839         (__adjtimex): Define using libc_hidden_ver.
32840         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32841         Remove declaration.
32842         (ntp_gettime): Call __adjtimex directly.
32843         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32844         Remove declaration.
32845         (ntp_gettimex): Call __adjtimex directly.
32846         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32847         __adjtimex_internal alias.
32849 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32851         [BZ #17460]
32852         * nscd/nscd.c (more_help): Rewrite list of tables collection
32853         using xstrdup and asprintf.
32855         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32857 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32858             Roland McGrath  <roland@hack.frob.com>
32860         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32861         (do_lookup_unique): ... local function 'enter' here; update callers.
32863 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32865         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32866         compat_symbol calls on [SHARED].
32867         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32868         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32869         Remove.
32870         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32871         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32872         (oldsetrlimit): Remove.
32873         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32875         (lchown): New syscall entry.
32876         (oldsetrlimit): Remove.
32877         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32878         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32879         (oldsetrlimit): Remove.
32880         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32882         [BZ #14138]
32883         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32884         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32885         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32886         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32887         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32888         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32889         (fchown): Likewise.
32890         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32891         (fchown): Likewise.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32893         Likewise.
32895 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32898         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32899         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32900         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32901         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32902         Likewise.
32903         (__old_sem_post): Likewise.
32905 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32907         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32908         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32909         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32910         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32911         Use INLINE_VSYSCALL macro.
32912         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32913         __vdso_clock_gettime.
32914         * sysdeps/unix/sysv/linux/tile/init-first.c
32915         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32916         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32917         __vdso_clock_gettime.
32919         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32920         to set up frame more cleanly.
32922         * sysdeps/tile/memcmp.c: New file.
32924         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32926         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32927         * sysdeps/tile/tilegx/strcasestr.c: New file.
32928         * sysdeps/tile/tilegx/strnlen.c: New file.
32929         * sysdeps/tile/tilegx/strstr.c: New file.
32931         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32933 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32935         * nptl/tst-setuid3.c: Write errors to stdout.
32937 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32939         * elf/dl-deps.c
32940         (preload): New functions broken out of _dl_map_object_deps.
32941         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32943 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32945         [BZ #14138]
32946         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32947         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32949 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32951         * sysdeps/mips/strcmp.S: New.
32953 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32955         [BZ #14138]
32956         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32957         (linkat): Likewise.
32958         (mkdirat): Likewise.
32959         (readlinkat): Likewise.
32960         (renameat): Likewise.
32961         (symlinkat): Likewise.
32962         (unlinkat): Likewise.
32963         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32964         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32965         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32966         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32967         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32968         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32969         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32971 2014-09-30  Will Newton  <will.newton@linaro.org>
32973         * math/math.h: Define long double math functions if
32974         _LIBC_TEST is defined.
32975         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32977         * localedata/Makefile: Move assignment to tests-special
32978         into an ifdef testing run-built-tests.
32979         * timezone/Makefile: Likewise.
32981 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32983         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32984         with $(BASH) not $(SHELL).
32986 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32987             Matthew LeGendre  <legendre1@llnl.gov>
32989         [BZ #17411]
32990         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32991         l_reloc_result.
32993 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32995         * stdio-common/printf_fp.c
32996         (hack_digit): New function, broken out of ...
32997         (__printf_fp): ... local function here.  Update call sites.
32998         hack_digit now takes an additional parameter that is a pointer
32999         to a struct of the referenced locals.  Those locals moved inside
33000         the struct and references updated.
33002 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33004         * aclocal.m4: Require autoconf 2.69.
33005         * configure: Regenerated.
33006         * sysdeps/aarch64/configure: Likewise.
33007         * sysdeps/alpha/configure: Likewise.
33008         * sysdeps/arm/armv7/configure: Likewise.
33009         * sysdeps/arm/configure: Likewise.
33010         * sysdeps/ia64/configure: Likewise.
33011         * sysdeps/mach/configure: Likewise.
33012         * sysdeps/mips/configure: Likewise.
33013         * sysdeps/s390/configure: Likewise.
33014         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33017         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33018         file.
33019         * sysdeps/ia64/configure.ac: Likewise.
33021 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33024         specify symbol version for ld.so.  Do not include entry for
33025         libpthread.
33026         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33027         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33028         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33030         [BZ #14171]
33031         * Makeconfig [$(build-shared) = yes]
33032         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33033         makefiles.
33034         [$(build-shared) = yes && $(soversions.mk-done) = t]
33035         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33036         [$(build-shared) = yes && $(soversions.mk-done) = t]
33037         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33038         to Makerules.
33039         [$(build-shared) = yes && $(soversions.mk-done) = t]
33040         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33041         here.
33042         [$(build-shared) = yes && $(soversions.mk-done) = t]
33043         (common-generated): Don't append gnu/lib-names.h and
33044         gnu/lib-names.stmp here.
33045         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33046         (lib-names-h-abi): New variable.
33047         [$(build-shared) = yes && $(soversions.mk-done) = t]
33048         (lib-names-stmp-abi): Likewise.
33049         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33050         abi-variants] (before-compile): Append
33051         $(common-objpfx)$(lib-names-h-abi).
33052         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33053         abi-variants] (common-generated): Append gnu/lib-names.h.
33054         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33055         abi-variants] (install-others-nosubdir): Depend on
33056         $(inst_includedir)/$(lib-names-h-abi).
33057         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33058         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33059         [$(build-shared) = yes && $(soversions.mk-done) = t]
33060         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33061         [$(build-shared) = yes && $(soversions.mk-done) = t]
33062         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33063         [$(build-shared) = yes && $(soversions.mk-done) = t]
33064         (common-generated): Append $(lib-names-h-abi) and
33065         $(lib-names-stmp-abi).
33066         * scripts/lib-names.awk: Do not handle multi being set.
33067         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33068         Remove variable.
33069         (abi-lp64_be-ld-soname): Likewise.
33070         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33071         Likewise.
33072         (abi-hard-ld-soname): Likewise.
33073         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33074         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33075         Remove variable.
33076         (abi-o32_hard-ld-soname): Likewise.
33077         (abi-o32_soft_2008-ld-soname): Likewise.
33078         (abi-o32_hard_2008-ld-soname): Likewise.
33079         (abi-n32_soft-ld-soname): Likewise.
33080         (abi-n32_hard-ld-soname): Likewise.
33081         (abi-n32_soft_2008-ld-soname): Likewise.
33082         (abi-n32_hard_2008-ld-soname): Likewise.
33083         (abi-n64_soft-ld-soname): Likewise.
33084         (abi-n64_hard-ld-soname): Likewise.
33085         (abi-n64_soft_2008-ld-soname): Likewise.
33086         (abi-n64_hard_2008-ld-soname): Likewise.
33087         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33088         Likewise.
33089         (abi-64-v2-ld-soname): Likewise.
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33091         ld.so entries.
33092         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33093         variable.
33094         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33095         entry.
33096         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33097         variable.
33098         (abi-64-ld-soname): Likewise.
33099         (abi-x32-ld-soname): Likewise.
33100         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33101         entry.
33102         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33104 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33106         [BZ #14138]
33107         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33108         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33109         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33110         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33111         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33112         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33113         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33114         syscall entry for GLIBC_2.2 symbol version.
33115         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33116         Likewise.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33118         (setrlimit): Likewise.
33119         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33120         Likewise.
33122 2014-09-23  Will Newton  <will.newton@linaro.org>
33124         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33125         _LINUX_ARM_SYSDEP_H include guard too.
33126         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33127         define.
33129 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33131         * sysdeps/unix/sysv/linux/eventfd.c:
33132         Make first argument unsigned.
33133         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33134         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33136 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33138         [BZ #16852]
33139         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33140         * socket/sys/socket.h: Likewise.
33141         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33143 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33145         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33147 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33149         * time/tst-ftime.c: New test.
33150         * time/Makefile (tests): Add tst-ftime.
33152 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33154         * soft-fp/extended.h: Fix comment formatting.
33155         * soft-fp/op-1.h: Likewise.
33156         * soft-fp/op-2.h: Likewise.
33157         * soft-fp/op-4.h: Likewise.
33158         * soft-fp/op-8.h: Likewise.
33159         * soft-fp/op-common.h: Likewise.
33160         * soft-fp/soft-fp.h: Likewise.
33162         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33164 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33166         [BZ #6652]
33167         * Makeconfig (soversions-default-setname): Remove variable.
33168         ($(common-objpfx)soversions.i): Don't pass default_setname to
33169         soversions.awk.
33170         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33171         oldest_abi to abi-versions.awk.
33172         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33173         * config.make.in (oldest-abi): Remove variable.
33174         * configure.ac (--enable-oldest-abi): Remove configure option.
33175         * configure: Regenerated.
33176         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33177         text.
33178         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33179         * scripts/soversions.awk: Do not handle default_setname variable.
33180         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33181         variable.
33182         * sysdeps/mach/hurd/configure: Regenerated.
33183         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33184         variable.
33185         * sysdeps/unix/sysv/linux/configure: Regenerated.
33187 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33189         * elf/Makefile (CFLAGS-interp.c): Remove.
33190         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33191         path string.
33192         * elf/interp.c: Include generated runtime-linker.h
33194         * Makerules (lib%.so): Don't include $(+interp) in
33195         prerequisites.
33196         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33197         * dlfcn/eval.c: Remove file.
33199         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33200         macros.
33202         [BZ #17266]
33203         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33204         4.2 and newer.
33206         [BZ #17370]
33207         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33209 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33210             Jakub Jelinek  <jakub@redhat.com>
33212         [BZ #17266]
33213         * libio/stdio.h: Check definition of __fortify_function
33214         instead of __extern_always_inline to include bits/stdio2.h.
33215         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33216         check if __extern_always_inline is defined.
33217         [__USE_MISC || __USE_XOPEN]: Likewise.
33218         [__USE_ISOC99] Likewise.
33219         * misc/sys/cdefs.h (__fortify_function): Define only if
33220         __extern_always_inline is defined.
33221         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33222         __extern_always_inline and __extern_inline only for g++-4.3
33223         and newer or a compatible gcc.
33225 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33227         [BZ #17371]
33228         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33229         last change to handle zero prefix length.
33231 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33233         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33234         _SC_REGEX_VERSION.
33236         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33237         _POSIX_RAW_SOCKETS.
33239 2014-09-13  Allan McRae  <allan@archlinux.org>
33241         * po/ru.po: Update Russian translation from translation project.
33243 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33245         * locale/programs/locale.c (show_locale_vars): Inline local function
33246         into its sole call site.  Clean up some style nits.
33247         (print_item): New function, broken out of ...
33248         (show_info): ... local function here.  Clean up style nits.
33250         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33251         out of ...
33252         (set_class_defaults): ... local function set_default here.
33253         Define set_default as a macro locally to pass constant parameters.
33254         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33255         rather than a shared local.
33257         * stdlib/rpmatch.c (try): New function, broken out of ...
33258         (rpmatch): ... local function here.  Also, prototypify definition.
33260 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33262         * scripts/soversions.awk: Do not handle configuration names.
33263         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33264         vendor and os variables to soversions.awk.
33265         * configure.ac: Do not modify gnu-* host_os.
33266         * configure: Regenerated
33267         * shlib-versions: Remove first column with configuration names.
33268         * nptl/shlib-versions: Likewise.
33269         * nptl_db/shlib-versions: Likewise.
33270         * sysdeps/hppa/shlib-versions: Likewise.
33271         * sysdeps/m68k/shlib-versions: Likewise.
33272         * sysdeps/mach/hurd/shlib-versions: Likewise.
33273         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33274         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33275         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33276         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33277         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33278         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33279         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33280         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33282         Likewise.
33283         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33284         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33285         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33286         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33287         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33288         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33289         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33290         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33293         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33295         Regenerated.
33296         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33298         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33300         * shlib-versions: Remove OS-specific entries.  Moved to files in
33301         sysdeps.
33302         * sysdeps/mach/hurd/shlib-versions: New file.
33303         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33305         * nptl/shlib-versions: Remove architecture-specific entries.
33306         Moved to files in sysdeps.
33307         * shlib-versions: Likewise.
33308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33309         file.
33310         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33311         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33312         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33313         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33315         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33316         (UDP_NO_CHECK6_RX): Likewise.
33318 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33320         * sysdeps/posix/sysconf.c (__sysconf): Spell
33321         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33323 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33325         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33326         loading.
33327         * iconv/Versions (__gconv_transliterate): Export for use from
33328         gconv modules.
33329         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33330         (struct __gconv_trans_data, __gconv_trans_fct,
33331         __gconv_trans_context_fct, __gconv_trans_query_fct,
33332         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33333         definitions.
33334         (struct __gconv_step_data): Remove __trans member.
33335         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33336         longer hidden.  Remove unused trans_data argument.
33337         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33338         (__gconv_translit_find): Remove declaration.
33339         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33340         prototype.
33341         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33342         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33343         trans_data argument.  Add hidden definition.
33344         (__gconv_translit_find): Remove.
33345         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33346         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33347         * iconv/skeleton.c: Remove transliteration initialization.
33348         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33349         __gconv_step_data initialization.
33350         * libio/iofwide.c (__libio_translit_): Remove.
33351         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33352         * wcsmbs/btowc.c (__btowc): Likewise.
33353         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33354         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33355         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33356         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33357         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33358         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33359         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33360         * wcsmbs/wctob.c (wctob): Likewise.
33362 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33364         [BZ #16194]
33365         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33366         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33367         register usage.
33368         * sysdeps/x86/Makefile: Adjust.
33370 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33371             Roland McGrath  <roland@hack.frob.com>
33373         * locale/weight.h: Add include guard.
33374         (findidx): Make static rather than auto; take new parameters
33375         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33376         * locale/weightwc.h: Likewise.
33377         * posix/fnmatch_loop.c
33378         (FCT): Change type of EXTRA from int32_t to wint_t.
33379         Don't include either header inside the function.
33380         Call FINDIDX rather than findidx, and pass new arguments.
33381         #undef FINDIDX at the end of the file.
33382         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33383         FINDIDX before including fnmatch_loop.c for the non-wide version.
33384         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33385         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33386         for the wide version.
33387         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33388         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33389         Pass new arguments to findidx.
33390         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33391         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33392         Don't #include it inside the function.  Pass new arguments to findidx.
33393         * posix/regex_internal.h
33394         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33395         (re_string_elem_size_at): Don't #include it inside the function.
33396         Pass new arguments to findidx.
33397         * string/strcoll_l.c: #include WEIGHT_H at top level.
33398         (get_next_seq): Don't #include it inside the function.
33399         Pass new arguments to findidx.
33400         (get_next_seq_nocache): Likewise.
33401         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33402         (STRXFRM): Don't #include it inside the function.
33403         Pass new arguments to findidx.
33405 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33407         [BZ #17344]
33408         * malloc/malloc.c (unlink): Turn asserts into a call to
33409         malloc_printerr.
33411 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33413         [BZ #17370]
33414         * libio/wfileops (do_ftell_wide): Free OUT.
33416 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33418         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33420 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33422         [BZ #17363]
33423         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33424         group if the current group is empty.
33426 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33428         * benchtests/bench-memset.c (test_main): Add more test from size
33429         from 32 to 512 bytes.
33430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33431         Add POWER8 memset object.
33432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33433         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33434         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33435         implementation.
33436         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33437         Likewise.
33438         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33439         multiarch POWER8 memset optimization.
33440         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33441         POWER8 memset optimization.
33443         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33444         Remove bzero multiarch objects.
33445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33446         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33447         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33448         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33449         Remove define.
33450         [__bzero]: Redefine to specific name.
33451         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33452         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33453         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33454         define.
33455         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33456         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33458 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33460         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33461         warnings into errors.
33463         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33464         __cxa_thread_atexit_impl prototype.
33466 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33468         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33469         Fix capitalization of error message.
33471 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33473         * sysdeps/mips/preconfigure: Modify ABI tests.
33475 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33477         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33479 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33480             Carlos O'Donell  <carlos@systemhalted.org>
33482         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33483         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33484         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33485         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33486         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33487         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33488         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33489         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33490         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33491         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33492         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33493         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33494         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33495         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33496         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33497         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33499         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33500         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33501         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33502         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33504         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33505         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33506         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33507         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33508         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33509         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33510         Deconditionalize the code that was previously under [RESET_PID].
33511         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33512         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33513         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33514         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33515         include sysdep.h.
33517 2014-09-08  Allan McRae  <allan@archlinux.org>
33519         * version.h (RELEASE): Set to "development".
33520         (VERSION): Set to "2.20.90"
33522 2014-09-07  Allan McRae  <allan@archlinux.org
33524         * version.h (RELEASE): Set to "stable".
33525         (VERSION): Set to "2.20"
33526         * include/features.h (__GLIBC_MINOR__): Set to 20.
33528         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33529         Liebler.
33531         * po/ko.po: Update Korean translation from translation project.
33533 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33535         [BZ #17354]
33536         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33537         macro for handling signed relocations.
33539 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33541         [BZ #17325]
33542         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33543         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33544         assert.
33545         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33546         * iconvdata/ibm935.c (BODY): Likewise.
33547         * iconvdata/ibm937.c (BODY): Likewise.
33548         * iconvdata/ibm939.c (BODY): Likewise.
33549         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33550         assert.
33551         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33552         script.
33553         * iconvdata/run-iconv-test.sh: New test loop for checking for
33554         decoder crashers.
33556 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33558         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33559         libm_hidden_ver.
33561 2014-09-01  Allan McRae  <allan@archlinux.org>
33563         * po/eo.po: Update Esperanto translation from translation project.
33565         * po/ca.po: Update Catalan translation from translation project.
33567 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33569         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33570         __proc_dostop call.
33572 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33574         [BZ #17319]
33575         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33576         to call set_thread_area instead of hand written asm.
33577         (__NR_set_thread_area): Removed define.
33578         (TLS_FLAG_WRITABLE): Likewise.
33579         (__ASSUME_SET_THREAD_AREA): Remove check.
33580         (TLS_EBX_ARG): Remove define.
33581         (TLS_LOAD_EBX): Likewise.
33583 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33585         Simplify atomicity of socket creation in bind.
33587         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33588         looking up the name after linking the file.
33590 2014-08-27  Allan McRae  <allan@archlinux.org>
33592         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33594 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33596         [BZ #17187]
33597         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33598         trans_compare, open_translit, __gconv_translit_find):
33599         Remove module loading code.
33601 2014-08-26  Allan McRae  <allan@archlinux.org>
33603         * po/vi.po: Update Vietnamese translation from translation project.
33605         * po/uk.po: Update Ukrainian translation from translation project.
33607         * po/fr.po: Update French translation from translation project.
33609         * po/ru.po: Update Russian translation from translation project.
33611         * po/pl.po: Update Polish translation from translation project.
33613         * po/cs.po: Update Czech translation from translation project.
33615         * po/de.po: Update German translation from translation project.
33617         * po/bg.po: Update Bulgarian translation from translation project.
33619         * po/sv.po: Update Sweedish translation from translation project.
33621         * po/nl.po: Update Dutch translation from translation project.
33623         * po/es.po: Update Spanish translation from translation project.
33625 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33627         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33629         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33630         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33631         (CPPFLAGS-iconvconfig): Likewise.
33632         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33634         * include/libc-symbols.h: Remove unnecessary check for
33635         NOT_IN_libc.
33636         * nptl/pthreadP.h: Likewise.
33637         * sysdeps/aarch64/setjmp.S: Likewise.
33638         * sysdeps/alpha/setjmp.S: Likewise.
33639         * sysdeps/arm/sysdep.h: Likewise.
33640         * sysdeps/i386/setjmp.S: Likewise.
33641         * sysdeps/m68k/setjmp.c: Likewise.
33642         * sysdeps/posix/getcwd.c: Likewise.
33643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33644         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33645         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33646         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33647         * sysdeps/sh/sh3/setjmp.S: Likewise.
33648         * sysdeps/sh/sh4/setjmp.S: Likewise.
33649         * sysdeps/unix/alpha/sysdep.h: Likewise.
33650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33652         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33653         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33661         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33663         * sysdeps/x86_64/setjmp.S: Likewise.
33665 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33667         [BZ #17263]
33668         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33669         <stdint.h>.
33670         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33671         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33673 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33675         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33677         [BZ #17262]
33678         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33679         and __x86_64__ when disabling x87 inline functions.
33681 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33683         [BZ #17259]
33684         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33685         asm statement with __cpuid_count.
33687 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33689         * configure.ac: Change __ehdr_start code to dereference the struct.
33690         Run readelf on the output to look for relocations.
33691         * configure: Regenerated.
33693 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33695         [BZ #17261]
33696         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33697         value to 0.
33698         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33700 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33702         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33704 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33706         [BZ #16892]
33707         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33708         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33710 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33712         * malloc/malloc.c: Fix typo in comment.
33714 2014-08-09  Allan McRae  <allan@archlinux.org>
33716         * Regenerate libc.po.
33718 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33720         * intl/tst-gettext2.sh: Check every lang file for creation.
33722 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33724         * sysdeps/aarch64/fpu/math_private.h
33725         (libc_feholdsetround_noex_aarch64_ctx): New function.
33727 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33729         * sysdeps/arm/armv6/strcpy.S (strcpy):
33730         Fix performance issue in misaligned cases.
33732 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33734         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33735         Move definition from termios.h.
33736         (struct termio): Likewise.
33737         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33738         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33739         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33740         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33741         Likewise.
33742         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33743         Move definition to ioctl-types.h
33744         (struct termio): Likewise.
33745         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33746         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33747         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33748         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33749         Likewise.
33751 2014-08-05  Richard Henderson  <rth@redhat.com>
33753         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33754         exceptions.
33755         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33756         Add fraiseexcpt.
33757         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33758         Use __feraiseexcept.
33759         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33760         Protect libm symbols with IS_IN_libm.
33762         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33764 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33766         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33768 2014-08-04  Will Newton  <will.newton@linaro.org>
33770         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33771         file.
33773 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33775         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33776         variants for each function.
33778 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33780         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33781         appended ...
33782         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33783         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33784         appended ...
33785         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33786         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33787         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33788         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33789         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33790         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33791         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33792         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33793         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33794         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33795         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33796         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33797         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33798         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33799         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33800         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33801         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33803         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33804         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33805         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33806         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33807         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33809         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33810         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33811         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33812         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33813         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33814         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33815         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33816         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33817         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33819         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33820         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33821         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33822         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33823         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33824         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33825         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33826         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33827         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33828         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33829         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33830         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33831         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33832         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33833         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33834         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33835         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33836         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33837         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33838         Update #include.
33839         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33840         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33842 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33844         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33845         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33846         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33847         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33848         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33849         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33851 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33853         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33854         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33855         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33856         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33858 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33860         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33861         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33862         (__libc_vfork): Define function under this name.
33863         (__vfork): Define as an alias.
33864         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33865         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33867 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33869         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33870         that was previously under [RESET_PID].
33871         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33873 2014-08-04  Andreas Schwab  <schwab@suse.de>
33875         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33877 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33879         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33880         (main): Likewise.
33882 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33884         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33886 2014-08-01  Richard Henderon  <rth@redhat.com>
33888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33889         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33890         typo in exact zero test.
33891         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33892         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33895 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33897         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33898         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33899         * sysdeps/arm/sysdep.h: ... here.
33900         [!__ASSEMBLER__]: Include <stdint.h>.
33902 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33904         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33905         (HAVE_WCTYPE_H): Likewise.
33906         (HAVE_ISWCTYPE): Likewise.
33907         (ENABLE_NLS): Likewise.
33908         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33909         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33911         * posix/regex_internal.c: Check if DEBUG is defined and is
33912         set.
33914         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33915         (HAVE_MBSRTOWCS): Likewise.
33916         * posix/fnmatch.c: Include string.h unconditionally.
33918 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33920         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33921         reversal.
33923 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33925         * sysdeps/generic/safe-fatal.h: New file.
33926         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33927         * nptl/forward.c: Include it.
33928         (__pthread_unwind): Use __safe_fatal as default action, rather
33929         than a bogus use of INTERNAL_SYSCALL that could never work.
33931         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33932         * configure.ac (libc_cv_builtin_trap): New test.
33933         * configure: Regenerated.
33934         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33935         (ABORT_INSTRUCTION): Define using __builtin_trap.
33937         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33938         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33939         * sysdeps/nptl/nptl-signals.h: New file.
33940         * nptl/pthreadP.h: Include <nptl-signals.h>.
33942 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33944         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33945         (ONE_DIRECTION): Define.
33946         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33947         (ONE_DIRECTION): Define.
33948         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33949         (ONE_DIRECTION): Define.
33951 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33953         * sysdeps/s390/Makefile: Delete file.
33954         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33955         * sysdeps/s390/__longjmp.c: Delete file.
33956         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33957         Remove fields __flags and __reserved.
33958         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33959         and add versioning.
33960         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33961         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33962         * sysdeps/s390/rtld-setjmp.S: Likewise.
33963         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33964         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33965         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33966         * sysdeps/s390/s390-32/setjmp.S: ... here.
33967         Add versioning.
33968         (__sigsetjmp): Remove setting __flags field.
33969         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33970         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33971         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33972         * sysdeps/s390/s390-64/setjmp.S: ... here.
33973         Add versioning.
33974         (__sigsetjmp): Remove setting __flags field.
33975         * sysdeps/s390/setjmp.S: Delete file.
33976         * sysdeps/s390/sigjmp.c: Likewise.
33977         * sysdeps/s390/v1-longjmp.c: Likewise.
33978         * sysdeps/s390/v1-setjmp.h: Likewise.
33979         * sysdeps/s390/v1-sigjmp.c: Likewise.
33980         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33981         Remove v1-longjmp_chk.
33982         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33983         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33984         Include debug/longjmp_chk.c and add versioning.
33985         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33986         Include nptl/pt-longjmp.c and add versioning.
33987         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33988         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33989         Include __longjmp.c.
33990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33991         Move to ...
33992         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33993         (__getcontext): Remove setting __flags field.
33994         Add versioning.
33995         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33996         Don't restore upper high grps.
33997         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33998         Likewise.
33999         (__swapcontext): Remove setting uc_flags field.
34000         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34001         Delete file.
34002         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34003         Include __longjmp.c.
34004         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34005         Move to ...
34006         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34007         (__getcontext): Remove setting __flags field.
34008         Add versioning.
34009         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34010         (__swapcontext): Remove setting uc_flags field.
34011         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34012         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34013         Remove fields uc_high_gprs and __reserved.
34014         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34015         New file with reverted content.
34016         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34017         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34018         Regenerated.
34019         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34020         Regenerated.
34022 2014-07-31  Andreas Schwab  <schwab@suse.de>
34024         * config.h.in (HAVE_IFUNC): Define to 0.
34025         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34026         definedness.
34028 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34031         memmove-avx-unaligned, memcpy-avx-unaligned and
34032         mempcpy-avx-unaligned.
34033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34034         Add tests for AVX memcpy functions.
34035         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34036         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34037         memcpy_chk.
34038         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34039         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34040         memmove_chk.
34041         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34042         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34043         mempcpy_chk.
34044         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34045         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34046         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34048 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34050         [BZ #17213]
34051         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34052         powerpc64le.
34054 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34056         [BZ #16839]
34057         * manual/llio.texi: Add section about open file description locks.
34058         * manual/examples/ofdlocks.c: Example of open file description
34059         lock usage.
34060         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34061         F_OFD_SETLK, and F_OFD_SETLKW.
34063 2014-07-23  Allan McRae  <allan@archlinux.org>
34065         * po/es.po: Update Spanish translation from translation project.
34067 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34069         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34071 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34073         [BZ #17078]
34074         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34075         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34076         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34078 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34080         [BZ #17088]
34081         * math/fesetenv.c (__fesetenv)
34082         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34083         * math/feupdateenv.c (__feupdateenv)
34084         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34086         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34087         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34088         (__ASSUME_SOCKETCALL): Do not define.
34090         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34091         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34092         (__ASSUME_SOCKETCALL): Do not define.
34093         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34094         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34095         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34096         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34098         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34100         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34102         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34103         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34104         (__ASSUME_SOCKETCALL): Do not define.
34105         (__ASSUME_IPC64): Define unconditionally.
34106         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34107         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34108         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34110         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34112         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34113         Likewise.
34115         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34116         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34117         (__ASSUME_SOCKETCALL): Do not define.
34118         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34119         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34120         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34121         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34122         (__ASSUME_REQUEUE_PI): Define unconditionally.
34123         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34124         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34125         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34126         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34127         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34128         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34130         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34131         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34132         (__ASSUME_SOCKETCALL): Do not define.
34133         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34134         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34135         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34136         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34138         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34140         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34141         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34142         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34143         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34144         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34145         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34147         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34148         (__ASSUME_GETCPU_SYSCALL): Likewise.
34150         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34151         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34152         cases for individual architectures.
34153         * sysdeps/gnu/configure: Regenerated.
34154         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34155         LIBC_SLIBDIR_RTLDDIR.
34156         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34157         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34158         LIBC_SLIBDIR_RTLDDIR.
34159         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34161         LIBC_SLIBDIR_RTLDDIR.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34163         Regenerated.
34164         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34165         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34166         file.
34167         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34168         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34169         file.
34170         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34171         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34172         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34173         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34175         * sysdeps/aarch64/shlib-versions: Move to ...
34176         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34177         * sysdeps/alpha/shlib-versions: Move to ...
34178         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34179         * sysdeps/arm/shlib-versions: Move to ...
34180         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34181         * sysdeps/hppa/shlib-versions: Move all contents except for
34182         libgcc_s entry to ...
34183         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34184         entry from ...
34185         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34186         * sysdeps/ia64/shlib-versions: Move to ...
34187         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34188         entry from ...
34189         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34190         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34191         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34192         * sysdeps/microblaze/shlib-versions: Move to ...
34193         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34194         * sysdeps/mips/shlib-versions: Move to ...
34195         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34196         entry from ...
34197         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34198         * sysdeps/tile/shlib-versions: Move to ...
34199         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34200         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34201         from ...
34202         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34203         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34204         entry from ...
34205         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34207 2014-07-17  Will Newton  <will.newton@linaro.org>
34209         * sysdeps/arm/bits/atomic.h
34210         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34211         (__arch_compare_and_exchange_bool_16_int): Likewise.
34212         (__arch_compare_and_exchange_bool_64_int): Likewise.
34214         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34215         into an #else block.
34217 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34219         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34220         just Linux configurations.  Test empirically that the compiler sets
34221         __ARM_EABI__, rather than using the tuple to decide.
34222         * sysdeps/arm/preconfigure: Regenerated.
34223         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34224         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34225         contents appended ...
34226         * sysdeps/arm/configure.ac: ... here.
34227         * sysdeps/arm/configure: Regenerated.
34229 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34231         * nptl/pthread_kill.c: New file.
34232         * nptl/pthread_sigmask.c: New file.
34233         * nptl/pthread_sigqueue.c: New file.
34235         * sysdeps/nptl/lowlevellock.h: New file.
34236         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34237         * sysdeps/nptl/lowlevellock-futex.h: New file.
34239         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34240         Remove dead declarations.
34242 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34244         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34245         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34246         config-cflags-avx2.
34247         * sysdeps/x86_64/configure.ac: Likewise.
34248         * sysdeps/i386/configure: Regenerated.
34249         * sysdeps/x86_64/configure: Likewise.
34250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34251         memset-avx2 only if config-cflags-avx2 is yes.
34252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34253         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34254         defined.
34255         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34256         only if HAVE_AVX2_SUPPORT is defined.
34257         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34259 2014-07-14  Alan Modra  <amodra@gmail.com>
34261         [BZ #17153]
34262         * elf/elf.h (DT_PPC64_NUM): Correct value.
34263         * NEWS: Add to fixed bug list.
34265 2014-07-13  Jim Meyering  <meyering@fb.com>
34267         [BZ 17150]
34268         regex: don't deref NULL upon heap allocation failure
34269         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34270         failure in one more place.
34271         To trigger the segfault, configure grep -with-included-regex,
34272         build it, and run these commands:
34273         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34275 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34277         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34279 2014-07-11  Richard Henderson  <rth@redhat.com>
34281         * sysdeps/aarch64/libm-test-ulps: Update.
34283 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34285         [BZ #17135]
34286         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34287         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34288         (__nptl_setxid): Initialize error member.  Call
34289         __nptl_setxid_error.
34290         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34291         * nptl/descr.h (struct xid_command): Add error member.
34292         * nptl/tst-setuid3.c: New file.
34293         * nptl/Makefile (tests): Add it.
34295 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34298         New define.
34299         (__lll_trylock): Use __lll_base_trylock.
34300         (__lll_cond_trylock): Likewise.
34302 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34304         * nptl/pthread_create.c (start_thread): Use atomic_or and
34305         lll_futex_wake directly rather than lll_robust_dead.
34306         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34307         (lll_robust_dead): Macro removed.
34308         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34309         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34310         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34311         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34312         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34313         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34314         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34315         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34316         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34317         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34318         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34319         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34320         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34321         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34322         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34324         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34325         Use atomic_compare_and_exchange_val_acq directly rather than
34326         lll_robust_trylock.
34327         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34328         (__lll_robust_trylock, lll_robust_trylock): Removed.
34329         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34330         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34331         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34332         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34333         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34334         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34335         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34336         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34337         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34338         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34339         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34340         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34341         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34342         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34344 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34346         * manual/locale.texi (Locale Names): New section documenting
34347         locale name syntax.  Adjust menu and node chaining accordingly.
34348         (Choosing Locale): Reference Locale Names, Locale Categories.
34349         Mention setting LC_ALL=C.  Reflect that name syntax is now
34350         documented.
34351         (Locale Categories): New section title.  Reference Locale Names.
34352         LC_ALL is an environment variable, but not a category.
34353         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34354         description, now in Locale Name.  Reference that section.  Locale
34355         name syntax is now documented.
34357 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34359         [BZ #17137]
34360         * locale/findlocale.c (name_present, valid_locale_name): New
34361         functions.
34362         (_nl_find_locale): Use the loc_name variable to store name
34363         candidates.  Call name_present and valid_locale_name to check and
34364         validate locale names.  Return an error if the locale is invalid.
34366 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34368         * locale/setlocale.c (setlocale): Use strdup for allocating
34369         composite name copy.
34371 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34373         Sync up with gnulib.
34374         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34375         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34376         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34377         and _GL_ARG_NONNULL.
34378         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34379         [!_LIBC]: Include code for Windows and Cygwin.
34380         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34381         Include prototype for int strerror_r.
34382         [!_LIBC] (is_open): New function.
34383         (flush_stdout): New function.
34384         (print_errno_message): Use it.
34385         (error): Likewise.
34386         (error_at_line): Likewise.
34387         (error_tail) Add function attribute macros.  Use
34388         __builtin_expect.
34390         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34392         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34394         * io/ftw.c: Include sys/param.h unconditionally.
34396         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34398         [BZ #17125]
34399         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34400         libc_freeres_ptr.
34401         (freecache): New function to free CACHE on exit.
34403         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34404         initialization.
34406 2014-07-09  David S. Miller  <davem@davemloft.net>
34408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34410         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34411         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34412         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34413         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34414         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34415         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34416         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34417         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34418         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34419         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34420         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34421         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34422         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34424 2014-07-09  Andreas Schwab  <schwab@suse.de>
34426         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34427         output.
34428         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34429         (do_test): Likewise.
34431         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34433 2014-07-09  Will Newton  <will.newton@linaro.org>
34435         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34436         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34437         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34438         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34439         * sysdeps/hppa/start.S (_start): Likewise.
34441 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34443         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34445         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34446         defined.
34448 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34450         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34451         after checking that it is non-NULL.
34453         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34455 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34457         * sysdeps/powerpc/memmove.c: Remove file.
34458         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34459         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34460         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34461         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34462         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34463         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34464         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34465         string memmove instead of removed powerpc one.
34467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34468         [weak_alias]: Fix compiler warning due trailing data.
34469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34470         [weak_alias]: Likewise.
34471         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34472         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34475         (__libc_ifunc_impl_list): Add memmove functions.
34477 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34479         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34480         Remove code.
34481         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34482         Likewise.
34483         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34484         Likewise.
34485         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34486         Likewise.
34487         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34488         Likewise.
34489         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34490         Likewise.
34491         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34492         Likewise.
34493         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34494         Likewise.
34495         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34496         Likewise.
34497         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34498         Likewise.
34499         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34500         Likewise.
34501         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34502         Likewise.
34503         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34504         Likewise.
34505         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34506         Likewise.
34507         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34508         Likewise.
34509         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34510         Likewise.
34511         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34512         Likewise.
34514 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34516         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34517         to avoid alignment traps in non-cacheable memory.
34518         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34521         multiarch objects.
34522         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34523         file: multiarch power7 memmove.
34524         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34525         multiarch default memmove.
34526         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34527         multiarch memove for powerpc32/power4.
34529         * string/bcopy.c: Use full path to include memmove.c.
34530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34531         multiarch objects.
34532         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34533         bcopy for powerpc64.
34534         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34535         bcopy for powerpc64.
34536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34537         and memmove implementations.
34538         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34539         optimized multiarch memmove for POWER7/powerpc64.
34540         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34541         default multiarch memmove for powerpc64.
34542         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34543         multiarch for powerpc64.
34544         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34545         for POWER7/powerpc64.
34546         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34547         memmove for POWER7/powerpc64.
34549         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34550         glibc default one.
34552         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34553         __ELF_NATIVE_CLASS equal to 64.
34555 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34557         * sysdeps/nptl/lowlevellock.h: File removed.
34559         * NEWS: NPTL is no longer an add-on!
34560         * nptl/internaltypes.h: Moved ...
34561         * sysdeps/nptl/internaltypes.h: ... here.
34562         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34563         * sysdeps/nptl/fork.c: Likewise.
34564         * sysdeps/nptl/gai_misc.h: Likewise.
34565         * sysdeps/nptl/librt-cancellation.c: Likewise.
34566         * sysdeps/nptl/jmp-unwind.c: Likewise.
34567         * sysdeps/nptl/setxid.h: Likewise.
34568         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34569         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34570         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34571         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34572         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34573         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34574         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34575         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34576         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34577         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34578         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34579         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34580         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34581         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34582         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34583         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34584         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34585         * nptl/Makeconfig: Moved ...
34586         * sysdeps/nptl/Makeconfig: ... here.
34587         * nptl/configure: File removed.
34588         * nptl/ANNOUNCE: File removed.
34589         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34590         * sysdeps/unix/sysv/linux/configure: Regenerated.
34592         * nptl/Makefile (routines): Add libc_pthread_init,
34593         libc_multiple_threads, register-atfork and unregister-atfork.
34594         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34595         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34596         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34597         pthread-pi-defines.sym, structsem.sym.
34598         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34599         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34600         [$(subdir) = nptl] (tests): Add tst-setgetname.
34601         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34602         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34603         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34604         [!LIBC_SIGACTION]: Remove aliases.
34605         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34606         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34607         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34608         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34609         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34610         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34611         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34612         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34613         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34614         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34615         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34616         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34617         __libc_allocate_rtsig_private.
34618         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34619         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34620         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34621         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34622         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34623         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34624         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34625         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34626         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34627         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34628         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34629         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34630         * nptl/internaltypes.h: ... here.
34631         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34632         * sysdeps/nptl/jmp-unwind.c: ... here.
34633         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34634         * nptl/libc-lowlevellock.c: ... here.
34635         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34636         * nptl/libc_multiple_threads.c: ... here.
34637         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34638         * nptl/libc_pthread_init.c: ... here.
34639         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34640         * nptl/lowlevelbarrier.sym: ... here.
34641         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34642         * nptl/lowlevelcond.sym: ... here.
34643         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34644         * nptl/lowlevellock.c: ... here.
34645         * nptl/lowlevellock.h: Moved ...
34646         * sysdeps/nptl/lowlevellock.h: ... here.
34647         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34648         * nptl/lowlevelrobustlock.c: ... here.
34649         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34650         * nptl/lowlevelrobustlock.sym: ... here.
34651         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34652         * nptl/lowlevelrwlock.sym: ... here.
34653         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34654         * nptl/pt-fork.c: ... here.
34655         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34656         * nptl/pthread-pi-defines.sym: ... here.
34657         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34658         * nptl/pthread_attr_getaffinity.c: ... here.
34659         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34660         * nptl/pthread_attr_setaffinity.c: ... here.
34661         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34662         * nptl/pthread_mutex_cond_lock.c: ... here.
34663         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34664         Update #include.
34665         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34666         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34667         * nptl/pthread_once.c: ... here, replacing old file.
34668         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34669         * nptl/pthread_yield.c: ... here.
34670         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34671         * nptl/register-atfork.c: ... here.
34672         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34673         * nptl/sem_post.c: ... here.
34674         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34675         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34676         * nptl/sem_timedwait.c: ... here.
34677         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34678         * nptl/sem_trywait.c: ... here.
34679         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34680         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34681         * nptl/sem_wait.c: ... here.
34682         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34683         * nptl/structsem.sym: ... here.
34684         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34685         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34686         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34687         * nptl/unregister-atfork.c: ... here.
34688         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34689         * nptl/unwindbuf.sym: ... here.
34690         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34691         * sysdeps/nptl/fork.c: ... here.
34692         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34693         * sysdeps/nptl/fork.h: ... here.
34694         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34695         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34696         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34697         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34698         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34699         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34700         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34701         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34702         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34703         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34704         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34705         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34706         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34707         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34708         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34709         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34710         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34711         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34712         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34713         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34714         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34715         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34716         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34717         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34718         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34719         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34720         * sysdeps/unix/sysv/linux/raise.c: ... here.
34721         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34722         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34723         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34724         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34725         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34726         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34727         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34728         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34729         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34730         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34731         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34732         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34733         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34734         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34735         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34737 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34739         * sysdeps/generic/memcopy.h: Add comment for
34740         MEMCPY_OK_FOR_FWD_MEMMOVE.
34742 2014-07-04  Will Newton  <will.newton@linaro.org>
34744         * string/memchr.c: Merge from gnulib.
34745         [_LIBC]: Remove conditionals.
34746         (__ptr_t): Remove define.
34747         (LONG_MAX_32_BITS): Likewise.
34748         (LONG_MAX): Likewise.
34749         (MEMCHR): Use ANSI prototype and optimize algorithm.
34751         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34753 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34755         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34756         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34758         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34759         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34760         in a bare environment with no <stdlib.h> installed.
34761         * sysdeps/nptl/configure: Regenerated.
34763         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34765         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34766         AC_EGREP_CPP for kernel header checks, so they only succeed if
34767         including <linux/version.h> actually works right.
34768         * sysdeps/unix/sysv/linux/configure: Regenerated.
34770         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34771         value so it's not diagnosed as unused.
34773         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34774         thing) with "ifeq ($(subdir),rt)".
34776 2014-07-03  Richard Henderson  <rth@redhat.com>
34778         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34779         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34780         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34782         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34783         (math_force_eval): New.
34785         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34786         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34788         * sysdeps/alpha/fpu/s_round.c: Remove file.
34789         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34791         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34792         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34793         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34794         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34795         (_dl_start, print_statistics): Likewise.
34796         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34797         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34799         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34800         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34801         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34802         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34803         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34804         (HP_SMALL_TIMING_AVAIL): Define.
34805         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34806         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34807         (HP_SMALL_TIMING_AVAIL): Define.
34808         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34809         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34811         * sysdeps/aarch64/hp-timing.h: New file.
34813         * sysdeps/generic/hp-timing.h: Remove dead comment.
34814         * sysdeps/generic/hp-timing-common.h: New file.
34815         * sysdeps/alpha/hp-timing.h: Include it.
34816         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34817         * sysdeps/i386/i686/hp-timing.h: Likewise.
34818         * sysdeps/ia64/hp-timing.h: Likewise.
34819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34820         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34822         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34823         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34824         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34825         (hp_timing_t): New.
34827         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34828         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34829         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34830         * elf/rtld.c (_dl_start_final): Likewise.
34831         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34832         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34833         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34834         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34835         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34836         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34837         (HP_TIMING_DIFF_INIT): Remove.
34838         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34839         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34840         (HP_TIMING_DIFF_INIT): Remove.
34841         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34842         * sysdeps/i386/i686/hp-timing.c: Remove file.
34843         * sysdeps/x86_64/hp-timing.c: Remove file.
34844         * sysdeps/ia64/hp-timing.c: Remove file.
34845         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34846         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34847         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34848         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34850         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34851         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34852         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34853         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34855         (HP_TIMING_ACCUM): Remove.
34856         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34858         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34860         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34861         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34862         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34863         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34864         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34865         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34866         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34867         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34869         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34871 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34873         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34875 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34877         Sync up with gettext.
34878         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34879         [_MSC_VER]: Include malloc.h
34880         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34881         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34882         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34883         TEMP_FAILURE_RETRY.  Cast return of alloca.
34884         [!_LIBC] Call gl_rwlock_init.
34885         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34887 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34889         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34890         before checking its value.
34892 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34894         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34896         * debug/memcpy_chk.c: Don't include pagecopy.h.
34897         * debug/mempcpy_chk.c: Likewise.
34898         * string/memcpy.c: Likewise.
34899         * string/memmove.c: Likewise.
34900         * sysdeps/powerpc/memmove.c: Likewise.
34901         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34902         definition of PAGE_COPY_FWD_MAYBE here...
34903         * sysdeps/generic/pagecopy.h: ... from here.
34904         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34906 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34907             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34909         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34911         optimizations.
34912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34913         (__libc_ifunc_impl_list): Likewise.
34914         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34915         multiarch strcat for PPC64.
34916         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34917         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34919 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34921         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34923 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34925         * intl/loadmsgcat.c: Remove declaration of
34926         get_sysdep_segment_value.
34927         (get_sysdep_segment_value): Use ISO C style.
34928         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34929         semicolon.  Fix typo and formatting in comment.
34930         (_nl_unload_domain): Use ISO C style.
34932         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34934 2014-07-02  Will Newton  <will.newton@linaro.org>
34936         * malloc/obstack.c: Merge from gnulib master.
34937         [HAVE_CONFIG_H]: Remove conditional code.
34938         [!_LIBC]: Include config.h.
34939         [!ELIDE_CODE]: Don't include inttypes.h, include
34940         stdint.h unconditionally.
34941         (print_and_abort): Mark as _Noreturn.
34942         (_obstack_allocated_p): Mark as __attribute_pure__.
34943         (obstack_free): Rename to __obstack_free.
34944         [!__attribute__]: Remove conditional code.
34945         * malloc/obstack.h: Merge from gnulib master.
34946         [__cplusplus]: Move conditional down.
34947         [!__attribute_pure__]: Define __attribute_pure__ here
34948         if it is not already defined.
34949         (_obstack_memory_used): Mark as __attribute_pure__.
34950         [!__obstack_free]: Define as obstack_free.
34951         [__GNUC__]: Remove check for ancient NeXT gcc.
34953 2014-07-02  Will Newton  <will.newton@linaro.org>
34954             Paul Eggert  <eggert@cs.ucla.edu>
34956         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34958 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34960         * resolv/gethnamaddr.c: Add comment warning that the file is
34961         not maintained.
34963 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34965         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34966         entries.
34968         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34969         entry for aio_cancel and aio_cancel64.
34970         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34971         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34972         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34973         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34974         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34975         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34976         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34977         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34978         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34979         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34980         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34981         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34982         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34984 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34986         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34987         * nptl/pthread_mutex_lock.c: Likewise.
34988         * nptl/pthread_mutex_timedlock.c: Likewise.
34989         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34991 2014-07-01  Richard henderson  <rth@redhat.com>
34993         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34994         (__isnan, __isnanl): Remove.
34995         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34997         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34999 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35001         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35003 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35005         * resolv/nss_dns/dns-host.c (getanswer_r)
35006         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35008 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35011         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35012         undefine.
35013         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35014         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35016 2014-07-01  Roland McGrath <roland@hack.frob.com>
35018         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35019         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35021         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35022         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35024         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35025         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35026         ... here.
35027         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35028         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35030         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35031         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35032         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35033         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35035         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35036         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35037         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35038         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35039         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35040         Moved ...
35041         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35042         ... here.
35043         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35046         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35047         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35048         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35049         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35050         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35051         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35052         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35053         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35054         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35055         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35056         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35057         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35058         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35059         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35060         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35061         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35062         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35063         ... here.
35064         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35065         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35066         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35067         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35068         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35069         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35070         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35071         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35073 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35075         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35076         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35077         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35078         Add sysdep.
35080 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35084 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35086         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35087         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35089         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35091         * sysdeps/arm/libm-test-ulps: Regenerated.
35093 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35094             Roland McGrath <roland@hack.frob.com>
35096         * test-skeleton.c (signal_handler): Kill the whole process group
35097         before killing the child individually.
35098         (main): Report any failure on `setpgid'.
35100 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35102         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35103         from _TLS_H to _ARM_NPTL_TLS_H.
35104         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35105         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35107 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35109         [BZ #16539]
35110         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35111         (__expm1l): Return argument unchanged when small but not
35112         subnormal.
35114         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35115         include macro name.
35116         (_FP_UNPACK_RAW_1_P): Likewise.
35117         (_FP_PACK_RAW_1): Likewise.
35118         (_FP_PACK_RAW_1_P): Likewise.
35119         (_FP_MUL_MEAT_1_wide): Likewise.
35120         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35121         (_FP_MUL_MEAT_1_hard): Likewise.
35122         (_FP_DIV_MEAT_1_imm): Likewise.
35123         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35124         (_FP_DIV_MEAT_1_udiv): Likewise.
35125         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35126         (_FP_UNPACK_RAW_2): Likewise.
35127         (_FP_UNPACK_RAW_2_P): Likewise.
35128         (_FP_PACK_RAW_2): Likewise.
35129         (_FP_PACK_RAW_2_P): Likewise.
35130         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35131         (_FP_MUL_MEAT_2_wide): Likewise.
35132         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35133         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35134         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35135         (_FP_MUL_MEAT_2_gmp): Likewise.
35136         (_FP_DIV_MEAT_2_udiv): Likewise.
35137         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35138         (_FP_FRAC_SRL_4): Likewise.
35139         (_FP_FRAC_SRST_4): Likewise.
35140         (_FP_FRAC_SRS_4): Likewise.
35141         (_FP_UNPACK_RAW_4): Likewise.
35142         (_FP_UNPACK_RAW_4_P): Likewise.
35143         (_FP_PACK_RAW_4): Likewise.
35144         (_FP_PACK_RAW_4_P): Likewise.
35145         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35146         (_FP_MUL_MEAT_4_wide): Likewise.
35147         (_FP_MUL_MEAT_4_gmp): Likewise.
35148         (umul_ppppmnnn): Likewise.
35149         (_FP_DIV_MEAT_4_udiv): Likewise.
35150         (__FP_FRAC_ADD_4): Likewise.
35151         (__FP_FRAC_SUB_3): Likewise.
35152         (__FP_FRAC_SUB_4): Likewise.
35153         (__FP_FRAC_DEC_3): Likewise.
35154         (__FP_FRAC_DEC_4): Likewise.
35155         (__FP_FRAC_ADDI_4): Likewise.
35156         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35157         (_FP_FRAC_SRL_8): Likewise.
35158         (_FP_FRAC_SRS_8): Likewise.
35160         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35161         include macro name.
35162         (FP_UNPACK_RAW_EP): Likewise.
35163         (FP_PACK_RAW_E): Likewise.
35164         (FP_PACK_RAW_EP): Likewise.
35165         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35166         (_FP_ISSIGNAN): Likewise.
35167         (_FP_ADD_INTERNAL): Likewise.
35168         (_FP_FMA): Likewise.
35169         (_FP_CMP): Likewise.
35170         (_FP_SQRT): Likewise.
35171         (_FP_TO_INT): Likewise.
35172         (_FP_FROM_INT): Likewise.
35173         (FP_EXTEND): Likewise.
35174         (_FP_DIV_MEAT_N_loop): Likewise.
35176 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35178         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35179         throughout.
35181 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35183         [BZ #17097]
35184         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35185         result with correct sign in case of exponents that produce
35186         overflow except for X very close to 1.
35188 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35190         mktime: merge #if/#ifdef usage from glibc
35191         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35192         as that works with both Glibc's and Gnulib's style.
35193         See thread starting at Siddhesh Poyarekar's bug report at:
35194         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35196 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35198         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35199         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35200         * sysdeps/tile/tilegx/memmove.c: Remove file.
35202 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35204         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35205         abi-name definition.
35206         * scripts/soversions.awk: Do not handle or generate ABI lines.
35207         * shlib-versions: Remove ABI entries.
35208         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35209         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35211 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35214         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35215         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35216         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35218         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35220         Moved ...
35221         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35222         ... here.
35223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35224         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35226         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35228         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35230         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35232         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35234         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35236         Moved ...
35237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35239         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35241         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35243         Moved ...
35244         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35246         Moved ...
35247         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35249         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35251         Moved ...
35252         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35254         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35256         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35258         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35260         Moved ...
35261         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35263         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35264         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35265         Moved ...
35266         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35268         Moved ...
35269         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35271         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35272         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35273         Moved ...
35274         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35275         ... here.
35276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35277         Identical file removed.
35278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35279         Moved ...
35280         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35282         Identical file removed.
35283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35284         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35286         Moved ...
35287         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35289         Identical file removed.
35290         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35291         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35293         Identical file removed.
35294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35297         Identical file removed.
35298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35299         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35301         Identical file removed.
35302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35303         Moved ...
35304         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35306         Identical file removed.
35307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35308         Moved ...
35309         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35311         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35313         Identical file removed.
35314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35315         Moved ...
35316         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35317         ... here.
35318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35319         Identical file removed.
35320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35321         Moved ...
35322         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35324         Identical file removed.
35325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35326         Moved ...
35327         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35329         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35331         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35333         Moved ...
35334         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35335         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35336         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35338         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35339         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35340         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35341         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35342         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35344 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35346         [BZ #17092]
35347         * nscd/nscd.c (monitor_child): Return exit status of child
35348         instead of return value from wait syscall.
35350 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35352         * configure.ac (libc_commonpagesize): Remove variable.
35353         (libc_relro_required): Likewise.
35354         (libc_cv_z_relro): Remove configure test.
35355         * configure: Regenerated.
35356         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35357         variable.
35358         (libc_relro_required): Likewise.
35359         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35360         (libc_relro_required): Likewise.
35361         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35362         (libc_relro_required): Likewise.
35363         * sysdeps/arm/preconfigure: Regenerated.
35364         * sysdeps/ia64/preconfigure: Remove file.
35365         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35366         variable.
35367         (libc_relro_required): Likewise.
35369         [BZ #16561]
35370         [BZ #16562]
35371         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35372         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35373         recompute overflowing results in original rounding mode.
35374         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35375         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35376         recompute overflowing results in original rounding mode.
35377         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35378         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35379         recompute overflowing results in original rounding mode.
35380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35381         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35382         recompute overflowing results in original rounding mode.
35383         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35384         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35385         recompute overflowing results in original rounding mode.
35386         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35387         (libc_feholdsetround_ctx): New macro.
35388         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35389         * sysdeps/i386/fpu/libm-test-ulps: Update.
35390         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35392 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35394         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35395         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35396         corresponding .cpsetup call.
35398 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35400         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35401         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35402         * sysdeps/arm/Makefile [$(subdir) = csu]
35403         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35404         (static-only-routines): Add aeabi_read_tp here.
35405         (shared-only-routines): Add libc-aeabi_read_tp here.
35406         (CFLAGS-libc-start.c): Add -fexceptions here.
35407         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35408         (sysdep_routines, static-only-routines, shared-only-routines):
35409         Don't add to these here.
35410         (CFLAGS-libc-start.c): Likewise.
35412         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35413         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35414         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35415         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35416         * sysdeps/arm/Makefile [$(subdir) = rt]
35417         (librt-sysdep_routines, librt-shared-only-routines):
35418         Append rt-aeabi_unwind_cpp_pr1 here.
35419         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35420         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35421         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35422         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35423         Append nptl-aeabi_unwind_cpp_pr1 here.
35424         (tests): Filter out tst-cleanupx4 here.
35425         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35426         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35427         Don't do those here.
35429 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35431         * scripts/list-sources.sh: Do not handle ports specially.
35433 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35435         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35436         * sysdeps/arm/feupdateenv.c: Likewise.
35438         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35440 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35442         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35443         trailing whitespace removed.
35444         * scripts/config.guess: Update to version 2014-03-23.
35445         * scripts/config.sub: Update to version 2014-05-01
35446         * scripts/install-sh: Update to version 2013-12-25.23.
35447         * scripts/move-if-change: Update from gnulib.
35449 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35451         * debug/memmove_chk.c: Remove pagecopy.h include.
35453 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35455         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35456         identical to gnulib mktime.
35458 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35460         * configure.ac: Do not test for machine being rs6000.  Do not test
35461         for powerpc*-*soft.
35462         * configure: Regenerated.
35464         [BZ #11505]
35465         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35466         test.
35467         * configure: Regenerated.
35468         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35469         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35470         Remove configure test.
35471         * sysdeps/arm/configure: Regenerated.
35472         * sysdeps/nptl/configure.ac: Do not check
35473         libc_cv_asm_cfi_directives.
35474         * sysdeps/nptl/configure: Regenerated.
35475         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35476         * sysdeps/x86_64/nptl/configure: Remove generated file.
35477         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35478         unconditional.
35479         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35481 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35483         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35484         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35485         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35486         it is defined.
35488         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35489         instead of whether it is defined.
35490         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35491         * sysdeps/hppa/dl-machine.h: Likewise.
35492         * sysdeps/ia64/dl-machine.h: Likewise.
35493         * sysdeps/m68k/dl-machine.h: Likewise.
35494         * sysdeps/microblaze/dl-machine.h: Likewise.
35495         * sysdeps/mips/dl-machine.: Likewise.
35496         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35497         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35498         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35499         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35500         * sysdeps/sh/dl-machine.h: Likewise.
35501         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35502         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35503         * sysdeps/tile/dl-machine.h: Likewise.
35504         * sysdeps/x86_64/dl-machine.h: Likewise.
35506         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35507         code.
35508         (verify_persistent_db): Likewise.
35510 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35513         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35515         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35517         Moved ...
35518         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35519         ... here.
35520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35521         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35523         Identical file removed.
35524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35525         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35527         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35529         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35531         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35533         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35535         Moved ...
35536         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35538         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35540         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35542         Moved ...
35543         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35545         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35547         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35549         Identical file removed.
35550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35551         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35553         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35555         Moved ...
35556         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35557         ... here.
35558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35559         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35561         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35563         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35565         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35567         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35572         Moved ...
35573         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35575         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35580         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35582         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35583         folded into ...
35584         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35585         * sysdeps/unix/sysv/linux/s390/Versions
35586         (libpthread: GLIBC_2.19): New version set.
35587         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35588         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35589         (librt: GLIBC_2.3.3): New version set.
35590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35591         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35592         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35593         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35594         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35595         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35596         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35597         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35598         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35599         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35600         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35602         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35603         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35604         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35605         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35606         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35607         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35608         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35609         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35610         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35612         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35614         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35616         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35618         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35619         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35620         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35621         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35626         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35628         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35630         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35632         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35634         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35636         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35637         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35638         (__libc_vfork): Define the function under this name.
35639         [!NOT_IN_libc] (__vfork): Make this an alias.
35640         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35642         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35643         (__libc_vfork): Define the function under this name.
35644         [!NOT_IN_libc] (__vfork): Make this an alias.
35645         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35646         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35647         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35649         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35650         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35652         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35653         code that was previously under [RESET_PID].
35654         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35655         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35659         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35660         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35661         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35662         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35663         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35664         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35665         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35666         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35669         Moved ...
35670         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35671         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35672         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35673         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35674         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35678         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35679         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35680         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35681         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35682         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35683         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35684         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35685         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35686         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35687         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35688         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35689         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35690         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35691         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35692         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35693         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35694         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35695         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35696         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35698         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35700 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35702         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35703         that was previously under [RESET_PID].
35704         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35706 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35708         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35709         not undefine and redefine.
35710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35711         [O_CLOEXEC]: Make code unconditional.
35712         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35713         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35714         <kernel-features.h>.
35715         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35716         conditional variable definition.
35717         (shm_open) [O_CLOEXEC]: Make code unconditional.
35718         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35719         code.
35721         * configure.ac (USE_REGPARMS): Don't define here.
35722         * configure: Regenerated.
35723         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35724         * sysdeps/i386/configure: Regenerated.
35726         * nptl/createthread.c: Don't include kernel-features.h.
35727         * nptl/pthread_cancel.c: Likewise.
35728         * nptl/pthread_condattr_setclock.c: Likewise.
35729         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35730         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35731         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35732         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35733         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35734         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35735         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35736         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35738         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35739         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35740         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35741         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35742         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35743         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35744         * nscd/gai.c: Likewise.
35745         * nss/nss_db/db-open.c: Likewise.
35746         * sysdeps/generic/ldsodefs.h: Likewise.
35747         * sysdeps/sh/nptl/tls.h: Likewise.
35748         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35749         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35750         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35751         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35752         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35753         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35754         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35755         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35756         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35757         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35758         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35759         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35760         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35761         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35762         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35763         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35764         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35765         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35766         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35767         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35770         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35771         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35774         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35776         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35777         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35778         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35779         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35780         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35781         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35782         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35783         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35784         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35785         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35786         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35787         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35788         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35789         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35790         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35791         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35792         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35793         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35794         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35795         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35796         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35797         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35798         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35799         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35800         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35801         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35802         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35803         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35804         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35805         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35828         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35829         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35830         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35831         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35832         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35833         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35834         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35835         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35836         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35837         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35838         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35839         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35840         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35841         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35842         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35843         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35844         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35845         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35846         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35847         * sysdeps/unix/sysv/linux/system.c: Likewise.
35848         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35849         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35850         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35851         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35852         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35853         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35854         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35856         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35857         * configure: Regenerated.
35858         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35860         * configure.ac (base_machine): Do not set specially for particular
35861         machines here.
35862         * configure: Regenerated.
35863         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35864         settings from configure.ac.
35865         * sysdeps/i386/preconfigure: New file.
35866         * sysdeps/s390/preconfigure: Likewise.
35867         * sysdeps/sh/preconfigure: Likewise.
35868         * sysdeps/sparc/preconfigure: Likewise.
35870 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35872         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35873         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35874         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35875         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35876         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35877         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35878         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35879         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35880         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35881         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35882         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35883         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35884         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35885         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35886         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35887         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35888         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35889         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35890         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35892         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35893         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35894         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35896         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35897         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35898         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35899         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35900         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35901         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35902         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35903         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35904         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35905         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35906         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35907         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35908         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35909         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35910         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35911         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35913         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35914         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35917         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35918         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35921         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35923         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35924         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35925         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35927         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35928         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35929         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35932         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35934         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35936         Moved ...
35937         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35938         ... here.
35939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35940         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35942         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35947         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35949         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35951         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35953         Moved ...
35954         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35959         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35961         Moved ...
35962         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35964         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35966         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35968         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35972         Moved ...
35973         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35974         ... here.
35975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35976         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35978         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35980         Moved ...
35981         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35983         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35985         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35987         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35989         Moved ...
35990         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35992         Moved ...
35993         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35995         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35997         Moved ...
35998         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36000         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36002         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36004 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36006         * timezone/checktab.awk: Update from tzcode 2014e.
36007         * timezone/private.h: Likewise.
36008         * timezone/tzfile.h: Likewise.
36009         * timezone/zdump.c: Likewise.
36010         * timezone/zic.c: Likewise.
36012         * sysdeps/unix/sysv/linux/kernel-features.h
36013         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36014         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36015         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36016         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36017         Remove conditional code.
36019 2014-06-25  Will Newton  <will.newton@linaro.org>
36021         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36022         (_dl_arm_cap_flags): Add HWCAP2 values.
36023         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36024         (_DL_HWCAP_COUNT): Increase to 37.
36025         (_DL_HWCAP_LAST): New define.
36026         (_DL_HWCAP2_LAST): New define.
36027         (_dl_procinfo): Add support for printing
36028         AT_HWCAP2 entries.
36029         (_dl_string_hwcap): Use _dl_hwcap_string.
36031 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36035 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36037         * README: Do not mention ports directory.
36039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36040         Remove macro.
36041         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36042         <kernel-features.h>.
36043         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36044         conditional variable definition.
36045         (__futimes): Update comment.
36046         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36047         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36049         [BZ #16560]
36050         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36051         arguments close to 0.
36052         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36053         Likewise.
36054         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36055         Likewise.
36056         * math/auto-libm-test-in: Add more tests of exp10.
36057         * math/auto-libm-test-out: Regenerated.
36058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36060         * sysdeps/unix/sysv/linux/kernel-features.h
36061         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36062         * sysdeps/unix/sysv/linux/readv.c: Do not include
36063         <kernel-features.h>.
36064         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36065         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36066         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36067         unconditional.
36068         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36069         conditional code.
36070         * sysdeps/unix/sysv/linux/writev.c: Do not include
36071         <kernel-features.h>.
36072         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36073         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36074         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36075         unconditional.
36076         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36077         conditional code.
36079 2014-06-25  Will Newton  <will.newton@linaro.org>
36081         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36082         comment changes throughout the file.  Remove checks
36083         for HAVE_*_H definitions that are not required.
36084         (__gen_tempname): Call abort if an unknown kind value is
36085         passed.
36087 2014-06-25  Andreas Schwab  <schwab@suse.de>
36089         [BZ #17086]
36090         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36091         scalbln, scalblnf, scalblnl in libc.
36093 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36095         [BZ #17086]
36096         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36097         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36098         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36100 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36102         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36103         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36104         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36105         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36106         Update #include.
36107         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36108         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36109         Update #include.
36110         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36111         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36112         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36113         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36114         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36115         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36116         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36117         * sysdeps/x86/bits/semaphore.h: ... here.
36118         * sysdeps/x86/nptl/elide.h: Moved ...
36119         * sysdeps/x86/elide.h: ... here.
36120         * sysdeps/x86_64/nptl/Implies: File removed.
36121         * sysdeps/i386/nptl/Implies: File removed.
36123 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36125         [BZ #16539]
36126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36127         return the argument for normal arguments with exponent below -64.
36128         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36129         Likewise.
36130         * math/auto-libm-test-in: Add another test of expm1.
36131         * math/auto-libm-test-out: Regenerated.
36133         [BZ #16287]
36134         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36135         calling __erfcl for arguments at least 16.
36136         * math/auto-libm-test-in: Add more tests of erf.
36137         * math/auto-libm-test-out: Regenerated.
36139         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36140         individual architectures.
36141         * sysdeps/unix/sysv/linux/configure: Regenerated.
36142         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36143         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36144         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36145         (ldd_rewrite_script): Define variable.
36146         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36148         file.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36150         generated file.
36151         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36152         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36153         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36154         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36155         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36156         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36157         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36158         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36160 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36162         [BZ #17084]
36163         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36164         Rename member __data.d to __data.__elision_data.
36166 2014-06-24  Wilco  <wdijkstr@arm.com>
36168         * NEWS: Add 16918 to fixed bug list.
36170 2014-06-24  Wilco  <wdijkstr@arm.com>
36172         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36174 2014-06-24  Wilco  <wdijkstr@arm.com>
36176         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36177         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36178         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36179         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36180         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36181         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36182         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36183         Use _FPU_MASK_RM.
36185 2014-06-24  Wilco  <wdijkstr@arm.com>
36187         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36189 2014-06-24  Wilco  <wdijkstr@arm.com>
36191         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36192         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36193         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36194         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36196 2014-06-24  Wilco  <wdijkstr@arm.com>
36198         [BZ #16918]
36199         * sysdeps/arm/feupdateenv.c (feupdateenv):
36200         Rewrite to reduce FPSCR accesses and fix return value.
36202 2014-06-24  Wilco  <wdijkstr@arm.com>
36204         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36205         Optimize to avoid unnecessary FPSCR writes.
36206         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36207         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36208         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36209         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36211 2014-06-24  Wilco  <wdijkstr@arm.com>
36213         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36214         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36215         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36216         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36217         Call libc_fetestexcept_vfp.
36218         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36219         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36220         __SOFTFP__ ifdef so that they can be built for softfp.
36222 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36224         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36225         argument type signed char.
36227         * Makerules (check-abi): Dump diff of symlist if the test
36228         fails.
36230 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36232         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36233         using abort.
36235         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36236         Remove unused variable ST.
36238 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36240         [BZ #16354]
36241         [BZ #17061]
36242         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36243         small arguments before calling __expm1.
36244         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36245         small arguments before calling __expm1f.
36246         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36247         small arguments before calling __expm1l.
36248         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36249         Likewise.
36250         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36251         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36252         spurious underflow for some cosh tests.
36253         * math/auto-libm-test-out: Regenerated.
36254         * sysdeps/i386/fpu/libm-test-ulps: Update.
36256         [BZ #17050]
36257         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36258         (__ieee754_y1): Set errno if return value overflows.
36259         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36260         (__ieee754_y1f): Set errno if return value overflows.
36261         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36262         (__ieee754_y1l): Set errno if return value overflows.
36263         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36264         (__ieee754_y1l): Set errno if return value overflows.
36265         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36266         * math/auto-libm-test-out: Regenerated.
36268         * math/gen-auto-libm-tests.c: Document use of
36269         ignore-zero-inf-sign.
36270         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36271         (input_flags): Add ignore-zero-inf-sign.
36272         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36273         * math/gen-libm-test.pl (generate_testfile): Handle
36274         ignore-zero-inf-sign.
36275         * math/auto-libm-test-in: Mark some cpow tests with
36276         ignore-zero-inf-sign and some with xfail-rounding.
36277         * math/auto-libm-test-out: Regenerated.
36278         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36279         * sysdeps/i386/fpu/libm-test-ulps: Update.
36280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36282         [BZ #16315]
36283         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36284         overflowing or underflowing operations take place with sign of
36285         result.
36286         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36287         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36288         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36289         (__ieee754_pow): Recompute overflowing and underflowing results in
36290         original rounding mode.
36291         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36292         (__powl_helper): Allow negative argument X and scale negated value
36293         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36294         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36295         overflowing or underflowing operations take place with sign of
36296         result.
36297         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36298         Include <math.h>.
36299         * math/auto-libm-test-in: Add more tests of pow.
36300         * math/auto-libm-test-out: Regenerated.
36301         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36302         (pow_tonearest_test_data): Remove.
36303         (pow_test_tonearest): Likewise.
36304         (pow_towardzero_test_data): Likewise.
36305         (pow_test_towardzero): Likewise.
36306         (pow_downward_test_data): Likewise.
36307         (pow_test_downward): Likewise.
36308         (pow_upward_test_data): Likewise.
36309         (pow_test_upward): Likewise.
36310         (main): Don't call removed functions.
36311         * sysdeps/i386/fpu/libm-test-ulps: Update.
36312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36314 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36317         Moved ...
36318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36320         Moved ...
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36323         Moved ...
36324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36326         Moved ...
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36329         File removed.
36330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36331         File removed.
36332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36333         File removed.
36334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36335         File removed.
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36337         File removed.
36338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36339         File removed.
36340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36341         File removed.
36342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36343         File removed.
36344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36345         File removed.
36346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36347         File removed.
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36349         File removed.
36350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36351         File removed.
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36353         Moved ...
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36356         Moved ...
36357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36358         ... here.
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36360         Moved ...
36361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36363         Moved ...
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36366         Moved ...
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36369         Moved ...
36370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36372         Moved ...
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36375         Moved ...
36376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36378         Moved ...
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36382         ... here.
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36384         Moved ...
36385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36387         Moved ...
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36389         ... here.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36391         Moved ...
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36393         ... here.
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36395         Moved ...
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36397         ... here.
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36399         Moved ...
36400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36402         Moved ...
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36407         Moved ...
36408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36409         ... here.
36410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36411         Moved ...
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36413         ... here.
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36415         Moved ...
36416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36418         Moved ...
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36421         Moved ...
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36424         Moved ...
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36427         Moved ...
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36429         ... here.
36430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36431         Moved ...
36432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36434         Moved ...
36435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36437         Moved ...
36438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36440         Moved ...
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36445         Moved ...
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36448         Moved ...
36449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36451         Moved ...
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36453         ... here.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36457         ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36461         ... here.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36466         Moved ...
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36469         Moved ...
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36472         Moved ...
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36474         ... here.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36476         Moved ...
36477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36478         ... here.
36479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36480         Moved ...
36481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36482         ... here.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36484         Moved ...
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36487         Moved ...
36488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36490 2014-06-23  Will Newton  <will.newton@linaro.org>
36491             Wilco  <wdijkstr@arm.com>
36493         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36494         implementation.  Include get-rounding-mode.h.
36495         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36496         [!libc_feholdsetround_noex_ctx]: Define
36497         libc_feholdsetround_noex_ctx.
36498         [!libc_feholdsetround_noexf_ctx]: Define
36499         libc_feholdsetround_noexf_ctx.
36500         [!libc_feholdsetround_noexl_ctx]: Define
36501         libc_feholdsetround_noexl_ctx.
36502         (libc_feholdsetround_ctx): New function.
36503         (libc_feresetround_ctx): New function.
36504         (libc_feholdsetround_noex_ctx): New function.
36505         (libc_feresetround_noex_ctx): New function.
36507 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36509         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36510         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36511         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36512         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36513         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36514         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36516         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36517         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36518         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36519         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36520         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36521         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36523         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36525         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36529         ... here.
36530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36531         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36532         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36533         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36535         Moved ...
36536         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36538         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36540         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36542         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36544         Moved ...
36545         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36547         Moved ...
36548         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36549         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36550         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36552         Moved ...
36553         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36555         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36556         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36557         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36558         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36559         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36561         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36563         Moved ...
36564         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36565         ... here.
36566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36567         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36568         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36569         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36571         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36573         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36575         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36579         Moved ...
36580         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36582         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36584         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36586         Moved ...
36587         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36589         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36590         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36591         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36593         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36594         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36595         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36596         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36597         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36598         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36599         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36600         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36602         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36603         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36604         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36605         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36606         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36607         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36608         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36609         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36610         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36612         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36613         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36614         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36615         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36616         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36617         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36618         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36619         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36620         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36622 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36625         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36626         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36627         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36628         (IPV6_PMTUDISC_INTERFACE): Likewise.
36629         (IPV6_PMTUDISC_OMIT): Likewise.
36631 2014-06-23  Andreas Schwab  <schwab@suse.de>
36633         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36634         Remove unused errout label.
36636 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36638         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36639         macro: hardware supports Vector Crypto instructions.
36641 2014-06-23  Will Newton  <will.newton@linaro.org>
36643         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36644         rather than __builtin_expect.
36646         * elf/dl-lookup.c (undefined_msg): Remove variable.
36647         (_dl_lookup_symbol_x): Replace undefined_msg with string
36648         literal.
36650         * elf/dl-lookup.c (do_lookup_unique): New function.
36651         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36652         to a separate function.
36654 2014-06-23  Andreas Schwab  <schwab@suse.de>
36656         [BZ #17079]
36657         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36658         before reading the next line.
36660 2014-06-23  Will Newton  <will.newton@linaro.org>
36662         * test-skeleton.c (signal_handler): Use printf and %m
36663         rather than perror.  Use printf rather than fprintf to
36664         stderr.  Use puts rather than fputs to stderr.
36665         (main): Likewise.
36667 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36669         * nscd/nscd.c (thread_info_t): Remove typedef.
36670         (thread_info): Remove variable.
36672 2014-06-21  Allan McRae  <allan@archlinux.org>
36674         * NEWS: Mention CVE-2014-4043.
36676 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36678         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36679         * nptl/smp.h: ... here.
36681         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36683         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36684         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36685         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36686         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36688         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36689         * nptl/stack-aliasing.h: New file.
36690         * sysdeps/i386/i686/stack-aliasing.h: New file.
36691         * sysdeps/i386/i686/nptl/Makefile: File removed.
36692         * sysdeps/x86_64/stack-aliasing.h: New file.
36693         * sysdeps/x86_64/nptl/Makefile
36694         (CFLAGS-pthread_create.c): Variable removed.
36696         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36697         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36698         old file.
36699         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36700         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36701         old file.
36703 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36705         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36706         (__ASSUME_SIGFRAME_V2): Remove macro.
36707         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36708         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36709         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36710         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36711         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36712         Declare as function.  Remove conditional macro definitions.
36713         (__default_rt_sa_restorer): Likewise.
36714         (__default_sa_restorer_v1): Remove declaration.
36715         (__default_sa_restorer_v2): Likewise.
36716         (__default_rt_sa_restorer_v1): Likewise.
36717         (__default_rt_sa_restorer_v2): Likewise.
36718         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36719         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36720         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36722 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36724         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36725         (libpthread-routines): Add sysdep.
36726         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36727         * sysdeps/unix/sysv/linux/sparc/Versions
36728         (libpthread: GLIBC_2.3.3): New version set.
36729         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36730         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36731         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36732         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36733         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36735         Moved ...
36736         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36737         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36738         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36739         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36740         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36741         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36742         * sysdeps/sparc/nptl/sem_init.c: ... here.
36743         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36744         * sysdeps/sparc/nptl/sem_post.c: ... here.
36745         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36746         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36747         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36748         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36749         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36750         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36751         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36752         (libpthread-routines): Add cpu_relax.
36753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36754         File removed.
36755         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36756         (librt: GLIBC_2.3.3): New version set.
36757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36758         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36759         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36760         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36763         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36765         Moved ...
36766         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36768         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36770         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36772         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36774         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36776         Moved ...
36777         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36778         Update #include.
36779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36780         Moved ...
36781         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36782         Update #include.
36783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36784         Moved ...
36785         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36786         Update #include.
36787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36788         Moved ...
36789         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36790         Update #include.
36791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36792         Moved ...
36793         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36794         Update #include.
36795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36796         Moved ...
36797         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36798         Update #include.
36799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36800         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36802         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36804         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36806         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36808         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36810         Moved ...
36811         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36813         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36815         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36817 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36819         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36820         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36821         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36822         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36823         * nscd/nscd.c: Likewise.
36824         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36825         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36826         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36827         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36829         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36830         <kernel-features.h>.
36831         (init_mq_netlink): Remove conditional have_sock_cloexec
36832         definitions.  Remove code conditional on have_sock_cloexec < 0.
36833         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36834         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36835         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36836         <kernel-features.h>.
36837         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36838         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36840 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36843         Add tests for memset_chk and memset.
36845         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36846         with AVX2_Usable.
36848 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36850         [BZ #16046]
36851         * elf/tst-dl-iter-static.c: New file.
36852         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36854         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36855         error.
36857 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36859         * sysdeps/unix/sysv/linux/kernel-features.h
36860         (__ASSUME_F_GETOWN_EX): Remove macro.
36861         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36862         <kernel-features.h>.
36863         (miss_F_GETOWN_EX): Remove variable or macro.
36864         (do_fcntl): Do not check miss_F_GETOWN_EX.
36865         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36867         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36868         Remove macro.
36869         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36870         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36871         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36873         * sysdeps/unix/sysv/linux/kernel-features.h
36874         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36875         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36876         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36877         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36879 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36881         [BZ #17075]
36882         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36883         Fix calculation of the symbol's value.
36884         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36885         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36886         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36887         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36888         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36889         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36890         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36891         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36892         (modules-names): Add `tst-armtlsdescmod',
36893         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36894         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36895         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36896         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36897         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36898         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36899         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36900         ($(objpfx)tst-armtlsdescloc): New dependency.
36901         ($(objpfx)tst-armtlsdescextnow): Likewise.
36902         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36903         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36904         TLS scheme support.
36905         * sysdeps/arm/configure: Regenerate.
36907 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36909         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36910         (__atfct_seterrno_2): Likewise.
36911         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36912         <kernel-features.h>.
36913         (__ASSUME_ATFCTS): Do not undefine and redefine.
36914         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36915         (__have_atfcts): Remove conditional definition.
36916         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36917         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36918         unreachable if [__ASSUME_ATFCTS].
36919         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36920         not undefine and redefine.
36921         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36922         <kernel-features.h>.
36923         (faccessat) [__NR_faccessat]: Make code unconditional.
36924         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36925         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36926         <kernel-features.h>.
36927         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36928         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36929         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36930         <kernel-features.h>.
36931         (fchownat) [__NR_fchownat]: Make code unconditional.
36932         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36933         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36934         <kernel-features.h>.
36935         (futimesat) [__NR_futimesat]: Make code unconditional.
36936         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36937         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36938         <kernel-features.h>.
36939         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36940         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36941         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36942         <kernel-features.h>.
36943         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36944         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36945         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36946         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36947         <kernel-features.h>.
36948         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36949         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36950         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36951         <kernel-features.h>.
36952         (linkat) [__NR_linkat]: Make code unconditional.
36953         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36954         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36955         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36956         <kernel-features.h>.
36957         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36958         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36959         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36960         <kernel-features.h>.
36961         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36962         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36963         * sysdeps/unix/sysv/linux/openat.c: Do not include
36964         <kernel-features.h>.
36965         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36966         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36967         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36968         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36969         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36970         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36971         <kernel-features.h>.
36972         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36973         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36974         result of INLINE_SYSCALL directly, not via int variable.
36975         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36976         <kernel-features.h>.
36977         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36978         (renameat) [__NR_renameat]: Make code unconditional.
36979         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36980         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36981         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36982         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36983         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36984         (__ASSUME_ATFCTS): Do not undefine and redefine.
36985         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36986         <kernel-features.h>.
36987         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36988         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36989         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36990         <kernel-features.h>.
36991         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36992         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36993         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36994         (__ASSUME_ATFCTS): Do not undefine and redefine.
36995         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36996         <kernel-features.h>.
36997         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36998         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36999         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37000         <kernel-features.h>.
37001         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37002         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37004 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37006         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37008 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37010         [BZ #17069]
37011         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37012         constructed tree before returning error.
37013         * posix/bug-regexp36.c: Expand test case.
37015 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37017         [BZ #6803]
37018         * math/libm-test.inc (scalbln_test_date):
37019         Add errno expectations.
37020         * math/w_scalblnf.c: New File.
37021         Add wrapper which checks for setting errno to ERANGE.
37022         Add weak_alias for corresponding scalbln function.
37023         * math/w_scalbln.c: Likewise.
37024         * math/w_scalblnl.c: Likewise.
37025         * math/Makefile (libm-calls): Add w_scalbln.
37026         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37027         Remove weak_alias for corresponding scalbln function.
37028         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37029         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37030         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37031         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37032         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37033         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37034         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37035         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37036         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37037         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37038         Remove long_double_symbol for scalblnl function in libm, libc.
37039         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37040         Add wrapper which checks for setting errno to ERANGE.
37041         Add long_double_symbol for scalblnl function in libm, libc.
37042         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37043         Remove long_double_symbol for scalblnl in libm.
37044         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37045         Add wrapper which checks for setting errno to ERANGE.
37046         Add long_double_symbol for scalblnl function in libm.
37047         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37048         Do not use wrapper because of own implementation.
37050 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37052         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37053         3 bytes for __pad1 for x32.
37054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37056 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37057             H.J. Lu  <hongjiu.lu@intel.com>
37059         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37060         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37061         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37063         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37065 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37067         [BZ #17069]
37068         * posix/regcomp.c (parse_expression): Deallocate partially
37069         constructed tree before returning error.
37070         * posix/Makefile.c (tests): Add bug-regex36.
37071         (generated): Add bug-regex36.mtrace.
37072         (tests-special): Add $(objpfx)bug-regex36-mem.out
37073         (bug-regex36-ENV): New variable.
37074         ($(objpfx)bug-regex36-mem.out): New rule.
37075         * posix/bug-regex36.c: New file.
37077 2014-06-19  Will Newton  <will.newton@linaro.org>
37079         * malloc/malloc.c (systrim): If extra is zero then return
37080         early.
37082 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37084         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37086 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37088         * sysdeps/aarch64/strchr.S: New file.
37090 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37092         [BZ #17022]
37093         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37094         from arguments -2 or below.
37095         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37096         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37098 2014-06-18  Andreas Schwab  <schwab@suse.de>
37100         [BZ #17062]
37101         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37102         of a bracket expr not to run off the end of the string.
37103         * posix/Makefile (tests): Add tst-fnmatch3.
37104         * posix/tst-fnmatch3.c: New file.
37106 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37108         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37109         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37110         [$(cross-compiling) = no]: Likewise.
37111         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37112         [$(cross-compiling) = no]: Likewise.
37114 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37116         [BZ #17031]
37117         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37118         double, adjusted for any remainder from the high double.
37119         * math/libm-test.inc (nearbyint): Add tests.
37120         (rint): Likewise.
37122 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37124         * nptl/sysdeps/powerpc/Makefile: Moved ...
37125         * sysdeps/powerpc/nptl/Makefile: ... here.
37126         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37127         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37128         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37129         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37130         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37131         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37132         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37133         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37134         * nptl/sysdeps/powerpc/tls.h: Moved ...
37135         * sysdeps/powerpc/nptl/tls.h: ... here.
37137 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37139         [BZ #16681]
37140         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37141         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37142         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37143         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37144         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37145         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37146         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37147         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37148         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37150 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37152         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37154 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37156         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37157         defined operator.
37159         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37160         $TIMEOUTFACTOR.
37162 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37164         [BZ #17058]
37165         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37166         non-executed part of the test.
37168 2014-06-16  Andreas Schwab  <schwab@suse.de>
37170         * string/bits/string2.h (strdup, strndup): Update feature guard.
37172 2014-06-14  David S. Miller  <davem@davemloft.net>
37174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37176 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37178         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37179         that was previously under [RESET_PID].
37180         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37182         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37183         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37184         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37185         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37186         (__libc_vfork): New strong alias.
37187         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37189 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37191         * sysdeps/generic/elide.h: New file.
37193 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37195         * Makefile (installed-headers): Adjust path of pthread.h header.
37197 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37199         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37200         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37201         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37202         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37204         * nptl/sysdeps/s390/Makefile: Moved ...
37205         * sysdeps/s390/nptl/Makefile: ... here.
37206         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37207         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37208         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37209         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37210         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37211         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37212         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37213         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37214         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37215         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37216         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37217         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37218         * nptl/sysdeps/s390/tls.h: Moved ...
37219         * sysdeps/s390/nptl/tls.h: ... here.
37221         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37222         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37224 2014-06-13  David S. Miller  <davem@davemloft.net>
37226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37229         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37233         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37234         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37235         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37236         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37237         Remove RESET_PID cpp guards.
37238         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37239         Remove RESET_PID cpp guards.
37240         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37242 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37244         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37245         __sp to uintptr_t.
37247 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37256         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37257         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37266         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37270         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37271         (pthread_rwlock_rdlock): Add elision.
37272         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37273         (pthread_rwlock_wrlock): Add elision.
37274         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37275         (pthread_rwlock_trywrlock): Add elision.
37276         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37277         (pthread_rwlock_tryrdlock): Add elision.
37278         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37279         (pthread_rwlock_tryrdlock): Add elision unlock.
37280         * nptl/sysdeps/pthread/pthread.h:
37281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37282         (PTHREAD_RWLOCK_INITIALIZER,
37283         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37284         Handle new elision field.
37285         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37286         * sysdeps/arm/nptl/bits/pthreadtypes.h
37287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37288         * sysdeps/sh/nptl/bits/pthreadtypes.h
37289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37290         * sysdeps/tile/nptl/bits/pthreadtypes.h
37291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37292         * sysdeps/a/nptl/bits/pthreadtypes.h
37293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37294         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37296         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37298         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37300         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37302         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37304         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37306         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37308         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37310         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37311         (elision_init): Set try_xbegin to zero when no RTM.
37312         * sysdeps/x86/nptl/bits/pthreadtypes.h
37313         (pthread_rwlock_t): Change __pad1 to __rwelision.
37314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37316 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37318         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37319         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37320         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37321         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37323 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37325         [BZ #16996]
37326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37327         that the cached result has been set before returning it.
37329 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37331         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37332         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37333         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37334         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37335         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37336         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37338         * nptl/sysdeps/sparc/Makefile: Moved ...
37339         * sysdeps/sparc/nptl/Makefile: ... here.
37340         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37341         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37342         * nptl/sysdeps/sparc/tls.h: Moved ...
37343         * sysdeps/sparc/nptl/tls.h: ... here.
37344         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37345         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37346         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37347         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37348         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37349         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37350         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37351         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37352         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37353         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37354         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37355         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37356         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37357         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37358         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37359         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37362         Update #include.
37363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37365         Update #include.
37366         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37368         Update #include.
37369         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37371         Update #include.
37373         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37375         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37376         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37378         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37379         (struct list_links): Type removed.
37380         (struct thread_node, struct timer_node): Replace struct list_links
37381         with struct list_head.
37382         (list_unlink_ip): Likewise.
37383         * sysdeps/pthread/timer_routines.c
37384         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37385         (list_append, list_insbefore): Likewise.
37386         (list_init): Function removed.
37387         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37388         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37389         * sysdeps/pthread/Makefile: ... here, new file.
37391         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37392         * sysdeps/nptl/Implies: ... here.
37393         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37394         * nptl/sysdeps/pthread/list.h: Moved ...
37395         * include/list.h: ... here.
37396         * nptl/sysdeps/pthread/createthread.c: Moved ...
37397         * nptl/createthread.c: ... here.
37398         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37399         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37400         * nptl/pt-longjmp.c: ... here.
37401         * nptl/sysdeps/pthread/Makefile: Moved ...
37402         * sysdeps/nptl/Makefile: ... here.
37403         * nptl/sysdeps/pthread/Subdirs: Moved ...
37404         * sysdeps/nptl/Subdirs: ... here.
37405         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37406         * sysdeps/nptl/aio_misc.h: ... here.
37407         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37408         * sysdeps/nptl/bits/libc-lock.h: ... here.
37409         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37410         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37411         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37412         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37413         * nptl/sysdeps/pthread/configure: Moved ...
37414         * sysdeps/nptl/configure: ... here.
37415         * nptl/sysdeps/pthread/configure.ac: Moved ...
37416         * sysdeps/nptl/configure.ac: ... here.
37417         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37418         * sysdeps/nptl/gai_misc.h: ... here.
37419         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37420         * sysdeps/nptl/librt-cancellation.c: ... here.
37421         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37422         * sysdeps/nptl/malloc-machine.h: ... here.
37423         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37424         * sysdeps/nptl/pthread-functions.h: ... here.
37425         * nptl/sysdeps/pthread/pthread.h: Moved ...
37426         * sysdeps/nptl/pthread.h: ... here.
37427         * nptl/sysdeps/pthread/setxid.h: Moved ...
37428         * sysdeps/nptl/setxid.h: ... here.
37429         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37430         * sysdeps/nptl/sigfillset.c: ... here.
37431         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37432         * sysdeps/nptl/tcb-offsets.h: ... here.
37433         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37434         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37435         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37436         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37437         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37438         * sysdeps/pthread/allocalim.h: ... here.
37439         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37440         * sysdeps/pthread/bits/sigthread.h: ... here.
37441         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37442         * sysdeps/pthread/flockfile.c: ... here.
37443         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37444         * sysdeps/pthread/ftrylockfile.c: ... here.
37445         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37446         * sysdeps/pthread/funlockfile.c: ... here.
37447         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37448         * sysdeps/pthread/posix-timer.h: ... here.
37449         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37450         * sysdeps/pthread/timer_create.c: ... here.
37451         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37452         * sysdeps/pthread/timer_delete.c: ... here.
37453         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37454         * sysdeps/pthread/timer_getoverr.c: ... here.
37455         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37456         * sysdeps/pthread/timer_gettime.c: ... here.
37457         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37458         * sysdeps/pthread/timer_routines.c: ... here.
37459         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37460         * sysdeps/pthread/timer_settime.c: ... here.
37461         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37462         * sysdeps/pthread/tst-timer.c: ... here.
37463         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37464         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37466         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37467         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37469         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37470         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37471         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37472         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37473         Update #include target.
37474         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37475         * sysdeps/i386/i686/nptl/Makefile: ... here.
37476         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37477         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37478         Update #include target.
37479         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37480         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37481         * nptl/sysdeps/i386/Makefile: Moved ...
37482         * sysdeps/i386/nptl/Makefile: ... here.
37483         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37484         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37485         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37486         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37487         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37488         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37489         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37490         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37491         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37492         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37493         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37494         * nptl/sysdeps/i386/tls.h: Moved ...
37495         * sysdeps/i386/nptl/tls.h: ... here.
37497         * sysdeps/sh/Makefile [$(subdir) = csu]
37498         (gen-as-const-headers): Add tcb-offsets.sym.
37499         * nptl/sysdeps/sh/Makefile: File removed.
37500         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37501         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37502         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37503         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37504         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37505         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37506         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37507         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37508         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37509         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37510         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37511         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37512         * nptl/sysdeps/sh/tls.h: Moved ...
37513         * sysdeps/sh/nptl/tls.h: ... here.
37514         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37515         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37517         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37518         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37519         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37520         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37521         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37522         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37523         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37525         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37527         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37529         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37531         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37533         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37534         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37535         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37539         Moved ...
37540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37542         Moved ...
37543         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37544         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37545         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37546         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37547         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37548         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37549         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37550         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37551         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37552         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37553         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37554         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37555         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37556         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37557         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37558         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37559         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37560         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37561         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37563 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37565         * posix/spawn_faction_addopen.c: Include string.h.
37567 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37569         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37570         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37571         * nptl/sysdeps/x86_64/Makefile: Moved ...
37572         * sysdeps/x86_64/nptl/Makefile: ... here.
37573         * nptl/sysdeps/x86_64/configure: Moved ...
37574         * sysdeps/x86_64/nptl/configure: ... here.
37575         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37576         * sysdeps/x86_64/nptl/configure.ac: ... here.
37577         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37578         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37579         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37580         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37581         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37582         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37583         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37584         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37585         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37586         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37587         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37588         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37589         * nptl/sysdeps/x86_64/tls.h: Moved ...
37590         * sysdeps/x86_64/nptl/tls.h: ... here.
37591         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37592         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37593         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37594         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37596         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37598 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37602 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37604         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37605         type.
37606         [POSIX] (off_t): Likewise.
37607         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37608         [POSIX] (S_ISBLK): Require macro.
37609         [POSIX] (S_ISCHR): Likewise.
37610         [POSIX] (S_ISDIR): Likewise.
37611         [POSIX] (S_ISFIFO): Likewise.
37612         [POSIX] (S_ISREG): Likewise.
37613         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37614         optional-macro.
37615         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37616         type.
37617         [POSIX] (time_t): Likewise.
37618         [POSIX] (timer_t): Likewise.
37620 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37622         [BZ #17048]
37623         * posix/spawn_int.h (struct __spawn_action): Make the path string
37624         non-const to support deallocation.
37625         * posix/spawn_faction_addopen.c
37626         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37627         * posix/spawn_faction_destroy.c
37628         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37629         path in all spawn_do_open actions.
37630         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37631         posix_spawn_file_actions_addopen.
37633 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37635         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37636         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37637         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37638         conditional code always true.
37639         (__libc_vfork): New alias.
37641 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37643         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37644         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37646         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37648         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37649         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37651         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37652         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37654         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37655         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37657 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37659         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37660         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37661         multiarch strcmp for PPC64.
37662         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37663         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37665         multiarch optimizations.
37666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37667         (__libc_ifunc_impl_list): Likewise.
37669 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37671         * benchtests/scripts/validate_benchout.py: New script.
37672         * benchtests/Makefile (bench-func): Call it.
37673         * benchtests/scripts/benchout.schema.json: New file.
37675 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37677         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37678         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37679         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37680         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37681         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37682         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37683         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37684         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37685         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37686         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37687         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37688         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37689         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37690         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37691         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37692         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37694         Moved ...
37695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37696         ... here.
37697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37698         Moved ...
37699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37701         Moved ...
37702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37703         ... here.
37704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37705         Moved ...
37706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37707         ... here.
37708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37709         Moved ...
37710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37712         Moved ...
37713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37714         ... here.
37715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37716         Moved ...
37717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37718         ... here.
37719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37720         Moved ...
37721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37723         Moved ...
37724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37725         ... here.
37726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37727         Moved ...
37728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37729         ... here.
37730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37731         Moved ...
37732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37733         ... here.
37734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37735         Moved ...
37736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37738         Moved ...
37739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37740         ... here.
37741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37742         Moved ...
37743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37744         ... here.
37745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37746         Moved ...
37747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37748         ... here.
37749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37750         Moved ...
37751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37753         Moved ...
37754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37755         ... here.
37756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37757         Moved ...
37758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37759         ... here.
37760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37761         Moved ...
37762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37764         Moved ...
37765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37766         ... here.
37767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37768         Moved ...
37769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37771         Moved ...
37772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37774         Moved ...
37775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37776         ... here.
37777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37778         Moved ...
37779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37780         ... here.
37781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37782         Moved ...
37783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37784         ... here.
37785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37786         Moved ...
37787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37789         Moved ...
37790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37791         ... here.
37792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37793         Moved ...
37794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37795         ... here.
37796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37797         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37799         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37801         Moved ...
37802         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37803         ... here.
37804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37805         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37807         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37809         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37811         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37813         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37815         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37817         Moved ...
37818         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37820         Moved ...
37821         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37823         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37825         Moved ...
37826         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37828         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37829         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37830         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37831         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37832         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37834 2014-06-10  Wilco  <wdijkstr@arm.com>
37836         * math/test-fenv-return.c: New file.
37837         * math/Makefile: Add new test test-fenv-return.
37839 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37841         [BZ #17042]
37842         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37843         when x - 1 is zero.
37844         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37845         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37846         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37847         0.0L for an argument of 1.0L.
37848         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37849         Likewise.
37850         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37851         value when x - 1 is zero.
37852         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37853         * sysdeps/i386/fpu/libm-test-ulps: Update.
37854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37856 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37858         [BZ #15119]
37859         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37861 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37863         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37864         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37866 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37868         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37869         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37871         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37872         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37874         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37875         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37877         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37878         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37880         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37881         if not already defined.
37882         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37883         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37884         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37885         (TLS_INIT_TP): Use it.
37886         (TLS_DEFINE_INIT_TP): New macro.
37887         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37889 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37891         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37892         constant.
37893         [POSIX] (IXANY): Likewise.
37894         [POSIX] (OLCUC): Likewise.
37895         [POSIX || POSIX2008] (CBAUD): Do not allow.
37896         [POSIX || POSIX2008] (DEFECHO): Likewise.
37897         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37898         [POSIX || POSIX2008] (ECHOKE): Likewise.
37899         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37900         [POSIX || POSIX2008] (EXTA): Likewise.
37901         [POSIX || POSIX2008] (EXTB): Likewise.
37902         [POSIX || POSIX2008] (FLUSHO): Likewise.
37903         [POSIX || POSIX2008] (LOBLK): Likewise.
37904         [POSIX || POSIX2008] (PENDIN): Likewise.
37905         [POSIX || POSIX2008] (SWTCH): Likewise.
37906         [POSIX || POSIX2008] (VDISCARD): Likewise.
37907         [POSIX || POSIX2008] (VDSUSP): Likewise.
37908         [POSIX || POSIX2008] (VLNEXT): Likewise.
37909         [POSIX || POSIX2008] (VREPRINT): Likewise.
37910         [POSIX || POSIX2008] (VSTATUS): Likewise.
37911         [POSIX || POSIX2008] (VWERASE): Likewise.
37912         (B*): Change to B[0123456789]*.
37913         * conform/data/time.h-data [POSIX || UNIX98]
37914         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37915         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37916         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37917         [POSIX] (tm_*): Do not allow.
37919 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37921         * Makefile (install): Don't set LANGUAGE.
37922         * Makefile.in (install): Likewise.
37923         * assert/Makefile (test-assert-ENV): Remove variable.
37924         (test-assert-perr-ENV): Likewise.
37925         * elf/Makefile (neededtest4-ENV): Likewise.
37926         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37927         [$(cross-compiling) = no]: Don't set LANGUAGE.
37928         * io/ftwtest-sh (LANG): Remove variable.
37929         * libio/Makefile (tst-widetext-ENV): Likewise.
37930         * manual/install.texi (Running make install): Don't refer to
37931         environment settings for make install.
37932         * INSTALL: Regenerated.
37933         * nptl/tst-tls6.sh: Don't set LANG.
37934         * posix/globtest.sh (LANG): Remove variable.
37935         * string/Makefile (tester-ENV): Likewise.
37936         (inl-tester-ENV): Likewise.
37937         (noinl-tester-ENV): Likewise.
37938         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37939         [$(cross-compiling) = no]: Don't set LANGUAGE.
37940         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37941         without explicit environment settings.
37943 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37945         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37946         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37947         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37948         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37950 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37952         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37953         other files in the crypt directory.
37954         * crypt/crypt.c: Remove duplicate includes.
37955         * crypt/crypt-entry.c: Likewise.
37956         * crypt/crypt_util.c: Likewise.
37958 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37960         * Makeconfig (run-program-env): New variable.
37961         (run-program-prefix-before-env): Likewise.
37962         (run-program-prefix-after-env): Likewise.
37963         (run-program-prefix): Define in terms of new variables.
37964         (built-program-cmd-before-env): New variable.
37965         (built-program-cmd-after-env): Likewise.
37966         (built-program-cmd): Define in terms of new variables.
37967         (test-program-prefix-before-env): New variable.
37968         (test-program-prefix-after-env): Likewise.
37969         (test-program-prefix): Define in terms of new variables.
37970         (test-program-cmd-before-env): New variable.
37971         (test-program-cmd-after-env): Likewise.
37972         (test-program-cmd): Define in terms of new variables.
37973         * Rules (make-test-out): Use $(run-program-env).
37974         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37975         (help): Do not mention environment variables.  Mention
37976         --timeoutfactor option.
37977         (timeoutfactor): New variable.
37978         (blacklist_exports): Remove function.
37979         (exports): Remove variable.
37980         (command): Do not include ${exports}.
37981         * manual/install.texi (Configuring and compiling): Do not mention
37982         test wrappers preserving environment variables.  Mention that last
37983         assignment to a variable must take precedence.
37984         * INSTALL: Regenerated.
37985         * benchtests/Makefile (run-bench): Use $(run-program-env).
37986         * catgets/Makefile ($(objpfx)test1.cat): Use
37987         $(built-program-cmd-before-env), $(run-program-env) and
37988         $(built-program-cmd-after-env).
37989         ($(objpfx)test2.cat): Do not specify environment variables
37990         explicitly.
37991         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37992         $(run-program-env) and $(built-program-cmd-after-env).
37993         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37994         $(run-program-env) and $(test-program-cmd-after-env).
37995         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37996         explicitly.
37997         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37998         run_program_env and test_program_cmd_after_env arguments.
37999         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38000         * elf/tst-pathopt.sh: Use run_program_env argument.
38001         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38002         $(test-wrapper-env) and $(run-program-env).
38003         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38004         run_program_env arguments.
38005         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38006         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38007         $(test-program-prefix-before-env), $(run-program-env) and
38008         $(test-program-prefix-after-env).
38009         ($(objpfx)tst-gettext2.out): Likewise.
38010         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38011         run_program_env and test_program_prefix_after_env arguments.
38012         * intl/tst-gettext2.sh: Likewise.
38013         * intl/tst-gettext4.sh: Do not set environment variables
38014         explicitly.
38015         * intl/tst-gettext6.sh: Likewise.
38016         * intl/tst-translit.sh: Likewise.
38017         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38018         $(test-program-prefix-before-env), $(run-program-env) and
38019         $(test-program-prefix-after-env).
38020         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38021         run_program_env and test_program_prefix_after_env arguments.
38022         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38023         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38024         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38025         explicitly with each use of ${test_wrapper_env}.
38026         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38027         $(test-program-prefix-before-env), $(run-program-env) and
38028         $(test-program-prefix-after-env).
38029         * posix/tst-getconf.sh: Do not set environment variables
38030         explicitly.
38031         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38032         run_program_env and test_program_prefix_after_env arguments.
38033         * stdio-common/tst-printf.sh: Do not set environment variables
38034         explicitly.
38035         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38036         $(test-program-prefix-before-env), $(run-program-env) and
38037         $(test-program-prefix-after-env).
38038         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38039         run_program_env and test_program_prefix_after_env arguments.
38040         Split $test calls into $test_pre and $test.
38041         * timezone/Makefile (build-testdata): Use
38042         $(built-program-cmd-before-env), $(run-program-env) and
38043         $(built-program-cmd-after-env).
38045 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38047         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38048         strlen for non SHARED builds.
38050 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38052         * nptl/allocatestack.c (check_list): Inlined function...
38053         (__reclaim_stacks): ... here.
38055 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38057         [BZ #15698]
38058         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38059         memory overrun.
38061 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38063         * Rules (make-test-out): Include
38064         LOCPATH=$(common-objpfx)localedata in default environment.
38065         * debug/Makefile (tst-chk1-ENV): Remove variable.
38066         (tst-chk2-ENV): Likewise.
38067         (tst-chk3-ENV): Likewise.
38068         (tst-chk4-ENV): Likewise.
38069         (tst-chk5-ENV): Likewise.
38070         (tst-chk6-ENV): Likewise.
38071         (tst-lfschk1-ENV): Likewise.
38072         (tst-lfschk2-ENV): Likewise.
38073         (tst-lfschk3-ENV): Likewise.
38074         (tst-lfschk4-ENV): Likewise.
38075         (tst-lfschk5-ENV): Likewise.
38076         (tst-lfschk6-ENV): Likewise.
38077         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38078         (tst-iconv7-ENV): Likewise.
38079         * intl/Makefile (LOCPATH-ENV): Likewise.
38080         (tst-codeset-ENV): Likewise.
38081         (tst-gettext3-ENV): Likewise.
38082         (tst-gettext5-ENV): Likewise.
38083         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38084         (tst-fopenloc-ENV): Likewise.
38085         (tst-fgetws-ENV): Remove variable.
38086         (tst-ungetwc1-ENV): Likewise.
38087         (tst-ungetwc2-ENV): Likewise.
38088         (bug-ungetwc2-ENV): Likewise.
38089         (tst-swscanf-ENV): Likewise.
38090         (bug-ftell-ENV): Likewise.
38091         (tst-fgetwc-ENV): Likewise.
38092         (tst-fseek-ENV): Likewise.
38093         (tst-ftell-partial-wide-ENV): Likewise.
38094         (tst-ftell-active-handler-ENV): Likewise.
38095         (tst-ftell-append-ENV): Likewise.
38096         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38097         (tst-regexloc-ENV): Likewise.
38098         (bug-regex1-ENV): Likewise.
38099         (tst-regex-ENV): Likewise.
38100         (tst-regex2-ENV): Likewise.
38101         (bug-regex5-ENV): Likewise.
38102         (bug-regex6-ENV): Likewise.
38103         (bug-regex17-ENV): Likewise.
38104         (bug-regex18-ENV): Likewise.
38105         (bug-regex19-ENV): Likewise.
38106         (bug-regex20-ENV): Likewise.
38107         (bug-regex22-ENV): Likewise.
38108         (bug-regex23-ENV): Likewise.
38109         (bug-regex25-ENV): Likewise.
38110         (bug-regex26-ENV): Likewise.
38111         (bug-regex30-ENV): Likewise.
38112         (bug-regex32-ENV): Likewise.
38113         (bug-regex33-ENV): Likewise.
38114         (bug-regex34-ENV): Likewise.
38115         (bug-regex35-ENV): Likewise.
38116         (tst-rxspencer-ENV): Likewise.
38117         (tst-rxspencer-no-utf8-ENV): Likewise.
38118         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38119         (tst-sscanf-ENV): Likewise.
38120         (tst-swprintf-ENV): Likewise.
38121         (tst-swscanf-ENV): Likewise.
38122         (test-vfprintf-ENV): Likewise.
38123         (scanf13-ENV): Likewise.
38124         (bug14-ENV): Likewise.
38125         (tst-grouping-ENV): Likewise.
38126         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38127         (tst-strtod3-ENV): Likewise.
38128         (tst-strtod4-ENV): Likewise.
38129         (tst-strtod5-ENV): Likewise.
38130         (testmb2-ENV): Likewise./
38131         * string/Makefile (tst-strxfrm-ENV): Likewise.
38132         (tst-strxfrm2-ENV): Likewise.
38133         (bug-strcoll1-ENV): Likewise.
38134         (test-strcasecmp-ENV): Likewise.
38135         (test-strncasecmp-ENV): Likewise.
38136         * time/Makefile (tst-strptime-ENV): Likewise.
38137         (tst-ftime_l-ENV): Likewise.
38138         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38139         (tst-mbrtowc-ENV): Likewise.
38140         (tst-wcrtomb-ENV): Likewise.
38141         (tst-mbrtowc2-ENV): Likewise.
38142         (tst-c16c32-1-ENV): Likewise.
38143         (tst-mbsnrtowcs-ENV): Likewise.
38145 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38147         * manual/resource.texi (How to get information about the memory
38148         subsystem?): Fix typo.
38149         Reported by Peon de la Parra Ivan <peon@keba.com>
38151 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38153         [BZ #16882]
38154         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38155         (pthread_spin_lock): Branch out of spin loop to proper location.
38156         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38157         (pthread_spin_lock): Likewise.
38159         * nptl/tst-spin4.c: New test.
38160         * nptl/Makefile (tests): Add tst-spin4.
38162 2014-06-03  Andreas Schwab  <schwab@suse.de>
38164         [BZ #15946]
38165         * resolv/res_send.c (send_dg): Reload file descriptor after
38166         calling reopen.
38168 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38172 2014-06-03  Richard Henderson  <rth@redhat.com>
38174         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38175         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38176         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38177         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38178         in the SAVE_PID block.
38179         (__libc_vfork): New alias.
38180         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38182         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38183         child in registers, not on the stack.  Remove RESET_PID conditionals.
38184         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38186 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38188         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38190 2014-06-03  Wilco  <wdijkstr@arm.com>
38192         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38193         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38194         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38195         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38196         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38197         Likewise.
38199 2014-06-03  Wilco  <wdijkstr@arm.com>
38201         * sysdeps/aarch64/fpu/math_private.h
38202         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38203         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38204         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38205         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38206         Fix declarations.
38208 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38210         * crypt/crypt-private.h: Include ufc-crypt.h.
38211         (__b64_from_24bit): Declare extern.
38212         * crypt/crypt_util.c(__b64_from_24bit): New function.
38213         (b64t): New static const variable.
38214         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38215         (b64t): Remove variable.
38216         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38217         * crypt/sha256-crypt.c: Include crypt-private.h.
38218         (b64t): Remove variable.
38219         (__sha256_crypt_r): Remove b64_from_24bit and replace
38220         with __b64_from_24bit.
38221         * crypt/sha512-crypt.c: Likewise.
38223 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38225         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38226         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38227         Label the code __libc_vfork rather than __vfork.
38228         [!NOT_IN_libc] (vfork): Define as weak alias.
38229         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38230         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38231         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38233 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38235         * malloc/malloc.c (malloc_info): Fix format specifier for
38236         n_mmaps.
38238 2014-06-02  Wilco  <wdijkstr@arm.com>
38240         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38241         FPCR write.
38243 2014-06-02  Wilco  <wdijkstr@arm.com>
38245         [BZ #17009]
38246         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38247         Rewrite to reduce FPCR/FPSR accesses.
38249 2014-06-01  David S. Miller  <davem@davemloft.net>
38251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38253 2014-05-31  David S. Miller  <davem@davemloft.net>
38255         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38256         to occur in round to nearest mode when |x| >= 2.0
38258 2014-05-30  Richard Henderson  <rth@twiddle.net>
38260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38261         (PSEUDO_RET_NOERRNO): Remove.
38262         (ret): Don't redefine.
38263         (ret_NOERRNO): Define in terms of ret.
38264         (ret_ERRVAL): Likewise.
38266         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38267         use of PSEUDO_RET; perform the error check directly.
38269 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38271         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38272         with __int128_t.
38274 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38276         * malloc/malloc (malloc_info): Fix formatting.
38278 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38279             Roland McGrath  <roland@hack.frob.com>
38281         * malloc/malloc (malloc_info): Also print mmapped statistics.
38283 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38285         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38286         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38288 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38290         * malloc/malloc.c (malloc_info): Inline mi_arena.
38292 2014-05-29  Richard Henderson  <rth@twiddle.net>
38294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38295         Remove comma before expanding ASM_ARGS_##nr.
38296         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38297         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38298         of ASM_ARGS_##nr.
38299         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38300         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38301         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38302         (ASM_ARGS_1): Add leading comma.
38304         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38305         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38306         to __errno_location.
38307         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38308         Remove the expected plt for __errno_location.
38310         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38311         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38312         call to __read_tp.
38314         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38315         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38316         it and break it down.
38317         (DOCARGS_0, DOCARGS_1): Do nothing.
38318         (DOCARGS_2): Update to store into the new stack frame.
38319         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38320         (UNDOCARGS_1): Update to restore from the new stack frame.
38321         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38322         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38325         (SINGLE_THREAD_P): New parameter for result regno.
38326         (PSEUDO): Update to match; use cbz instead of beq.
38328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38329         Use ENTRY to define the _nocancel entry point.  Share the syscall
38330         and syscall error check paths with the cancel path.
38331         (PSEUDO_END): New.
38333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38334         whitespace; tabs before and after asm mnemonics.
38336 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38338         [BZ #15132]
38339         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38340         Call fstat64 or stat64 internally, depending on arguments passed.
38341         Replace stat buffer argument with file descriptor argument.
38342         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38343         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38344         Pass fd to __internal_statvfs instead of calling fstat64.
38345         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38346         Pass fd to __internal_statvfs64 instead of calling fstat64.
38347         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38348         Pass -1 to __internal_statvfs instead of calling stat64.
38349         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38350         Pass -1 to __internal_statvfs64 instead of calling stat64.
38352 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38354         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38355         that was previously under [RESET_PID].
38356         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38358         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38359         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38361 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38363         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38365         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38366         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38368 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38370         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38372 2014-05-27  Andreas Schwab  <schwab@suse.de>
38374         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38375         TLS_INIT_TP macro.
38376         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38377         * elf/rtld.c (init_tls, dl_main): Likewise.
38378         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38379         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38380         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38381         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38382         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38383         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38384         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38385         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38386         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38387         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38388         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38389         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38390         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38391         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38392         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38393         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38394         * sysdeps/generic/tls.h: Update description.
38396 2014-05-27  Will Newton  <will.newton@linaro.org>
38398         [BZ #16990]
38399         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38400         and restore r2 rather than just restoring.
38402 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38404         [BZ #16724]
38405         * libio/tst-ftell-append.c: New test case.
38406         * libio/Makefile (tests): Add test case.
38407         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38408         append mode.
38409         * libio/wfileops.c (do_ftell_wide): Likewise.
38411 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38415         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38416         ...
38417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38419         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38420         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38421         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38422         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38423         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38424         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38426         Moved ...
38427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38429         Moved ...
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38431         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38432         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38433         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38434         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38435         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38436         ...
38437         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38438         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38439         Moved ...
38440         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38441         here.
38442         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38443         ...
38444         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38445         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38446         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38448         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38449         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38451         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38454         merge into ...
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38457         ...
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38460         ...
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38463         Moved ...
38464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38465         here.
38466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38467         Moved ...
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38470         Moved ...
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38474         conditional [RESET_PID].
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38477         removed.
38478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38479         removed.
38481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38482         <tcb-offsets.h>.
38483         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38484         (__libc_vfork): New strong alias.
38485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38486         removed.
38487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38488         Removed.
38490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38491         <tcb-offsets.h>.
38492         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38493         (__libc_vfork): New strong alias.
38494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38495         removed.
38496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38497         removed.
38499 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38501         * malloc/malloc.c (mi_arena): New function.
38502         (malloc_info): Remove nested function mi_arena. Call non-nosted
38503         function mi_arena.
38505 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38507         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38508         by insrwi.
38509         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38510         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38511         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38512         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38513         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38514         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38515         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38517 2014-05-26  Andreas Schwab  <schwab@suse.de>
38519         [BZ #16984]
38520         * locale/programs/repertoire.c (repertoire_read): Add slash
38521         between I18NPATH element and file name.
38522         * locale/programs/locfile.c (locfile_read): Likewise.
38524 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38526         * nptl/pthread_mutexattr_settype.c
38527         (__pthread_mutexattr_settype):
38528         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38530 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38532         * nptl/tst-mutex5 (do_test):
38533         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38535 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38537         * benchtests/README: Document 'init' directive.
38538         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38539         BENCH_INIT.
38540         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38541         (parse_file): Recognize 'init' directive.
38543 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38545         [BZ #16796]
38546         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38547         alignment of struct pthread.
38549 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38551         [BZ #16878]
38552         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38553         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38554         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38555         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38557 2014-05-25  Richard Henderson  <rth@twiddle.net>
38559         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38560         (SINGLE_THREAD_P_PIC): Remove.
38561         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38562         (SINGLE_THREAD_P_PIC): Remove.
38564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38565         branch to syscall error ...
38566         (PSEUDO): ... here.
38567         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38568         from __local_syscall_error to .Lsyscall_error.
38569         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38570         (SYSCALL_ERROR): Update label name.
38572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38573         Do not use DOARGS/UNDOARGS.
38574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38575         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38576         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38577         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38578         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38581         block comment.
38583         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38584         define if !NOT_IN_libc.
38585         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38586         define with non-default symbol versions.
38588 2014-05-23  Richard Henderson  <rth@twiddle.net>
38590         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38591         (vfork, __vfork): Define via compat_symbol.
38593         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38594         [!HAVE_IFUNC] (vfork_compat): Remove.
38595         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38597 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38599         [BZ #16978]
38600         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38601         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38602         variable.
38604 2014-05-23  Richard Henderson  <rth@twiddle.net>
38606         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38607         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38608         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38609         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38611         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38612         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38613         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38614         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38615         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38616         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38617         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38618         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38619         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38620         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38621         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38622         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38623         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38624         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38625         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38626         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38627         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38628         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38629         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38630         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38631         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38632         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38633         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38634         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38635         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38636         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38637         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38638         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38639         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38640         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38641         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38642         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38643         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38644         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38645         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38646         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38647         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38648         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38649         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38650         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38651         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38652         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38653         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38654         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38655         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38656         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38658         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38660         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38662         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38664         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38665         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38666         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38668         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38669         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38670         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38671         before exiting on error.
38672         (__libc_vfork): New strong alias.
38673         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38674         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38676         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38677         that was previously under [RESET_PID].
38678         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38680         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38682 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38684         [BZ #16977]
38685         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38686         value when x - 1 is zero.
38687         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38688         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38689         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38690         0.0L for an argument of 1.0L.
38691         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38692         Likewise.
38693         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38694         value when x - 1 is zero.
38695         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38696         * sysdeps/i386/fpu/libm-test-ulps: Update.
38697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38699 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38701         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38702         alphasort and versionsort.
38704 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38706         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38707         macro.
38708         [copysignf]: Likewise.
38710 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38712         * crypt/md5-crypt.c: Fix formatting.
38714 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38716         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38717         (b64_from_24bit): New function.
38719 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38722         libc_hidden_builtin_def to ifunc.
38723         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38724         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38726 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38728         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38729         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38731 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38733         * nscd/Depend (linuxthreads): Remove.
38734         (nptl): Add.
38735         * resolv/Depend (linuxthreads): Remove.
38736         * rt/Depend (linuxthreads): Remove.
38738         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38739         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38740         $(common-objpfx)elf/.
38741         (link-libc-before-gnulib): Likewise.
38742         (elfobjdir): Remove variable.
38743         * Makefile (install): Use $(elf-objpfx) instead of
38744         $(common-objpfx)elf/.
38745         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38746         $(elfobjdir)/.
38747         (link-libc-deps): Likewise.
38748         ($(common-objpfx)libc.so): Likewise.
38749         ($(common-objpfx)linkobj/libc.so): Likewise.
38750         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38751         instead of $(common-objpfx)elf/.
38752         (symbolic-link-list): Likewise.
38753         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38754         [$(cross-compiling) = no]: Likewise.
38755         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38756         $(elfobjdir)/.
38757         (static-gnulib-arch): Likewise.
38758         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38759         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38760         $(common-objpfx)elf/.
38762 2014-05-21  Richard Henderson  <rth@redhat.com>
38764         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38765         (SINGLE_THREAD_P): Use the correct width load.  Fold
38766         into the ldr offset.
38768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38769         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38771 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38773         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38774         (libgcc_s_resume): Use __attribute_used__.
38775         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38776         Likewise.
38778 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38780         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38781         optimization when used with float constants.
38783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38785 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38787         [BZ #16915]
38788         * locale/nl_langinfo_l.c: Make direct reference to every
38789         _nl_current_CATEGORY symbol.
38790         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38791         (tests-static): Add tst-langinfo-static.
38792         (tests-special): Add tst-langinfo-static.out.
38793         ($(objpfx)tst-langinfo.out): Redirect output.
38794         ($(objpfx)tst-langinfo-static.out): New.
38795         * localedata/tst-langinfo.sh: Send output to stdout.
38796         * localedata/tst-langinfo-static.c: New file.
38798         [BZ #16965]
38799         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38800         when the shift amount is modulo the limb size.
38802 2014-05-20  Richard Henderson  <rth@redhat.com>
38804         [BZ #16967]
38805         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38806         Change type of sa_flags from unsigned int to int.
38808         [BZ #16966]
38809         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38811         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38813 2014-05-20  Will Newton  <will.newton@linaro.org>
38815         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38816         Test the return value of the system call in the nocancel case.
38818 2014-05-20  Will Newton  <will.newton@linaro.org>
38819             Yvan Roux  <yvan.roux@linaro.org>
38821         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38822         #include of asm/ptrace.h.
38823         (PTRACE_GET_THREAD_AREA): Remove #undef.
38824         (PTRACE_GETHBPREGS): Likewise.
38825         (PTRACE_SETHBPREGS): Likewise.
38826         (struct user_regs_struct): New structure.
38827         (struct user_fpsimd_struct): New structure.
38828         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38829         #include of asm/ptrace.h and second #include of sys/user.h.
38830         (PTRACE_GET_THREAD_AREA): Remove #undef.
38831         (PTRACE_GETHBPREGS): Likewise.
38832         (PTRACE_SETHBPREGS): Likewise.
38833         (ELF_NGREG): Use new struct user_regs_struct.
38834         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38836 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38838         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38839         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38841 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38843         [BZ #16958]
38844         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38845         membar to avoid block loads/stores to overlap previous stores.
38847 2014-05-17  Richard Henderson  <rth@redhat.com>
38849         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38850         Create the __##syscall_name##_nocancel entry point.
38851         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38852         Remove; let the sysdep-cancel.h code create it.
38854 2014-05-17  David S. Miller  <davem@davemloft.net>
38856         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38857         Protect with __USE_GNU.
38858         (TIOCSET_TEMPT): Likewise.
38859         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38860         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38861         these are already provided in bits/ioctl-types.h
38863 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38865         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38866         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38868         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38869         Use wait4 regardless of [__NR_waitpid].
38871 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38873         PR libgcc/60166
38874         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38875         (_FP_NANSIGN_Q): Set the quiet bit.
38877 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38879         * benchtests/Makefile
38880         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38881         not $(common-objpfx)math/libm.so.
38882         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38883         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38884         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38885         $(common-objpfx)dlfcn/libdl.so.
38886         ($(objpfx)tst-audit8): Depend on $(libm), not
38887         $(common-objpfx)math/libm.so.
38888         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38889         not $(common-objpfx)dlfcn/libdl.so.
38890         * math/Makefile
38891         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38892         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38893         [$(build-shared) = yes].
38894         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38895         $(common-objpfx)nptl/libpthread.so.
38896         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38897         $(common-objpfx)math/libm.so$(libm.so-version) or
38898         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38899         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38900         $(common-objpfx)dlfcn/libdl.so.
38901         * setjmp/Makefile (link-libm): Remove variable.
38902         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38903         * stdio-common/Makefile (link-libm): Remove variable.
38904         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38905         * stdlib/Makefile (link-libm): Remove variable.
38906         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38907         ($(objpfx)tst-strtod-round): Likewise.
38908         ($(objpfx)tst-tininess): Likewise.
38909         ($(objpfx)tst-strtod-underflow): Likewise.
38910         ($(objpfx)tst-strtod6): Likewise.
38911         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38912         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38913         $(common-objpfx)dlfcn/libdl.so.
38915 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38917         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38918         BSD terminal modes definitions.
38920 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38922         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38923         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38925         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38926         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38927         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38928         Don't do #include_next.
38929         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38930         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38931         Don't do #include_next.
38932         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38933         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38934         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38935         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38937 2014-05-16  Allan McRae  <allan@archlinux.org>
38939         * po/sv.po: Update Swedish translation from translation project.
38941         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38942         in sed expression.
38944 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38946         [BZ #16917]
38947         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38948         errno if the TIOCGPTN ioctl fails with an error different than
38949         EINVAL.
38950         * login/tst-ptsname.c: New file.
38951         * login/Makefile (tests): Add tst-ptsname.
38953         [BZ #16943]
38954         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38955         and prlimit64.
38957 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959         [BZ #16849]
38960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38961         herrno to return EAI_AGAIN.
38963 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38965         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38966         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38967         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38968         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38969         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38970         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38971         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38972         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38973         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38974         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38975         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38976         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38977         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38978         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38979         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38980         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38981         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38982         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38983         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38984         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38985         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38986         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38988         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38989         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38990         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38991         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38992         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38994         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38996         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38998         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39000         Moved ...
39001         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39003         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39005         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39007         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39009         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39011         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39013         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39015         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39017         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39019         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39021         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39023         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39025         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39027         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39029         Moved ...
39030         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39032         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39034         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39036         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39038         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39040         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39042         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39044         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39046         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39048         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39050         Moved ...
39051         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39053         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39055         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39056         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39057         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39058         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39059         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39060         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39061         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39062         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39063         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39064         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39065         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39066         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39067         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39069         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39071         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39072         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39073         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39075         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39077         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39078         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39079         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39080         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39081         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39082         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39083         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39084         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39085         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39087         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39088         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39090         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39091         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39092         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39093         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39094         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39096         Moved ...
39097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39099         Moved ...
39100         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39102         Moved ...
39103         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39104         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39105         Moved ...
39106         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39107         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39108         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39110         Moved ...
39111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39112         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39113         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39115         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39116         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39117         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39119         Moved ...
39120         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39122         Moved ...
39123         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39124         ... here.
39125         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39126         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39127         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39128         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39129         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39130         Moved ...
39131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39132         ... here.
39133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39134         Moved ...
39135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39137         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39139         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39141         Moved ...
39142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39144         Moved ...
39145         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39147         Moved ...
39148         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39150         Moved ...
39151         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39152         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39153         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39155         Moved ...
39156         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39157         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39158         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39160         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39161         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39162         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39164         Moved ...
39165         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39167         Moved ...
39168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39169         ... here.
39170         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39171         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39172         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39173         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39175         Moved ...
39176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39177         ... here.
39178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39179         Moved ...
39180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39181         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39182         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39183         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39184         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39185         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39186         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39187         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39190         Moved ...
39191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39193         Moved ...
39194         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39196         Moved ...
39197         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39199         Moved ...
39200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39202         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39203         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39204         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39206         Moved ...
39207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39209         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39210         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39211         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39212         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39213         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39215         Moved ...
39216         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39218         Moved ...
39219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39220         ... here.
39221         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39222         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39223         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39224         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39225         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39226         Moved ...
39227         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39228         ... here.
39229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39230         Moved ...
39231         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39232         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39233         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39234         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39235         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39236         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39237         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39238         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39239         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39240         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39241         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39243         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39244         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39246         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39247         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39249         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39250         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39251         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39252         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39253         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39254         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39255         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39256         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39257         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39258         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39260         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39262         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39263         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39265         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39267         Moved ...
39268         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39272         Moved ...
39273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39275         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39277         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39281         Moved ...
39282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39284         Moved ...
39285         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39287         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39291         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39292         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39293         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39294         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39295         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39296         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39297         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39298         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39299         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39300         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39301         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39303         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39304         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39305         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39306         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39307         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39309         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39310         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39311         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39312         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39313         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39314         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39315         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39316         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39317         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39318         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39323         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39324         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39326         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39328         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39329         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39330         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39331         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39332         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39333         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39334         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39335         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39336         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39338         Update #include.
39339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39340         Likewise.
39341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39342         Likewise.
39343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39344         Likewise.
39345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39346         Likewise.
39347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39348         Likewise.
39349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39350         Likewise.
39351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39352         Likewise.
39353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39354         Likewise.
39355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39356         Likewise.
39357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39360         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39365         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39370         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39373         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39374         that was previously under [RESET_PID].
39375         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39376         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39377         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39379         * sysdeps/i386/nptl/Implies: New file.
39380         * sysdeps/x86_64/nptl/Implies: New file.
39381         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39382         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39383         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39384         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39386         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39387         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39388         (__libc_vfork): New strong alias.
39389         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39390         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39392         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39393         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39394         (__libc_vfork): New strong alias.
39395         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39396         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39398         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39399         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39400         (__libc_vfork): New strong alias.
39401         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39402         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39403         * nptl/pt-vfork.c: New file.
39404         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39405         (libpthread: GLIBC_2.20): New version set (empty).
39407 2014-05-14  Will Newton  <will.newton@linaro.org>
39409         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39410         rather than #if.
39412 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39414         [BZ #16564]
39415         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39416         arguments with exponent 65 or above.
39417         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39418         arguments 0x1p113L or above.
39419         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39420         to arguments 0x1p107L or above.
39421         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39422         positive arguments with exponent 65 or above.
39423         * math/auto-libm-test-in: Add more tests of log1p.
39424         * math/auto-libm-test-out: Regenerated.
39426         [BZ #16928]
39427         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39428         non-finite arguments is +0.
39429         * math/s_cacosf.c (__cacosf): Likewise.
39430         * math/s_cacosl.c (__cacosl): Likewise.
39431         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39432         * sysdeps/i386/fpu/libm-test-ulps: Update.
39433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435         [BZ #16927]
39436         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39437         value.
39438         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39439         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39440         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39441         for explicit high bit of mantissa when testing for argument equal
39442         to 1.
39443         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39444         * sysdeps/i386/fpu/libm-test-ulps: Update.
39445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39447         [BZ #16516]
39448         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39449         (__erf): Scale by 16 instead of 8 in potentially underflowing
39450         case.  Ensure exception if result actually underflows.
39451         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39452         (__erff): Scale by 16 instead of 8 in potentially underflowing
39453         case.  Ensure exception if result actually underflows.
39454         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39455         (efx8): Remove variable.
39456         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39457         case.  Ensure exception if result actually underflows.
39458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39459         (efx8): Remove variable.
39460         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39461         case.  Ensure exception if result actually underflows.
39462         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39463         (efx8): Remove variable.
39464         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39465         case.  Ensure exception if result actually underflows.
39466         * math/auto-libm-test-in: Add more tests of erf.
39467         * math/auto-libm-test-out: Regenerated.
39469 2014-05-14  Andreas Schwab  <schwab@suse.de>
39471         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39472         Remove code conditionalized on USE___THREAD.
39474         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39475         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39476         not definedness.
39478 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39480         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39481         Define unconditionally.
39482         (__ASSUME_O_CLOEXEC): Likewise.
39483         (__ASSUME_SOCK_CLOEXEC): Likewise.
39484         (__ASSUME_IN_NONBLOCK): Likewise.
39485         (__ASSUME_PIPE2): Likewise.
39486         (__ASSUME_EVENTFD2): Likewise.
39487         (__ASSUME_SIGNALFD4): Likewise.
39488         (__ASSUME_DUP3): Likewise.
39489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39490         (__ASSUME_DUP3): Do not define.
39491         (__ASSUME_EVENTFD2): Likewise.
39492         (__ASSUME_IN_NONBLOCK): Likewise.
39493         (__ASSUME_O_CLOEXEC): Likewise.
39494         (__ASSUME_PIPE2): Likewise.
39495         (__ASSUME_SIGNALFD4): Likewise.
39496         (__ASSUME_SOCK_CLOEXEC): Likewise.
39497         (__ASSUME_UTIMES): Undefine.
39498         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39499         (__ASSUME_UTIMES): Do not define.
39500         (__ASSUME_O_CLOEXEC): Likewise.
39501         (__ASSUME_SOCK_CLOEXEC): Likewise.
39502         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39503         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39504         0x020621].
39505         (__ASSUME_PIPE2): Likewise.
39506         (__ASSUME_EVENTFD2): Likewise.
39507         (__ASSUME_SIGNALFD4): Likewise.
39508         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39509         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39510         Do not define.
39511         (__ASSUME_EVENTFD2): Likewise.
39512         (__ASSUME_SIGNALFD4): Likewise.
39513         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39514         (__ASSUME_32BITUIDS): Likewise.
39515         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39516         (__ASSUME_IPC64): Likewise.
39517         (__ASSUME_ST_INO_64_BIT): Likewise.
39518         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39519         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39520         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39521         (__ASSUME_UTIMES): Do not define.
39522         (__ASSUME_PSELECT): Likewise.
39523         (__ASSUME_PPOLL): Likewise.
39524         (__ASSUME_O_CLOEXEC): Likewise.
39525         (__ASSUME_SOCK_CLOEXEC): Likewise.
39526         (__ASSUME_IN_NONBLOCK): Likewise.
39527         (__ASSUME_PIPE2): Likewise.
39528         (__ASSUME_EVENTFD2): Likewise.
39529         (__ASSUME_SIGNALFD4): Likewise.
39530         (__ASSUME_DUP3): Likewise.
39531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39532         (__ASSUME_UTIMES): Likewise.
39533         (__ASSUME_O_CLOEXEC): Likewise.
39534         (__ASSUME_SOCK_CLOEXEC): Likewise.
39535         (__ASSUME_IN_NONBLOCK): Likewise.
39536         (__ASSUME_PIPE2): Likewise.
39537         (__ASSUME_EVENTFD2): Likewise.
39538         (__ASSUME_SIGNALFD4): Likewise.
39539         (__ASSUME_DUP3): Likewise.
39540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39541         (__ASSUME_UTIMES): Likewise.
39542         (__ASSUME_O_CLOEXEC): Likewise.
39543         (__ASSUME_SOCK_CLOEXEC): Likewise.
39544         (__ASSUME_IN_NONBLOCK): Likewise.
39545         (__ASSUME_PIPE2): Likewise.
39546         (__ASSUME_EVENTFD2): Likewise.
39547         (__ASSUME_SIGNALFD4): Likewise.
39548         (__ASSUME_DUP3): Likewise.
39549         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39550         Likewise.
39551         (__ASSUME_UTIMES): Likewise.
39552         (__ASSUME_EVENTFD2): Likewise.
39553         (__ASSUME_SIGNALFD4): Likewise.
39554         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39555         (__ASSUME_O_CLOEXEC): Likewise.
39556         (__ASSUME_SOCK_CLOEXEC): Likewise.
39557         (__ASSUME_IN_NONBLOCK): Likewise.
39558         (__ASSUME_PIPE2): Likewise.
39559         (__ASSUME_EVENTFD2): Likewise.
39560         (__ASSUME_SIGNALFD4): Likewise.
39561         (__ASSUME_DUP3): Likewise.
39562         (__ASSUME_UTIMES): Undefine.
39564         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39565         feclearexcept.  Remove symbol versioning code.
39566         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39567         symbol versioning code.
39568         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39569         symbol versioning code.
39570         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39571         feupdateenv.  Remove symbol versioning code.
39572         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39573         fegetexceptflag.  Remove symbol versioning code.
39574         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39575         fesetexceptflag.  Remove symbol versioning code.
39576         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39577         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39578         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39579         (__posix_fadvise64_l32): Remove prototype.
39580         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39581         code.
39583 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39585         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39586         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39587         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39588         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39590 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39592         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39593         current working directory
39595 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39597         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39598         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39599         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39600         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39601         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39602         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39603         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39604         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39605         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39606         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39607         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39608         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39609         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39610         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39611         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39612         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39613         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39614         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39615         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39616         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39617         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39618         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39619         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39620         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39621         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39622         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39623         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39624         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39625         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39626         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39627         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39628         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39629         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39630         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39631         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39632         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39633         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39634         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39635         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39636         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39637         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39638         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39640         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39641         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39643         * sysdeps/unix/sysv/linux/arm/Makefile
39644         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39645         Add rt-aeabi_unwind_cpp_pr1.
39646         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39647         Add nptl-aeabi_unwind_cpp_pr1.
39648         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39649         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39650         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39651         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39652         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39653         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39655         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39656         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39657         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39658         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39660         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39661         Deconditionalize the code that was previously under [RESET_PID].
39662         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39664         * sysdeps/generic/exit-thread.h: New file.
39665         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39666         * include/unistd.h (__exit_thread): Remove declaration.
39667         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39668         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39669         * csu/libc-start.c: Include <exit-thread.h>.
39670         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39671         * nptl/pthread_create.c: Include <exit-thread.h>.
39672         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39673         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39674         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39675         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39676         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39677         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39678         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39679         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39680         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39681         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39682         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39683         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39684         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39685         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39686         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39687         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39688         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39690 2014-05-13  Andreas Schwab  <schwab@suse.de>
39692         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39694 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39696         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39697         (__ASSUME_UTIMES): Do not condition on kernel version.
39698         (__ASSUME_PSELECT): Define unconditionally.
39699         (__ASSUME_PPOLL): Likewise.
39700         (__ASSUME_ATFCTS): Likewise.
39701         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39702         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39703         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39704         (__ASSUME_UTIMENSAT): Define unconditionally.
39705         (__ASSUME_PRIVATE_FUTEX): Likewise.
39706         (__ASSUME_FALLOCATE): Likewise.
39707         (__ASSUME_O_CLOEXEC): Likewise.
39708         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39709         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39710         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39711         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39712         (__ASSUME_IN_NONBLOCK): Likewise.
39713         (__ASSUME_PIPE2): Likewise.
39714         (__ASSUME_EVENTFD2): Likewise.
39715         (__ASSUME_SIGNALFD4): Likewise.
39716         (__ASSUME_DUP3): Likewise.
39717         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39718         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39719         (__ASSUME_AT_RANDOM): Likewise.
39720         (__ASSUME_PREADV): Likewise.
39721         (__ASSUME_PWRITEV): Likewise.
39722         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39723         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39724         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39725         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39726         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39727         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39728         (__ASSUME_O_CLOEXEC): Define unconditionally.
39729         (__ASSUME_PSELECT): Do not undefine conditionally.
39730         (__ASSUME_PPOLL): Likewise.
39731         (__ASSUME_ATFCTS): Likewise.
39732         (__ASSUME_SET_ROBUST_LIST): Likewise.
39733         (__ASSUME_UTIMENSAT): Likewise.
39734         (__ASSUME_FDATASYNC): Define unconditionally.
39735         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39736         (__ASSUME_SIGFRAME_V2): Likewise.
39737         )__ASSUME_EVENTFD2): Likewise.
39738         (__ASSUME_SIGNALFD4): Likewise.
39739         (__ASSUME_PSELECT): Do not undefine conditionally.
39740         (__ASSUME_PPOLL): Likewise.
39741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39742         (__ASSUME_PSELECT): Define unconditionally.
39743         (__ASSUME_PPOLL): Likewise.
39744         (__ASSUME_O_CLOEXEC): Likewise.
39745         (__ASSUME_SOCK_CLOEXEC): Likewise.
39746         (__ASSUME_IN_NONBLOCK): Likewise.
39747         (__ASSUME_PIPE2): Likewise.
39748         (__ASSUME_EVENTFD2): Likewise.
39749         (__ASSUME_SIGNALFD4): Likewise.
39750         (__ASSUME_DUP3): Likewise.
39751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39752         (__ASSUME_O_CLOEXEC): Likewise.
39753         (__ASSUME_SOCK_CLOEXEC): Likewise.
39754         (__ASSUME_IN_NONBLOCK): Likewise.
39755         (__ASSUME_PIPE2): Likewise.
39756         (__ASSUME_EVENTFD2): Likewise.
39757         (__ASSUME_SIGNALFD4): Likewise.
39758         (__ASSUME_DUP3): Likewise.
39759         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39760         (__ASSUME_EVENTFD2): Likewise.
39761         (__ASSUME_SIGNALFD4): Likewise.
39762         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39764 2014-05-12  Andreas Schwab  <schwab@suse.de>
39766         [BZ #16932]
39767         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39768         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39769         than maximum RPC packet size.
39770         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39771         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39772         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39773         (_nss_nis_getservbyport_r): Likewise.
39775 2014-05-12  Will Newton  <will.newton@linaro.org>
39777         * malloc/Makefile (tests): Add tst-mallopt.
39778         * malloc/tst-mallopt.c: New file.
39780 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39782         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39783         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39785 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39787         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39788         (tst-tlsmod6.so): Likewise.
39790 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39792         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39794 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #16064]
39797         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39798         and <dl-procinfo.h>.
39799         (__fegetenv): Save SSE state in envp->__eip if supported.
39800         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39801         envp->__eip if supported.
39802         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39803         and <dl-procinfo.h>.
39804         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39805         __data_offset and __data_selector in environment to 0.  Set SSE
39806         state if supported.
39807         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39808         test-fenv-sse.
39809         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39810         -mfpmath=sse.
39811         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39813 2014-05-09  Will Newton  <will.newton@linaro.org>
39815         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39816         and libc_relro_required for ARM.
39817         * sysdeps/arm/preconfigure: Regenerate.
39819 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39820             Stefan Liebler  <stli@linux.vnet.ibm.com>
39822         * config.make.in (enable-lock-elision): New Makefile variable.
39823         * configure.ac: Likewise.
39824         * configure: Regenerate.
39825         * sysdeps/s390/configure.ac:
39826         Add check for gcc transactions support.
39827         * sysdeps/s390/configure: Regenerate.
39828         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39829         Build elision files if enabled.
39830         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39831         Add lock elision support for s390.
39832         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39833         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39834         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39835         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39836         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39837         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39838         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39839         Likewise.
39840         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39841         Likewise.
39842         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39843         Likewise.
39844         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39845         Likewise.
39846         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39847         (__lll_timedlock_elision, __lll_lock_elision)
39848         (__lll_unlock_elision, __lll_trylock_elision)
39849         (lll_timedlock_elision, lll_lock_elision)
39850         (lll_unlock_elision, lll_trylock_elision): Add.
39851         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39852         (pthread_mutex_t): Add lock elision support for s390.
39854 2014-05-14  Wilco  <wdijkstr@arm.com>
39856         * sysdeps/arm/fclrexcpt.c: Cleanup.
39857         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39858         * sysdeps/arm/feenablxcpt.c: Cleanup.
39859         * sysdeps/arm/fegetenv.c: Cleanup.
39860         * sysdeps/arm/fegetexcept.c: Cleanup.
39861         * sysdeps/arm/fegetround.c: Cleanup.
39862         * sysdeps/arm/feholdexcpt.c: Cleanup.
39863         * sysdeps/arm/fesetenv.c: Cleanup.
39864         * sysdeps/arm/fesetround.c: Cleanup.
39865         * sysdeps/arm/feupdateenv.c: Cleanup.
39866         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39867         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39868         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39869         * sysdeps/arm/ftestexcept.c: Cleanup.
39870         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39871         * sysdeps/arm/setfpucw.c: Cleanup.
39873 2014-05-09  Will Newton  <will.newton@linaro.org>
39875         * sysdeps/arm/armv7/strcmp.S: New file.
39876         * NEWS: Mention addition of ARMv7 optimized strcmp.
39878 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39880         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39881         look for %.ac rather than %.in.
39883         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39884         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39885         * sysdeps/mach/hurd/configure: Regenerated.
39886         * sysdeps/unix/sysv/linux/configure: Regenerated.
39888         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39890 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39892         [BZ# 16922]
39893         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39894         (LONG_SUB): Ditto.
39895         (PTR_SUB): Ditto.
39897 2014-05-07  Andreas Schwab  <schwab@suse.de>
39899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39900         when skipping over non-matching result from nscd.
39902 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39904         [BZ #16876]
39905         * nptl/sockperf.c (client): Check socket return value.
39907         [BZ #16877]
39908         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39909         nscd security class.
39911 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39913         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39914         * sysdeps/arm/unwind.h: ... here.
39916 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39918         [BZ# 16916]
39919         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39920         Define.
39922 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39924         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39925         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39926         multiarch strncpy for PPC64.
39927         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39928         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39930         multiarch optimizations.
39931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39932         (__libc_ifunc_impl_list): Likewise.
39933         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39935         multiarch stpncpy for PPC64.
39936         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39937         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39939 2014-05-06  Andreas Schwab  <schwab@suse.de>
39941         [BZ #16912]
39942         * gmon/mcount.c (_MCOUNT_DECL): Use
39943         atomic_compare_and_exchange_bool_acq instead of
39944         catomic_compare_and_exchange_bool_acq.
39946 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39948         * elf/Makefile (others, install-bin): Remove pldd.
39949         (pldd-modules): Variable removed.
39950         ($(objpfx)pldd): Target removed.
39951         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39952         (others, install-bin): Append pldd here.
39953         ($(objpfx)pldd): New target.
39955         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39956         to 0, so the first #if test emitted later doesn't see it undefined.
39957         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39958         * sysdeps/gnu/errlist.c: Regenerated.
39960 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39962         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39963         [libc_hidden_builtin_def]: Define to empty value.
39964         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39965         [libc_hidden_builtin_def]: Likewise.
39966         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39967         [libc_hidden_builtin_def]: Likewise.
39968         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39969         [libc_hidden_builtin_def]: Likewise.
39970         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39971         __redirect_memcpy and define ifunc as default hidden symbol.
39972         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39973         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39975 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39977         * locale/iso-4217.def: Reintroduce XDR currency.
39979 2014-05-04  Allan McRae  <allan@archlinux.org>
39981         * po/eo.po: Update Esperanto translation from translation project.
39983 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39985         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39986         and FEATURE_INDEX_MAX to 1.
39987         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39989 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39991         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39992         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39993         * iconvdata/big5.c (ONE_DIRECTION): Define.
39994         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39995         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39996         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39997         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39998         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39999         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40000         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40001         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40002         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40003         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40004         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40005         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40006         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40007         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40008         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40009         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40010         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40011         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40012         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40013         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40014         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40015         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40016         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40017         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40018         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40019         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40020         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40021         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40022         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40023         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40024         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40025         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40026         * iconvdata/johab.c (ONE_DIRECTION): Define.
40027         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40028         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40029         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40030         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40031         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40032         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40033         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40034         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40035         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40036         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40038 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40040         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40041         (_IO_JUMPS_OFFSET): Define to 0.
40043         * nptl/sysdeps/pthread/bits/libc-lock.h
40044         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40045         (__libc_lock_define_initialized_recursive): Always define using
40046         initializer.  Modern compilers treat uninitialized (implicit zero) and
40047         explicit zero initializers the same (i.e. put the datum in bss).
40049 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40051         * nscd/nscd-client.h: Include <string.h>.
40053 2014-05-01  David S. Miller  <davem@davemloft.net>
40055         [BZ #16885]
40056         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40057         multiple zero bytes exist at the end of a string.
40058         Reported by Aurelien Jarno <aurelien@aurel32.net>
40060         * string/test-strcmp.c (check): Add explicit test for situations where
40061         there are multiple zero bytes after the first.
40063 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40065         [BZ #16890]
40066         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40067         when compiling wprintf.
40068         * stdio-common/tstdiomisc.c (t3): New function.
40069         (main): Call it.
40071 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40073         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40074         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40075         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40076         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40078 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40080         * stdlib/longlong.h: Updated from GCC.
40082 2014-05-01  Will Newton  <will.newton@linaro.org>
40083             Bernard Ogden  <bernie.ogden@linaro.org>
40085         * NEWS: Update fixed bug list.
40087         [BZ #15119]
40088         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40090 2014-04-30  David S. Miller  <davem@davemloft.net>
40092         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40093         (libc_feholdexcept_setround_sparc_ctx): New function.
40094         (libc_fesetenv_sparc_ctx): Likewise.
40095         (libc_feupdateenv_sparc_ctx): Likewise.
40096         (libc_feholdsetround_sparc_ctx): Likewise.
40097         (libc_feholdexcept_setround_ctx): Define.
40098         (libc_feholdexcept_setroundf_ctx): Likewise.
40099         (libc_feholdexcept_setroundl_ctx): Likewise.
40100         (libc_fesetenv_ctx): Likewise.
40101         (libc_fesetenvf_ctx): Likewise.
40102         (libc_fesetenvl_ctx): Likewise.
40103         (libc_feupdateenv_ctx): Likewise.
40104         (libc_feupdateenvf_ctx): Likewise.
40105         (libc_feupdateenvl_ctx): Likewise.
40106         (libc_feresetround_ctx): Likewise.
40107         (libc_feresetroundf_ctx): Likewise.
40108         (libc_feresetroundl_ctx): Likewise.
40109         (libc_feholdsetround_ctx): Likewise.
40110         (libc_feholdsetroundf_ctx): Likewise.
40111         (libc_feholdsetroundl_ctx): Likewise.
40113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40114         with __USE_GNU instead of XOPEN cpp guards.
40116         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40117         0.
40119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40120         with XOPEN cpp guards.
40122 2014-04-30  Julian Brown  <julian@codesourcery.com>
40124         [BZ #16888]
40125         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40126         handling.
40128 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40130         [BZ #9894]
40131         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40132         Change to 2.6.32.
40133         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40134         * sysdeps/unix/sysv/linux/configure: Regenerated.
40135         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40136         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40137         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40138         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40139         * README: Update reference to required Linux kernel version.
40140         * manual/install.texi (Linux): Update reference to required Linux
40141         kernel headers version.
40142         * INSTALL: Regenerated.
40144         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40145         header inclusion.
40146         [POSIX] (limits.h): Likewise.
40147         [POSIX] (math.h): Likewise.
40148         [POSIX] (sys/wait.h): Likewise.
40149         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40150         function.
40151         [POSIX] (stddef.h): Do not allow header inclusion.
40153 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40155         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40157 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40159         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40160         Return immediately after lll_futex_wake.
40162 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40164         [BZ #16791]
40165         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40166         structure.
40167         (datahead_init_pos): Call datahead_init_common early.
40168         (datahead_init_neg): Likewise.
40170         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40171         datahead_init_neg): New functions.
40172         * nscd/aicache.c (addhstaiX): Use them.
40173         * nscd/grpcache.c (cache_addgr): Likewise.
40174         * nscd/hstcache.c (cache_addhst): Likewise.
40175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40176         * nscd/netgroupcache.c (do_notfound): Likewise.
40177         (addgetnetgrentX): Likewise.
40178         (addinnetgrX): Likewise.
40179         * nscd/pwdcache.c (cache_addpw): Likewise.
40180         * nscd/servicescache.c (cache_addserv): Likewise.
40182 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40183             Atsushi Onoe  <atsushi@onoe.org>
40185         [BZ #14308]
40186         [BZ #12994]
40187         [BZ #13651]
40188         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40189         one response is valid.
40190         * resolv/res_send.c (send_dg): Check for validity of other
40191         response if the current response is a referral.
40193 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40195         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40197 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40199         [BZ #16823]
40200         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40201         Always divide by positive zero when computing -Inf result.
40202         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40203         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40205 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40207         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40208         FPSCR if value do not change.
40209         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40210         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40211         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40212         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40213         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40214         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40215         function.
40217 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40219         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40220         * sysdeps/unix/sysv/linux/hppa: Move directory from
40221         ports/systeps/unix/sysv/linux/hppa.
40222         * README: Update listing for hppa-*-linux-gnu.
40224 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40226         [BZ #16754]
40227         * manual/stdio.texi (Hook functions): Fix types of stream hook
40228         functions.
40229         [BZ #16854]
40230         * socket/sys/socket.h: Fix typo in comment.
40232 2014-04-28  Wilco  <wdijkstr@arm.com>
40234         * sysdeps/arm/fenv_private.h: New file.
40235         * sysdeps/arm/math_private.h: New file.
40236         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40238 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40240         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40241         with __int128_t.
40242         (La_x86_64_retval): Likewise.
40244 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40246         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40247         fpsr if value didn't change.
40248         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40249         to fpcr if value didn't change.
40250         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40251         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40252         fpsr or fpcr if value didn't change.
40253         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40254         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40255         fpcr if value didn't change.
40256         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40257         to fpsr if value didn't change.
40259 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40261         * nptl/tst-sem3.c: Use test-skeleton.c
40262         (main): Rename to do_test.  Use return instead of
40263         exit.
40264         * nptl/tst-sem4.c: Use test-skeleton.c
40265         (main): Rename to do_test.
40267 2014-04-22  David S. Miller  <davem@davemloft.net>
40269         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40270         (struct sigaction): New struct member __glibc_reserved0, change
40271         type of sa_flags to int.
40273 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40275         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40276         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40278 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40281         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40283 2014-04-22  Will Newton  <will.newton@linaro.org>
40284             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40286         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40287         (__longjmp): Add longjmp and longjmp_target SystemTap
40288         probes.
40289         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40290         (__sigsetjmp): Add setjmp SystemTap probe.
40292 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40294         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40295         match manual order.
40297 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40299         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40301         * sysdeps/powerpc/fpu/fenv_private.h
40302         (libc_feholdexcept_setroundl_ctx): Define to
40303         libc_feholdexcept_setround_ppc_ctx.
40304         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40305         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40306         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40307         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40309 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40311         * sysdeps/aarch64/math-tests.h: New file.
40313 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40315         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40316         New.
40317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40318         Check and set bit_AVX2_Usable.
40319         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40320         macro.
40321         (bit_AVX2): Likewise.
40322         (index_AVX2_Usable): Likewise.
40323         (CPUID_AVX2): Likewise.
40324         (HAS_AVX2): Likewise.
40326 2014-04-17  Will Newton  <will.newton@linaro.org>
40328         * manual/setjmp.texi (System V contexts): Add note that
40329         calling setcontext on a context created by a call to a
40330         signal handler is undefined.  Update text to note that
40331         setcontext from a signal handler is possible but not
40332         recommended.
40334         [BZ #16629]
40335         * stdlib/tst-setcontext.c: Include signal.h.
40336         (main): Check that the signal stack before and
40337         after swapcontext is the same.
40339         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40340         Re-implement to restore registers in user code and avoid
40341         rt_sigreturn system call.
40343 2014-04-17  Wilco  <wdijkstr@arm.com>
40345         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40346         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40347         * math/test-fenv.c: Skip exception trap tests on targets which only
40348         support non-stop mode.
40350 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40351             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40353         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40354         (libc_feholdsetround_aarch64_ctx)
40355         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40356         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40357         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40358         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40359         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40360         (libc_feresetround_noexl_ctx): Define.
40362 2014-04-16  Richard Henderson  <rth@redhat.com>
40364         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40366         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40367         unwind tables.
40369         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40370         const from the non-libc, non-ldso copy.
40372         * sysdeps/alpha/libm-test-ulps: Regenerate.
40374 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40375             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40377         * sysdeps/aarch64/fpu/math_private.h: New file.
40379 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40381         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40383 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40385         [BZ #16275]
40386         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40387         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40389         Intel MPX bound registers before _dl_profile_fixup.
40390         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40391         registers after _dl_profile_fixup.  Save and restore bound
40392         registers bnd0/bnd1 when calling _dl_call_pltexit.
40393         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40394         (LR_BND_OFFSET): Likewise.
40395         (LRV_BND0_OFFSET): Likewise.
40396         (LRV_BND1_OFFSET): Likewise.
40398 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40400         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40401         to...
40402         * sysdeps/mach/hurd/i386/tls.h: ... here.
40403         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40404         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40405         fields.
40407 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40409         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40411 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40413         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40415 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40417         [BZ #14770]
40418         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40419         * sysdeps/s390/configure: Regenerate.
40421         [BZ #16824]
40422         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40423         Set round-to-nearest internally to reduce error accumulation.
40425 2014-04-16  Alan Modra  <amodra@gmail.com>
40427         [BZ #16740]
40428         [BZ #16619]
40429         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40430         * math/libm-test.inc (frexp_test_data): Add tests.
40431         * NEWS: Update fixed bug list.
40433 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40435         * benchtests/Makefile: Depend on libraries in build directory.
40436         (bench-math): Separate out math tests.
40437         (bench-pthread): Separate out pthread tests.
40438         (bench): Include math and pthread tests.
40440 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40442         [BZ #16831]
40443         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40444         _dl_debug_initialize.
40446         * configure.ac: Remove SELinux header check.
40447         * configure: Regenerate.
40448         * nscd/selinux.c (perms): Array of const char* to permission names.
40449         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40450         default policy. Call string_to_security_class and string_to_av_perm to
40451         translate strings. Enforce default policy and call avs_has_perm with
40452         results of translated strings.
40454 2014-04-13  David S. Miller  <davem@davemloft.net>
40456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40458 2014-04-12  Allan McRae  <allan@archlinux.org>
40460         [BZ #16838]
40461         * manual/string.texi (Collation Functions): Fix qsort argument
40462         order in example.
40463         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40465 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40467         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40468         Make the test a no-op if there are no exceptions defined.
40470 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40472         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40473         enable-hardcoded-path-in-tests
40475 2014-04-11  Will Newton  <will.newton@linaro.org>
40477         * benchtests/Makefile (extra-objs): Add json-lib.o.
40478         (bench-func): Tidy up JSON output.
40479         * benchtests/bench-skeleton.c: Include json-lib.h.
40480         (main): Use JSON library functions to do output of
40481         benchmark results.
40482         * benchtests/bench-timing-type.c (main): Output the
40483         timing type simply, leaving formatting to the user.
40484         * benchtests/json-lib.c: New file.
40485         * benchtests/json-lib.h: Likewise.
40487 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40489         [BZ #15215]
40490         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40491         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40492         memory barriers.  Add comments.
40493         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40494         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40495         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40496         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40497         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40498         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40500 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40502         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40503         * sysdeps/s390/s390-64/configure.ac: ... this ...
40504         * sysdeps/s390/configure.ac: ... to here.
40505         * sysdeps/s390/s390-32/configure: Delete file.
40506         * sysdeps/s390/s390-64/configure: Delete file.
40507         * sysdeps/s390/configure: Regenerate.
40509 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40511         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40513 2014-04-11  Will Newton  <will.newton@linaro.org>
40515         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40516         to zero if it is not defined elsewhere.  (mtrim): Test
40517         the value of MALLOC_DEBUG with #if rather than #ifdef.
40519 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40521         * benchtests/pthread_once-inputs: New file.
40522         * benchtests/pthread_once-source.c: New file.
40523         * benchtests/README: Update documentation.
40525 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40526             H.J. Lu  <hongjiu.lu@intel.com>
40528         [BZ #16275]
40529         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40530         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40531         * sysdeps/x86_64/configure: Regenerated.
40532         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40533         macro.
40534         (REGISTER_SAVE_RAX): Likewise.
40535         (REGISTER_SAVE_RCX): Likewise.
40536         (REGISTER_SAVE_RDX): Likewise.
40537         (REGISTER_SAVE_RSI): Likewise.
40538         (REGISTER_SAVE_RDI): Likewise.
40539         (REGISTER_SAVE_R8): Likewise.
40540         (REGISTER_SAVE_R9): Likewise.
40541         (REGISTER_SAVE_BND0): Likewise.
40542         (REGISTER_SAVE_BND1): Likewise.
40543         (REGISTER_SAVE_BND2): Likewise.
40544         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40545         bound registers when calling _dl_fixup.
40547 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40549         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40550         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40551         of its definition.
40552         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40553         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40554         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40555         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40556         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40557         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40558         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40560 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40562         [BZ #15514]
40563         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40564         pathconf(_PC_NAME_MAX).
40566 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40568         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40569         Remove macro usage.
40570         (__PTHREAD_SPINS): Move definition to ...
40571         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40572         (__PTHREAD_SPINS): ... here.
40573         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40574         (__PTHREAD_SPIN): Likewise.
40575         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40576         (__PTHREAD_SPIN): Likewise.
40577         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40578         (__PTHREAD_SPIN): Likewise.
40579         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40580         (__PTHREAD_SPIN): Likewise.
40581         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40582         (__PTHREAD_SPIN): Likewise.
40583         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40584         (__PTHREAD_SPIN): Likewise.
40585         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40586         (__PTHREAD_SPIN): Likewise.
40587         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40588         (__PTHREAD_SPIN): Likewise.
40589         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40590         (__PTHREAD_SPIN): Likewise.
40591         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40592         (__PTHREAD_SPIN): Likewise.
40593         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40594         (__PTHREAD_SPIN): Likewise.
40595         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40596         (__PTHREAD_SPIN): Likewise.
40598         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40599         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40600         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40601         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40602         imply folder.
40603         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40604         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40605         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40606         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40607         correct imply path.
40608         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40609         strlen symbol for non multi-arch builds.
40610         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40611         missing hidden_def and weak_alias.
40613 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40615         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40617 2014-04-07  Will Newton  <will.newton@linaro.org>
40619         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40620         and contents.  [!_LIBC] Remove #ifndef and contents.
40621         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40622         * string/memccpy.c (__memccpy): Use ANSI prototype.
40623         * string/memfrob.c (memfrob): Likewise.
40624         * string/strcoll.c (STRCOLL): Likewise.
40625         * string/strlen.c (strlen): Likewise.
40626         * string/strtok.c (STRTOK): Likewise.
40627         * string/strcat.c: Remove unused #include of memcopy.h.
40628         (strcat): Use ANSI prototype.
40629         * string/strchr.c: Remove unused #include of memcopy.h.
40630         (strchr): Use ANSI prototype.
40631         * string/strcmp.c: Remove unused #include of memcopy.h.
40632         (strcmp): Use ANSI prototype.
40633         * string/strcpy.c: Remove unused #include of memcopy.h.
40634         (strcpy): Use ANSI prototype.
40636 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40638         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40639         * config.make.in (config-extra-cppflags): Set it from
40640         libc_extra_cppflags.
40641         * configure.ac (libc_extra_cflags): Make it accumulate over
40642         configure fragments.
40643         (libc_extra_cppflags): New flag.
40644         * configure. Regenerate.
40645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40646         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40647         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40650         [BZ #16815]
40651         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40652         result for FE_DOWNWARD rounding mode.
40653         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40654         Likewise.
40655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40657 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40659         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40660         in function argument name.
40662 2014-04-03  David Svoboda  <svoboda@cert.org>
40664         [BZ #5666]
40665         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40666         explicitly.
40668 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40670         * elf/dl-unmap-segments.h: New file.
40671         * sysdeps/generic/ldsodefs.h
40672         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40673         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40674         * elf/dl-fptr.c: Likewise.
40675         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40676         * sysdeps/aarch64/tlsdesc.c: Likewise.
40677         * sysdeps/arm/tlsdesc.c: Likewise.
40678         * sysdeps/i386/tlsdesc.c: Likewise.
40679         * sysdeps/tile/dl-runtime.c: Likewise.
40680         * sysdeps/x86_64/tlsdesc.c: Likewise.
40681         * elf/dl-load.h: New file.
40682         * elf/dl-load.c: Include it.
40683         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40684         Macros moved to dl-load.h.
40685         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40686         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40687         Use _dl_unmap_segments in place of __munmap.
40688         Break out segment-mapping loop into ...
40689         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40691 2014-04-03  Will Newton  <will.newton@linaro.org>
40693         * elf/dl-lookup.c (do_lookup_x): Remove comment
40694         referring to nested function and move variable
40695         declarations down to before first use.
40697 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40699         [BZ #16799]
40700         [BZ #16800]
40701         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40702         with 0 numerator.
40703         * math/s_catanf.c (__catanf): Likewise.
40704         * math/s_catanh.c (__catanh): Likewise.
40705         * math/s_catanhf.c (__catanhf): Likewise.
40706         * math/s_catanhl.c (__catanhl): Likewise.
40707         * math/s_catanl.c (__catanl): Likewise.
40708         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40709         by positive zero when computing -Inf result.
40710         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40711         (catanh_test): Likewise.
40712         * sysdeps/i386/fpu/libm-test-ulps: Update.
40713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40715         [BZ #16789]
40716         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40717         instead of using underflowing value in computing result.
40718         * math/s_clog10.c (__clog10): Likewise.
40719         * math/s_clog10f.c (__clog10f): Likewise.
40720         * math/s_clog10l.c (__clog10l): Likewise.
40721         * math/s_clogf.c (__clogf): Likewise.
40722         * math/s_clogl.c (__clogl): Likewise.
40723         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40724         (clog10_test): Likewise.
40725         * sysdeps/i386/fpu/libm-test-ulps: Update.
40726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40728 2014-04-02  Alan Modra  <amodra@gmail.com>
40730         [BZ #16739]
40731         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40732         output when value is near a power of two.  Use int64_t for lx and
40733         remove casts.  Use decimal rather than hex exponent constants.
40734         Don't use long double multiplication when double will suffice.
40735         * math/libm-test.inc (nextafter_test_data): Add tests.
40736         * NEWS: Add 16739 and 16786 to bug list.
40738         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40740         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40742 2014-04-01  Will Newton  <will.newton@linaro.org>
40744         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40745         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40747 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40749         [BZ #13347]
40750         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40751         * nptl/tst-setuid2.c: New file.
40752         * nptl/Makefile (xtests): Add tst-setuid2.
40754 2014-04-01  Alan Modra  <amodra@gmail.com>
40756         [BZ #16786]
40757         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40759 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40761         [BZ #6803]
40762         [BZ #6804]
40763         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40764         set errno as appropriate.
40765         * math/w_scalbf.c (__scalbf): Likewise.
40766         * math/w_scalbl.c (__scalbl): Likewise.
40767         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40768         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40769         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40770         Add more NaN tests.
40772         [BZ #16349]
40773         * math/w_atan2.c: Include <errno.h>.
40774         (__atan2): Set errno for result underflowing to zero.
40775         * math/w_atan2f.c: Include <errno.h>.
40776         (__atan2f): Set errno for result underflowing to zero.
40777         * math/w_atan2l.c: Include <errno.h>.
40778         (__atan2l): Set errno for result underflowing to zero.
40779         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40780         tests.
40781         * math/auto-libm-test-out: Regenerated.
40783 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40785         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40786         Encode instruction correctly in little endian.
40787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40788         Likewise.
40789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40790         Likewise.
40791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40792         Likewise.
40793         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40794         Likewise.
40796 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40798         [BZ #9894]
40799         * sysdeps/unix/sysv/linux/kernel-features.h
40800         [__sparc__ && !__arch64__ && !__sparc_v9__]
40801         (__ASSUME_SET_ROBUST_LIST): Do not define.
40802         [__sparc__ && !__arch64__ && !__sparc_v9__]
40803         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40804         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40805         Likewise.
40806         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40807         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40808         (__ASSUME_REQUEUE_PI): Likewise.
40809         (__ASSUME_SET_ROBUST_LIST): Likewise.
40810         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40811         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40812         Undefine.
40813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40814         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40815         Likewise.
40816         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40817         Likewise.
40818         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40819         Likewise.
40820         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40821         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40822         Undefine.
40823         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40824         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40825         Likewise.
40827         [BZ #16648]
40828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40829         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40830         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40832 2014-03-31  Will Newton  <will.newton@linaro.org>
40834         * benchtests/Makefile (bench): Add ffs and ffsll to list
40835         of tests.
40836         * benchtests/ffs-inputs: New file.
40837         * benchtests/ffsll-inputs: Likewise.
40839 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40841         [BZ #16770]
40842         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40843         too large before casting to int.
40844         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40845         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40846         * math/libm-test.inc (scalb_test_data): Add more tests.
40848 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40850         * benchtests/Makefile (DETAILED_OPT): New make option.
40851         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40852         set.
40853         * benchtests/bench-skeleton.c: Include stdbool.h.
40854         (main): Store and print timings per input.
40855         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40856         member to each argument value.
40857         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40858         (_print_arg_data): Initialize per-input timing to 0.
40860         * benchtests/Makefile (timing-type): New binary.
40861         (bench-clean): Also remove bench-timing-type.
40862         (bench): New target for timing-type.
40863         (bench-func): Print output in JSON format.
40864         * benchtests/bench-skeleton.c (main): Print output in JSON
40865         format.
40866         * benchtests/bench-timing-type.c: New file.
40867         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40868         (TIMING_PRINT_STATS): Remove.
40869         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40870         name separately.
40872         * benchtests/bench-modf.c: Remove.
40873         * benchtests/modf-inputs: New inputs file.
40875 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40877         [BZ #16362]
40878         * math/s_clog10.c (M_PI_LOG10E): New macro.
40879         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40880         imaginary parts are 0.
40881         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40882         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40883         imaginary parts are 0.
40884         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40885         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40886         imaginary parts are 0.
40887         * math/libm-test.inc (clog10_test_data): Update expected results
40888         for when real and imaginary parts are 0.
40890 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40892         * elf/dl-load.c: Finish conversion of __builtin_expect into
40893         __glibc_{un}likely.
40895 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40897         [BZ #16348]
40898         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40899         1+x for argument with exponent below -67.
40900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40901         Likewise.
40902         * math/auto-libm-test-in: Add more tests of exp.
40903         * math/auto-libm-test-out: Regenerated.
40905 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40907         [BZ #16759]
40908         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40909         (nscd_getnetgrent): Use it.
40911         [BZ #16760]
40912         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40913         of stpcpy.
40915 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40917         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40918         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40919         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40920         (lll_robust_unlock): Remove out of line section. Use cfi
40921         intrinsics.
40922         (LLL_STUB_UNWIND_INFO*): Remove.
40923         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40924         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40925         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40926         (lll_robust_unlock): Remove out of line section. Use cfi
40927         intrinsics.
40928         (LLL_STUB_UNWIND_INFO*): Remove.
40930 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932         [BZ #16758]
40933         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40934         blank values.
40936 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40938         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40940 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40942         [BZ #16198]
40943         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40944         fnstenv.
40945         * math/test-fenv-preserve.c: New file.
40946         * math/Makefile (tests): Add test-fenv-preserve.
40948 2014-03-26  Will Newton <will.newton@linaro.org>
40950         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40952 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40954         * scripts/versionlist.awk: Partition the version sets and emit all
40955         GLIBC_* (sorted) before all others (sorted).
40957 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40959         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40960         GLIBC_2.2.5 version.
40962 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40964         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40965         calls.
40967         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40968         previous change.
40970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40972 2014-03-25  Andreas Schwab  <schwab@suse.de>
40974         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40975         label to be used after in6ailist is initialized.
40977 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40979         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40980         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40982 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40984         [BZ #16357]
40985         [BZ #16599]
40986         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40987         min_plus_half.
40988         (fp_formats): Update initializers.
40989         (init_fp_formats): Initialize new field.
40990         (output_for_one_input_case): Allow underflow for results up to
40991         min_plus_half.
40992         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40993         * math/auto-libm-test-in: Don't mark some underflows from asin and
40994         atanh as spurious.
40995         * math/auto-libm-test-out: Regenerated.
40996         * sysdeps/i386/fpu/libm-test-ulps: Update.
40997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40999 2014-03-25  Andreas Schwab  <schwab@suse.de>
41001         * libio/Makefile (tst-ftell-partial-wide-ENV)
41002         (tst-ftell-active-handler-ENV): Define.
41004 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41006         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41008 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41010         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41012 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41014         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41015         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41016         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41018 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41020         [BZ #16634]
41021         * elf/dl-load.c (open_verify): Add mode parameter.
41022         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41023         (open_path): Change from boolean 'secure' to complete flag 'mode'
41024         (_dl_map_object): Adjust.
41025         * elf/Makefile (tests): Add tst-dlopen-aout.
41026         * elf/tst-dlopen-aout.c: New test.
41028 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41030         [BZ #16714]
41031         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41032         (struct stat): Rename member pad0 to __glibc_reserved0.
41034         [BZ #16712]
41035         * sysdeps/s390/s390-32/bits/wordsize.h
41036         (__WORDSIZE32_SIZE_ULONG): New define.
41037         * sysdeps/s390/s390-64/bits/wordsize.h
41038         (__WORDSIZE32_SIZE_ULONG): Likewise.
41039         * sysdeps/generic/stdint.h (SIZE_MAX):
41040         Define as UL if __WORDSIZE32_SIZE_ULONG.
41042         [BZ #16713]
41043         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41044         (__glibc_reserved0): New variable.
41045         (sa_flags): Change type to int.
41047         * posix/Makefile (before-compile): Use += before-compile instead
41048         of a :=.
41050         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41051         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41053 2014-03-20  Andreas Schwab  <schwab@suse.de>
41055         [BZ #16743]
41056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41057         non-matching result from nscd.
41059 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41061         * scripts/bench.py: Moved to ...
41062         * benchtests/scripts/bench.py: ... here.
41063         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41065 2014-03-24  Andreas Schwab  <schwab@suse.de>
41067         [BZ #16002]
41068         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41069         alloca_account and account alloca use for struct in6ailist.
41071 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41073         [BZ #16284]
41074         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41075         rounding mode to recompute results that overflow to infinity or
41076         underflow to zero.
41077         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41078         bug 16284.
41079         * math/auto-libm-test-out: Regenerated.
41080         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41081         (ccosh_test): Likewise.
41082         (csin_test_data): Use plus_oflow.
41083         (csin_test): Use ALL_RM_TEST.
41084         (csinh_test_data): Use plus_oflow.
41085         (csinh_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  Joseph Myers  <joseph@codesourcery.com>
41091         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41092         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41093         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41095         [BZ #16731]
41096         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41097         when x - 1 is zero.
41098         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41099         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41100         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41101         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41102         argument is 1.
41103         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41104         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41105         zero.
41106         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41107         * sysdeps/i386/fpu/libm-test-ulps: Update.
41108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41110 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41112         * scripts/bench.pl: Remove file.
41113         * scripts/bench.py: New benchmark script.
41114         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41115         * benchtests/README: Mention python dependency.
41116         * scripts/pylintrc: New file.
41117         * scripts/pylint: New file.
41119         * bits/mathdef.h: Use #ifdef instead of #if.
41120         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41121         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41122         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41123         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41124         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41125         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41127 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41128             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41130         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41132         and strpbrk-ppc64 objects.
41133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41134         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41136         multiarch strpbrk for POWER7.
41137         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41138         multiarch strpbrk for PPC64.
41139         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41140         ifunc selector.
41141         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41142         strpbrk for POWER7.
41144 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41146         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41147         (atan_test): Likewise.
41148         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41149         (atanh_test): Use ALL_RM_TEST.
41150         (atan2_test_data): Likewise.
41151         (cabs_test): Likewise.
41152         (cacosh_test): Likewise.
41153         (carg_test): Likewise.
41154         (casin_test): Likewise.
41155         (casinh_test): Likewise.
41156         (cbrt_test): Likewise.
41157         (csqrt_test): Likewise.
41158         (erf_test): Likewise.
41159         (erfc_test): Likewise.
41160         (pow10_test): Likewise.
41161         (exp2_test): Likewise.
41162         (hypot_test): Likewise.
41163         (j0_test): Likewise.
41164         (j1_test): Likewise.
41165         (lgamma_test): Likewise.
41166         (gamma_test): Likewise.
41167         (sincos_test): Likewise.
41168         (tanh_test): Likewise.
41169         (y0_test): Likewise.
41170         (y1_test): Likewise.
41171         * sysdeps/i386/fpu/libm-test-ulps: Update.
41172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41174 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41176         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41178         and strcspn-ppc64 objects.
41179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41180         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41181         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41182         multiarch strcspn for POWER7.
41183         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41184         multiarch strcspn for PPC64.
41185         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41186         ifunc selector.
41187         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41188         strcspn for POWER7.
41190 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41192         * math/gen-libm-test.pl (generate_testfile): Expect only function
41193         name as argument to AUTO_TESTS_* and pass results for all rounding
41194         modes to parse_args.
41195         (parse_auto_input): Separate inputs of automatic tests from
41196         outputs before storing in %auto_tests.
41197         * math/libm-test.inc (acos_test_data): Update call to
41198         AUTO_TESTS_f_f.
41199         (acos_test): Use ALL_RM_TEST.
41200         (acos_tonearest_test_data): Remove.
41201         (acos_test_tonearest): Likewise.
41202         (acos_towardzero_test_data): Likewise.
41203         (acos_test_towardzero): Likewise.
41204         (acos_downward_test_data): Likewise.
41205         (acos_test_downward): Likewise.
41206         (acos_upward_test_data): Likewise.
41207         (acos_test_upward): Likewise.
41208         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41209         (asin_test_data): Likewise.
41210         (asin_test): Use ALL_RM_TEST.
41211         (asin_tonearest_test_data): Remove.
41212         (asin_test_tonearest): Likewise.
41213         (asin_towardzero_test_data): Likewise.
41214         (asin_test_towardzero): Likewise.
41215         (asin_downward_test_data): Likewise.
41216         (asin_test_downward): Likewise.
41217         (asin_upward_test_data): Likewise.
41218         (asin_test_upward): Likewise.
41219         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41220         (atan_test_data): Likewise.
41221         (atanh_test_data): Likewise.
41222         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41223         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41224         (carg_test_data): Likewise.
41225         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41226         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41227         (ccosh_test_data): Likewise.
41228         (cexp_test_data): Likewise.
41229         (clog_test_data): Likewise.
41230         (clog10_test_data): Likewise.
41231         (cos_test_data): Update call to AUTO_TESTS_f_f.
41232         (cos_test): Use ALL_RM_TEST.
41233         (cos_tonearest_test_data): Remove.
41234         (cos_test_tonearest): Likewise.
41235         (cos_towardzero_test_data): Likewise.
41236         (cos_test_towardzero): Likewise.
41237         (cos_downward_test_data): Likewise.
41238         (cos_test_downward): Likewise.
41239         (cos_upward_test_data): Likewise.
41240         (cos_test_upward): Likewise.
41241         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41242         (cosh_test): Use ALL_RM_TEST.
41243         (cosh_tonearest_test_data): Remove.
41244         (cosh_test_tonearest): Likewise.
41245         (cosh_towardzero_test_data): Likewise.
41246         (cosh_test_towardzero): Likewise.
41247         (cosh_downward_test_data): Likewise.
41248         (cosh_test_downward): Likewise.
41249         (cosh_upward_test_data): Likewise.
41250         (cosh_test_upward): Likewise.
41251         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41252         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41253         (ctan_test_data): Likewise.
41254         (ctan_test): Use ALL_RM_TEST.
41255         (ctan_tonearest_test_data): Remove.
41256         (ctan_test_tonearest): Likewise.
41257         (ctan_towardzero_test_data): Likewise.
41258         (ctan_test_towardzero): Likewise.
41259         (ctan_downward_test_data): Likewise.
41260         (ctan_test_downward): Likewise.
41261         (ctan_upward_test_data): Likewise.
41262         (ctan_test_upward): Likewise.
41263         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41264         (ctanh_test): Use ALL_RM_TEST.
41265         (ctanh_tonearest_test_data): Remove.
41266         (ctanh_test_tonearest): Likewise.
41267         (ctanh_towardzero_test_data): Likewise.
41268         (ctanh_test_towardzero): Likewise.
41269         (ctanh_downward_test_data): Likewise.
41270         (ctanh_test_downward): Likewise.
41271         (ctanh_upward_test_data): Likewise.
41272         (ctanh_test_upward): Likewise.
41273         (erf_test_data): Update call to AUTO_TESTS_f_f.
41274         (erfc_test_data): Likewise.
41275         (exp_test_data): Likewise.
41276         (exp_test): Use ALL_RM_TEST.
41277         (exp_tonearest_test_data): Remove.
41278         (exp_test_tonearest): Likewise.
41279         (exp_towardzero_test_data): Likewise.
41280         (exp_test_towardzero): Likewise.
41281         (exp_downward_test_data): Likewise.
41282         (exp_test_downward): Likewise.
41283         (exp_upward_test_data): Likewise.
41284         (exp_test_upward): Likewise.
41285         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41286         (exp10_test): Use ALL_RM_TEST.
41287         (exp10_tonearest_test_data): Remove.
41288         (exp10_test_tonearest): Likewise.
41289         (exp10_towardzero_test_data): Likewise.
41290         (exp10_test_towardzero): Likewise.
41291         (exp10_downward_test_data): Likewise.
41292         (exp10_test_downward): Likewise.
41293         (exp10_upward_test_data): Likewise.
41294         (exp10_test_upward): Likewise.
41295         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41296         (expm1_test_data): Likewise.
41297         (expm1_test): Use ALL_RM_TEST.
41298         (expm1_tonearest_test_data): Remove.
41299         (expm1_test_tonearest): Likewise.
41300         (expm1_towardzero_test_data): Likewise.
41301         (expm1_test_towardzero): Likewise.
41302         (expm1_downward_test_data): Likewise.
41303         (expm1_test_downward): Likewise.
41304         (expm1_upward_test_data): Likewise.
41305         (expm1_test_upward): Likewise.
41306         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41307         (fma_test): Use ALL_RM_TEST.
41308         (fma_towardzero_test_data): Remove.
41309         (fma_test_towardzero): Likewise.
41310         (fma_downward_test_data): Likewise.
41311         (fma_test_downward): Likewise.
41312         (fma_upward_test_data): Likewise.
41313         (fma_test_upward): Likewise.
41314         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41315         (j0_test_data): Update call to AUTO_TESTS_f_f.
41316         (j1_test_data): Likewise.
41317         (jn_test_data): Update call to AUTO_TESTS_if_f.
41318         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41319         (log_test_data): Update call to AUTO_TESTS_f_f.
41320         (log10_test_data): Likewise.
41321         (log1p_test_data): Likewise.
41322         (log2_test_data): Likewise.
41323         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41324         (pow_tonearest_test_data): Likewise.
41325         (sin_test_data): Update call to AUTO_TESTS_f_f.
41326         (sin_test): Use ALL_RM_TEST.
41327         (sin_tonearest_test_data): Remove.
41328         (sin_test_tonearest): Likewise.
41329         (sin_towardzero_test_data): Likewise.
41330         (sin_test_towardzero): Likewise.
41331         (sin_downward_test_data): Likewise.
41332         (sin_test_downward): Likewise.
41333         (sin_upward_test_data): Likewise.
41334         (sin_test_upward): Likewise.
41335         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41336         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41337         (sinh_test): Use ALL_RM_TEST.
41338         (sinh_tonearest_test_data): Remove.
41339         (sinh_test_tonearest): Likewise.
41340         (sinh_towardzero_test_data): Likewise.
41341         (sinh_test_towardzero): Likewise.
41342         (sinh_downward_test_data): Likewise.
41343         (sinh_test_downward): Likewise.
41344         (sinh_upward_test_data): Likewise.
41345         (sinh_test_upward): Likewise.
41346         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41347         (sqrt_test): Use ALL_RM_TEST.
41348         (sqrt_tonearest_test_data): Remove.
41349         (sqrt_test_tonearest): Likewise.
41350         (sqrt_towardzero_test_data): Likewise.
41351         (sqrt_test_towardzero): Likewise.
41352         (sqrt_downward_test_data): Likewise.
41353         (sqrt_test_downward): Likewise.
41354         (sqrt_upward_test_data): Likewise.
41355         (sqrt_test_upward): Likewise.
41356         (tan_test_data): Update call to AUTO_TESTS_f_f.
41357         (tan_test): Use ALL_RM_TEST.
41358         (tan_tonearest_test_data): Remove.
41359         (tan_test_tonearest): Likewise.
41360         (tan_towardzero_test_data): Likewise.
41361         (tan_test_towardzero): Likewise.
41362         (tan_downward_test_data): Likewise.
41363         (tan_test_downward): Likewise.
41364         (tan_upward_test_data): Likewise.
41365         (tan_test_upward): Likewise.
41366         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41367         (tgamma_test_data): Likewise.
41368         (y0_test_data): Likewise.
41369         (y1_test_data): Likewise.
41370         (yn_test_data): Update call to AUTO_TESTS_if_f.
41371         (main): Do not call removed functions.
41373 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41375         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41376         (ldexp_test_data): Remove.
41377         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41378         scalbn_test_data.
41379         (scalb_test): Use ALL_RM_TEST.
41381 2014-03-19  Andreas Schwab  <schwab@suse.de>
41383         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41385 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41387         [BZ #16649]
41388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41389         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41391         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41392         (__ASSUME_PREADV): Undefine.
41393         (__ASSUME_PWRITEV): Likewise.
41395 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41397         * bits/mman-linux.h: Add comment about non-Linux use.
41398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41399         bits/mman-linux.h resting place.
41401         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41402         * bits/mman-linux.h: ... here.
41404 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41406         * conform/conformtest.pl: Add standard definition when calling C
41407         preprocessor on data files.
41408         (checknamespace): Remove unused variable.
41410 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41412         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41413         minus_oflow, plus_uflow and minus_uflow in expected results.
41414         * math/libm-test.inc (scalbn_test_data): Add more tests of
41415         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41416         minus_uflow.
41417         (scalbn_test): Use ALL_RM_TEST.
41418         (scalbln_test_data): Add more tests of negative arguments.  Use
41419         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41420         (scalbln_test): Use ALL_RM_TEST.
41422 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41424         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41426 2014-03-18  Will Newton  <will.newton@linaro.org>
41428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41429         inaccurate comment.
41431 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41433         * Makerules [!subdir] (check-abi): Exit with error status if a
41434         test failed.
41436 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41438         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41439         for rint.  Include results for all rounding modes.
41440         (nearbyint_test): Use ALL_RM_TEST.
41441         (rint_test_data): Include all tests used for nearbyint.
41443 2014-03-17  Will Newton  <will.newton@linaro.org>
41445         * nptl/sysdeps/pthread/pthread.h: Revert previous
41446         change.
41448         * sysdeps/generic/ldsodefs.h: Revert previous
41449         change.
41451         * libio/genops.c: Revert previous change.
41452         * libio/libioP.h: Likewise.
41453         * stdio-common/vfprintf.c: Likewise.
41455         * sysdeps/generic/math_private.h: Revert previous
41456         change.
41458         * sysdeps/generic/math_private.h: Check whether
41459         HAVE_RM_CTX is defined with #ifdef rather
41460         than #if.
41462         * argp/argp-fmtstream.h: Check whether
41463         __STRICT_ANSI__ is defined with #ifdef rather
41464         than #if.
41465         * argp/argp.h: Likewise.
41467         * libio/genops.c: Check whether
41468         _IO_JUMPS_OFFSET is defined with #ifdef rather
41469         than #if.
41470         * libio/libioP.h: Likewise.
41471         * stdio-common/vfprintf.c: Likewise.
41473         * sysdeps/generic/ldsodefs.h: Check whether
41474         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41475         than #if.
41477         * nptl/sysdeps/pthread/pthread.h: Check
41478         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41479         its value.
41481 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41483         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41484         setting O_APPEND.
41485         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41486         test case.
41488         [BZ #16680]
41489         * libio/fileops.c (_IO_file_open): Seek to end of file but
41490         don't cache the offset.
41491         (get_file_offset): Remove function.
41492         (do_ftell): Use cached offset when available.
41493         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41494         don't cache the offset.
41495         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41496         case.
41497         (do_one_test): Call it.
41498         (do_ftell_test): Fix up expected old offset for a+ mode.
41499         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41500         available.
41502         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41503         up test status with function return status.
41504         (do_write_test): Likewise.
41505         (do_append_test): Likewise.
41507         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41508         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41509         Remove.
41511 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41513         * math/gen-libm-test.pl (parse_args): Handle results specified for
41514         each rounding mode separately.
41515         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41516         tests and results from lrint_tonearest_test_data,
41517         lrint_towardzero_test_data, lrint_downward_test_data and
41518         lrint_upward_test_data.
41519         (lrint_test): Use ALL_RM_TEST.
41520         (lrint_tonearest_test_data): Remove.
41521         (lrint_test_tonearest): Likewise.
41522         (lrint_towardzero_test_data): Likewise.
41523         (lrint_test_towardzero): Likewise.
41524         (lrint_downward_test_data): Likewise.
41525         (lrint_test_downward): Likewise.
41526         (lrint_upward_test_data): Likewise.
41527         (lrint_test_upward): Likewise.
41528         (llrint_test_data): Merge in per-rounding-mode tests and results
41529         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41530         llrint_downward_test_data and llrint_upward_test_data.
41531         (llrint_test): Use ALL_RM_TEST.
41532         (llrint_tonearest_test_data): Remove.
41533         (llrint_test_tonearest): Likewise.
41534         (llrint_towardzero_test_data): Likewise.
41535         (llrint_test_towardzero): Likewise.
41536         (llrint_downward_test_data): Likewise.
41537         (llrint_test_downward): Likewise.
41538         (llrint_upward_test_data): Likewise.
41539         (llrint_test_upward): Likewise.
41540         (rint_test_data): Merge in per-rounding-mode tests and results
41541         from rint_tonearest_test_data, rint_towardzero_test_data,
41542         rint_downward_test_data and rint_upward_test_data.  Add
41543         per-rounding-mode results for tests not in those arrays.
41544         (rint_test): Use ALL_RM_TEST.
41545         (rint_tonearest_test_data): Remove.
41546         (rint_test_tonearest): Likewise.
41547         (rint_towardzero_test_data): Likewise.
41548         (rint_test_towardzero): Likewise.
41549         (rint_downward_test_data): Likewise.
41550         (rint_test_downward): Likewise.
41551         (rint_upward_test_data): Likewise.
41552         (rint_test_upward): Likewise.
41553         (main): Don't call removed functions.
41555 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41557         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41558         "Compiled on ..." crapola.  It is anti-useful.
41560 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41562         * scripts/evaluate-test.sh: Handle fourth argument to determine
41563         whether test run should stop on failure.
41564         * Makeconfig (stop-on-test-failure): New variable.
41565         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41566         $(stop-on-test-failure).
41567         * Makefile (tests): Give a summary of results from testing and
41568         exit with failure status if they include an ERROR or FAIL.
41569         (xtests): Likewise.
41570         * manual/install.texi (Configuring and compiling): Mention
41571         stop-on-test-failure=y.
41572         * INSTALL: Regenerated.
41574 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41576         * scripts/versionlist.awk: New file.
41577         * Makerules [$(build-shared) = yes]
41578         (postclean-generated): Add Versions.def, not Versions.def.v and
41579         Versions.def.v.i.
41580         ($(common-objpfx)Versions.def.v.i): Target removed.
41581         ($(common-objpfx)Versions.def): New target.
41582         ($(common-objpfx)Versions.all): Depend on that rather that
41583         $(common-objpfx)Versions.def.v.
41584         * Versions.def: File removed.
41586         * Makeconfig (+gccwarn): Add -Wundef.
41587         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41588         a dl-sysdep.h breaking its contract.
41589         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41590         * include/stackinfo.h: New file.
41591         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41592         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41593         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41594         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41595         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41596         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41597         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41598         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41599         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41600         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41601         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41602         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41603         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41604         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41605         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41607 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41609         [BZ #16707]
41610         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41611         implementation.
41612         * math/libm-test.inc (round_test_data): Add more tests.
41614         [BZ #16706]
41615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41616         implementation.
41617         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41619         [BZ #16701]
41620         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41621         implementation.
41622         * math/libm-test.inc (ceil_test_data): Add more tests.
41624         * math/libm-test.inc (trunc_test_data): Add more tests related to
41625         BZ#16414.
41627 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41629         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41630         with #if rather than #ifdef.
41631         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41633 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41635         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41636         first.  Disable AVX-512 GCC support if assembler doesn't support
41637         it.
41638         * sysdeps/x86_64/configure: Regenerated.
41640 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41642         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41643         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41644         (__old_pthread_attr_setstack): Likewise.
41645         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41646         [!_STACK_GROWS_DOWN]: Likewise.
41648 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41650         * config.make.in (have-bash2): Delete.
41651         * configure.ac (libc_cv_have_bash2): Delete.
41652         * configure: Regenerate.
41653         * elf/Makefile (common-ldd-rewrite): Rename to ...
41654         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41655         (sh-ldd-rewrite): Delete.
41656         (bash-ldd-rewrite): Delete.
41657         (have-bash2): Delete checks.
41658         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41659         ldd-rewrite.
41661         * config.make.in (have-ksh): Delete.
41662         (KSH): Delete.
41663         * configure.ac (libc_cv_have_ksh): Delete.
41664         * configure: Regenerate.
41666         * elf/Makefile: Delete $(have-ksh) check.
41667         ($(objpfx)sotruss): Change KSH to BASH.
41668         * elf/sotruss.ksh: Rename to ...
41669         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41670         function style to match POSIX.  Drop ksh vim mode setting.
41672         * manual/time.texi (Specifying the Time Zone with TZ): Change
41673         Tuesday to Thursday.
41675         * debug/tst-longjmp_chk2.c: Update header comment.
41676         (stackoverflow_handler): Add comment.  Call assert on pass value.
41678 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41680         [BZ #16194]
41681         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41682         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41683         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41684         (La_x86_64_vector): Add zmm.
41685         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41686         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41687         ($(objpfx)tst-audit10): New target.
41688         ($(objpfx)tst-audit10.out): Likewise.
41689         (tst-audit10-ENV): New.
41690         (AVX512-CFLAGS): Likewise.
41691         (CFLAGS-tst-audit10.c): Likewise.
41692         (CFLAGS-tst-auditmod10a.c): Likewise.
41693         (CFLAGS-tst-auditmod10b.c): Likewise.
41694         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41695         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41696         * sysdeps/x86_64/configure: Regenerated.
41697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41698         AVX-512 zmm register support.
41699         (_dl_x86_64_save_sse): Likewise.
41700         (_dl_x86_64_restore_sse): Likewise.
41701         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41702         size vector registers.
41703         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41704         (ZMM_SIZE): Likewise.
41705         * sysdeps/x86_64/tst-audit10.c: New file.
41706         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41707         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41709 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41711         * configure.ac (HAVE_EHDR_START): New check.
41712         * configure: Regenerated.
41713         * config.h.in (HAVE_EHDR_START): New #undef.
41714         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41715         assuming the lowest-addressed segment maps the start of the file.
41717 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41719         * INSTALL: Regenerated.
41721 2014-03-13  Will Newton  <will.newton@linaro.org>
41723         * manual/setjmp.texi (System V contexts): Improve
41724         clarity and grammar of documentation.
41726 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41728         [BZ #16381]
41729         * elf/Makefile (tests): Add tst-pie2.
41730         (tests-pie): Add tst-pie2.
41731         * elf/tst-pie2.c: New file.
41732         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41733         for ET_EXEC.
41734         * elf/rtld.c (map_doit): Load executable as lt_executable.
41735         (dl_main): Likewise.
41737 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41739         [BZ #16642]
41740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41741         (__ASSUME_PSELECT): Undefine.
41743 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41745         [BZ #16689]
41746         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41747         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41748         static build.
41749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41750         selector for static builds.
41752 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41754         [BZ #16695]
41755         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41756         key in the buffer.
41758 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41760         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41761         IFUNC selector for static builds.
41763 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41765         * sysdeps/mips/math_private.h [__mips_hard_float]
41766         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41767         libc_feresetround_mips_ctx.
41768         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41769         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41770         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41772         [BZ #16677]
41773         * math/s_nextafter.c (__nextafter): Do not return value from
41774         overflowing computation.
41775         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41776         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41777         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41778         Likewise.
41779         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41780         Likewise.
41781         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41782         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41784 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41786         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41787         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41788         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41789         the new mov targetting sp.
41791 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41793         [BZ #16683]
41794         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41795         Define it for static builds as well.
41796         (NO_BZERO_IMPL): Likewise.
41798 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41800         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41801         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41802         multiarch strspn for PPC64.
41803         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41804         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41806         (__libc_ifunc_impl_list): Likewise.
41807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41808         multiarch optimizations
41809         * string/strspn.c (strspn): Using macro to redefine symbol name.
41811 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41812             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41814         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41815         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41816         multiarch strncat for PPC64.
41817         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41818         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41820         (__libc_ifunc_impl_list): Likewise.
41821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41822         multiarch optimizations
41824 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41826         [BZ #16639]
41827         * nscd/nscd.service: Make service type forking.
41829 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41831         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41832         sign in non default rounding modes.
41833         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41835 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41837         * math/libm-test.inc (ALL_RM_TEST): New macro.
41838         (ceil_test): Use ALL_RM_TEST.
41839         (cimag_test): Likewise.
41840         (conj_test): Likewise.
41841         (copysign_test): Likewise.
41842         (cproj_test): Likewise.
41843         (creal_test): Likewise.
41844         (fabs_test): Likewise.
41845         (floor_test): Likewise.
41846         (fmax_test): Likewise.
41847         (fmin_test): Likewise.
41848         (fmod_test): Likewise.
41849         (fpclassify_test): Likewise.
41850         (frexp_test): Likewise.
41851         (ilogb_test): Likewise.
41852         (isfinite_test): Likewise.
41853         (finite_test): Likewise.
41854         (isgreater_test): Likewise.
41855         (isgreaterequal_test): Likewise.
41856         (isinf_test): Likewise.
41857         (isless_test): Likewise.
41858         (islessequal_test): Likewise.
41859         (islessgreater_test): Likewise.
41860         (isnan_test): Likewise.
41861         (isnormal_test): Likewise.
41862         (issignaling_test): Likewise.
41863         (isunordered_test): Likewise.
41864         (logb_test): Likewise.
41865         (logb_downward_test_data): Remove.
41866         (logb_test_downward): Likewise.
41867         (lround_test): Use ALL_RM_TEST.
41868         (llround_test): Likewise.
41869         (modf_test): Likewise.
41870         (nexttoward_test): Likewise.
41871         (remainder_test): Likewise.
41872         (drem_test): Likewise.
41873         (remainder_tonearest_test_data): Likewise.
41874         (remainder_test_tonearest): Likewise.
41875         (drem_test_tonearest): Likewise.
41876         (remainder_towardzero_test_data): Likewise.
41877         (remainder_test_towardzero): Likewise.
41878         (drem_test_towardzero): Likewise.
41879         (remainder_downward_test_data): Likewise.
41880         (remainder_test_downward): Likewise.
41881         (drem_test_downward): Likewise.
41882         (remainder_upward_test_data): Likewise.
41883         (remainder_test_upward): Likewise.
41884         (drem_test_upward): Likewise.
41885         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41886         (round_test): Use ALL_RM_TEST.
41887         (signbit_test): Likewise.
41888         (trunc_test): Likewise.
41889         (significand_test): Likewise.
41890         (main): Don't call removed functions.
41892 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41894         [BZ #16674]
41895         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41896         || __USE_XOPEN2K8].
41897         (ILL_ILLOPN): Likewise.
41898         (ILL_ILLADR): Likewise.
41899         (ILL_ILLTRP): Likewise.
41900         (ILL_PRVOPC): Likewise.
41901         (ILL_PRVREG): Likewise.
41902         (ILL_COPROC): Likewise.
41903         (ILL_BADSTK): Likewise.
41904         (FPE_INTDIV): Likewise.
41905         (FPE_INTOVF): Likewise.
41906         (FPE_FLTDIV): Likewise.
41907         (FPE_FLTOVF): Likewise.
41908         (FPE_FLTUND): Likewise.
41909         (FPE_FLTRES): Likewise.
41910         (FPE_FLTINV): Likewise.
41911         (FPE_FLTSUB): Likewise.
41912         (SEGV_MAPERR): Likewise.
41913         (SEGV_ACCERR): Likewise.
41914         (BUS_ADRALN): Likewise.
41915         (BUS_ADRERR): Likewise.
41916         (BUS_OBJERR): Likewise.
41917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41918         (TRAP_TRACE): Likewise.
41919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41920         __USE_XOPEN2K8].
41921         (CLD_KILLED): Likewise.
41922         (CLD_DUMPED): Likewise.
41923         (CLD_TRAPPED): Likewise.
41924         (CLD_STOPPED): Likewise.
41925         (CLD_CONTINUED): Likewise.
41926         (POLL_IN): Likewise.
41927         (POLL_OUT): Likewise.
41928         (POLL_MSG): Likewise.
41929         (POLL_ERR): Likewise.
41930         (POLL_PRI): Likewise.
41931         (POLL_HUP): Likewise.
41932         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41933         Likewise.
41934         (ILL_ILLOPN): Likewise.
41935         (ILL_ILLADR): Likewise.
41936         (ILL_ILLTRP): Likewise.
41937         (ILL_PRVOPC): Likewise.
41938         (ILL_PRVREG): Likewise.
41939         (ILL_COPROC): Likewise.
41940         (ILL_BADSTK): Likewise.
41941         (FPE_INTDIV): Likewise.
41942         (FPE_INTOVF): Likewise.
41943         (FPE_FLTDIV): Likewise.
41944         (FPE_FLTOVF): Likewise.
41945         (FPE_FLTUND): Likewise.
41946         (FPE_FLTRES): Likewise.
41947         (FPE_FLTINV): Likewise.
41948         (FPE_FLTSUB): Likewise.
41949         (SEGV_MAPERR): Likewise.
41950         (SEGV_ACCERR): Likewise.
41951         (BUS_ADRALN): Likewise.
41952         (BUS_ADRERR): Likewise.
41953         (BUS_OBJERR): Likewise.
41954         (BUS_MCEERR_AR): Likewise.
41955         (BUS_MCEERR_AO): Likewise.
41956         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41957         (TRAP_TRACE): Likewise.
41958         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41959         __USE_XOPEN2K8].
41960         (CLD_KILLED): Likewise.
41961         (CLD_DUMPED): Likewise.
41962         (CLD_TRAPPED): Likewise.
41963         (CLD_STOPPED): Likewise.
41964         (CLD_CONTINUED): Likewise.
41965         (POLL_IN): Likewise.
41966         (POLL_OUT): Likewise.
41967         (POLL_MSG): Likewise.
41968         (POLL_ERR): Likewise.
41969         (POLL_PRI): Likewise.
41970         (POLL_HUP): Likewise.
41971         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41972         (ILL_ILLOPN): Likewise.
41973         (ILL_ILLADR): Likewise.
41974         (ILL_ILLTRP): Likewise.
41975         (ILL_PRVOPC): Likewise.
41976         (ILL_PRVREG): Likewise.
41977         (ILL_COPROC): Likewise.
41978         (ILL_BADSTK): Likewise.
41979         (FPE_INTDIV): Likewise.
41980         (FPE_INTOVF): Likewise.
41981         (FPE_FLTDIV): Likewise.
41982         (FPE_FLTOVF): Likewise.
41983         (FPE_FLTUND): Likewise.
41984         (FPE_FLTRES): Likewise.
41985         (FPE_FLTINV): Likewise.
41986         (FPE_FLTSUB): Likewise.
41987         (SEGV_MAPERR): Likewise.
41988         (SEGV_ACCERR): Likewise.
41989         (BUS_ADRALN): Likewise.
41990         (BUS_ADRERR): Likewise.
41991         (BUS_OBJERR): Likewise.
41992         (BUS_MCEERR_AR): Likewise.
41993         (BUS_MCEERR_AO): Likewise.
41994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41995         (TRAP_TRACE): Likewise.
41996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41997         __USE_XOPEN2K8].
41998         (CLD_KILLED): Likewise.
41999         (CLD_DUMPED): Likewise.
42000         (CLD_TRAPPED): Likewise.
42001         (CLD_STOPPED): Likewise.
42002         (CLD_CONTINUED): Likewise.
42003         (POLL_IN): Likewise.
42004         (POLL_OUT): Likewise.
42005         (POLL_MSG): Likewise.
42006         (POLL_ERR): Likewise.
42007         (POLL_PRI): Likewise.
42008         (POLL_HUP): Likewise.
42009         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42010         Likewise.
42011         (ILL_ILLOPN): Likewise.
42012         (ILL_ILLADR): Likewise.
42013         (ILL_ILLTRP): Likewise.
42014         (ILL_PRVOPC): Likewise.
42015         (ILL_PRVREG): Likewise.
42016         (ILL_COPROC): Likewise.
42017         (ILL_BADSTK): Likewise.
42018         (ILL_BADIADDR): Likewise.
42019         (ILL_BREAK): Likewise.
42020         (FPE_INTDIV): Likewise.
42021         (FPE_INTOVF): Likewise.
42022         (FPE_FLTDIV): Likewise.
42023         (FPE_FLTOVF): Likewise.
42024         (FPE_FLTUND): Likewise.
42025         (FPE_FLTRES): Likewise.
42026         (FPE_FLTINV): Likewise.
42027         (FPE_FLTSUB): Likewise.
42028         (FPE_DECOVF): Likewise.
42029         (FPE_DECDIV): Likewise.
42030         (FPE_DECERR): Likewise.
42031         (FPE_INVASC): Likewise.
42032         (FPE_INVDEC): Likewise.
42033         (SEGV_MAPERR): Likewise.
42034         (SEGV_ACCERR): Likewise.
42035         (SEGV_PSTKOVF): Likewise.
42036         (BUS_ADRALN): Likewise.
42037         (BUS_ADRERR): Likewise.
42038         (BUS_OBJERR): Likewise.
42039         (BUS_MCEERR_AR): Likewise.
42040         (BUS_MCEERR_AO): Likewise.
42041         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42042         (TRAP_TRACE): Likewise.
42043         (TRAP_BRANCH): Likewise.
42044         (TRAP_HWBKPT): Likewise.
42045         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42046         __USE_XOPEN2K8].
42047         (CLD_KILLED): Likewise.
42048         (CLD_DUMPED): Likewise.
42049         (CLD_TRAPPED): Likewise.
42050         (CLD_STOPPED): Likewise.
42051         (CLD_CONTINUED): Likewise.
42052         (POLL_IN): Likewise.
42053         (POLL_OUT): Likewise.
42054         (POLL_MSG): Likewise.
42055         (POLL_ERR): Likewise.
42056         (POLL_PRI): Likewise.
42057         (POLL_HUP): Likewise.
42058         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42059         (ILL_ILLOPN): Likewise.
42060         (ILL_ILLADR): Likewise.
42061         (ILL_ILLTRP): Likewise.
42062         (ILL_PRVOPC): Likewise.
42063         (ILL_PRVREG): Likewise.
42064         (ILL_COPROC): Likewise.
42065         (ILL_BADSTK): Likewise.
42066         (FPE_INTDIV): Likewise.
42067         (FPE_INTOVF): Likewise.
42068         (FPE_FLTDIV): Likewise.
42069         (FPE_FLTOVF): Likewise.
42070         (FPE_FLTUND): Likewise.
42071         (FPE_FLTRES): Likewise.
42072         (FPE_FLTINV): Likewise.
42073         (FPE_FLTSUB): Likewise.
42074         (SEGV_MAPERR): Likewise.
42075         (SEGV_ACCERR): Likewise.
42076         (BUS_ADRALN): Likewise.
42077         (BUS_ADRERR): Likewise.
42078         (BUS_OBJERR): Likewise.
42079         (BUS_MCEERR_AR): Likewise.
42080         (BUS_MCEERR_AO): Likewise.
42081         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42082         (TRAP_TRACE): Likewise.
42083         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42084         __USE_XOPEN2K8].
42085         (CLD_KILLED): Likewise.
42086         (CLD_DUMPED): Likewise.
42087         (CLD_TRAPPED): Likewise.
42088         (CLD_STOPPED): Likewise.
42089         (CLD_CONTINUED): Likewise.
42090         (POLL_IN): Likewise.
42091         (POLL_OUT): Likewise.
42092         (POLL_MSG): Likewise.
42093         (POLL_ERR): Likewise.
42094         (POLL_PRI): Likewise.
42095         (POLL_HUP): Likewise.
42096         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42097         (ILL_ILLOPN): Likewise.
42098         (ILL_ILLADR): Likewise.
42099         (ILL_ILLTRP): Likewise.
42100         (ILL_PRVOPC): Likewise.
42101         (ILL_PRVREG): Likewise.
42102         (ILL_COPROC): Likewise.
42103         (ILL_BADSTK): Likewise.
42104         (FPE_INTDIV): Likewise.
42105         (FPE_INTOVF): Likewise.
42106         (FPE_FLTDIV): Likewise.
42107         (FPE_FLTOVF): Likewise.
42108         (FPE_FLTUND): Likewise.
42109         (FPE_FLTRES): Likewise.
42110         (FPE_FLTINV): Likewise.
42111         (FPE_FLTSUB): Likewise.
42112         (SEGV_MAPERR): Likewise.
42113         (SEGV_ACCERR): Likewise.
42114         (BUS_ADRALN): Likewise.
42115         (BUS_ADRERR): Likewise.
42116         (BUS_OBJERR): Likewise.
42117         (BUS_MCEERR_AR): Likewise.
42118         (BUS_MCEERR_AO): Likewise.
42119         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42120         (TRAP_TRACE): Likewise.
42121         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42122         __USE_XOPEN2K8].
42123         (CLD_KILLED): Likewise.
42124         (CLD_DUMPED): Likewise.
42125         (CLD_TRAPPED): Likewise.
42126         (CLD_STOPPED): Likewise.
42127         (CLD_CONTINUED): Likewise.
42128         (POLL_IN): Likewise.
42129         (POLL_OUT): Likewise.
42130         (POLL_MSG): Likewise.
42131         (POLL_ERR): Likewise.
42132         (POLL_PRI): Likewise.
42133         (POLL_HUP): Likewise.
42134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42135         (ILL_ILLOPN): Likewise.
42136         (ILL_ILLADR): Likewise.
42137         (ILL_ILLTRP): Likewise.
42138         (ILL_PRVOPC): Likewise.
42139         (ILL_PRVREG): Likewise.
42140         (ILL_COPROC): Likewise.
42141         (ILL_BADSTK): Likewise.
42142         (FPE_INTDIV): Likewise.
42143         (FPE_INTOVF): Likewise.
42144         (FPE_FLTDIV): Likewise.
42145         (FPE_FLTOVF): Likewise.
42146         (FPE_FLTUND): Likewise.
42147         (FPE_FLTRES): Likewise.
42148         (FPE_FLTINV): Likewise.
42149         (FPE_FLTSUB): Likewise.
42150         (SEGV_MAPERR): Likewise.
42151         (SEGV_ACCERR): Likewise.
42152         (BUS_ADRALN): Likewise.
42153         (BUS_ADRERR): Likewise.
42154         (BUS_OBJERR): Likewise.
42155         (BUS_MCEERR_AR): Likewise.
42156         (BUS_MCEERR_AO): Likewise.
42157         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42158         (TRAP_TRACE): Likewise.
42159         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42160         __USE_XOPEN2K8].
42161         (CLD_KILLED): Likewise.
42162         (CLD_DUMPED): Likewise.
42163         (CLD_TRAPPED): Likewise.
42164         (CLD_STOPPED): Likewise.
42165         (CLD_CONTINUED): Likewise.
42166         (POLL_IN): Likewise.
42167         (POLL_OUT): Likewise.
42168         (POLL_MSG): Likewise.
42169         (POLL_ERR): Likewise.
42170         (POLL_PRI): Likewise.
42171         (POLL_HUP): Likewise.
42172         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42173         (ILL_ILLOPN): Likewise.
42174         (ILL_ILLADR): Likewise.
42175         (ILL_ILLTRP): Likewise.
42176         (ILL_PRVOPC): Likewise.
42177         (ILL_PRVREG): Likewise.
42178         (ILL_COPROC): Likewise.
42179         (ILL_BADSTK): Likewise.
42180         (ILL_DBLFLT): Likewise.
42181         (ILL_HARDWALL): Likewise.
42182         (FPE_INTDIV): Likewise.
42183         (FPE_INTOVF): Likewise.
42184         (FPE_FLTDIV): Likewise.
42185         (FPE_FLTOVF): Likewise.
42186         (FPE_FLTUND): Likewise.
42187         (FPE_FLTRES): Likewise.
42188         (FPE_FLTINV): Likewise.
42189         (FPE_FLTSUB): Likewise.
42190         (SEGV_MAPERR): Likewise.
42191         (SEGV_ACCERR): Likewise.
42192         (BUS_ADRALN): Likewise.
42193         (BUS_ADRERR): Likewise.
42194         (BUS_OBJERR): Likewise.
42195         (BUS_MCEERR_AR): Likewise.
42196         (BUS_MCEERR_AO): Likewise.
42197         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42198         (TRAP_TRACE): Likewise.
42199         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42200         __USE_XOPEN2K8].
42201         (CLD_KILLED): Likewise.
42202         (CLD_DUMPED): Likewise.
42203         (CLD_TRAPPED): Likewise.
42204         (CLD_STOPPED): Likewise.
42205         (CLD_CONTINUED): Likewise.
42206         (POLL_IN): Likewise.
42207         (POLL_OUT): Likewise.
42208         (POLL_MSG): Likewise.
42209         (POLL_ERR): Likewise.
42210         (POLL_PRI): Likewise.
42211         (POLL_HUP): Likewise.
42212         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42213         (ILL_ILLOPN): Likewise.
42214         (ILL_ILLADR): Likewise.
42215         (ILL_ILLTRP): Likewise.
42216         (ILL_PRVOPC): Likewise.
42217         (ILL_PRVREG): Likewise.
42218         (ILL_COPROC): Likewise.
42219         (ILL_BADSTK): Likewise.
42220         (FPE_INTDIV): Likewise.
42221         (FPE_INTOVF): Likewise.
42222         (FPE_FLTDIV): Likewise.
42223         (FPE_FLTOVF): Likewise.
42224         (FPE_FLTUND): Likewise.
42225         (FPE_FLTRES): Likewise.
42226         (FPE_FLTINV): Likewise.
42227         (FPE_FLTSUB): Likewise.
42228         (SEGV_MAPERR): Likewise.
42229         (SEGV_ACCERR): Likewise.
42230         (BUS_ADRALN): Likewise.
42231         (BUS_ADRERR): Likewise.
42232         (BUS_OBJERR): Likewise.
42233         (BUS_MCEERR_AR): Likewise.
42234         (BUS_MCEERR_AO): Likewise.
42235         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42236         (TRAP_TRACE): Likewise.
42237         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42238         __USE_XOPEN2K8].
42239         (CLD_KILLED): Likewise.
42240         (CLD_DUMPED): Likewise.
42241         (CLD_TRAPPED): Likewise.
42242         (CLD_STOPPED): Likewise.
42243         (CLD_CONTINUED): Likewise.
42244         (POLL_IN): Likewise.
42245         (POLL_OUT): Likewise.
42246         (POLL_MSG): Likewise.
42247         (POLL_ERR): Likewise.
42248         (POLL_PRI): Likewise.
42249         (POLL_HUP): Likewise.
42250         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42251         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42253         [BZ #16670]
42254         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42255         before #include of <time.h>.
42256         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42257         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42258         (test-xfail-UNIX98/sched.h/conform): Likewise.
42260 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42262         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42263         error absence of trapping exception support.
42264         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42266 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42268         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42269         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42270         * timezone/Makefile (testdata): Move definition above include of
42271         Rules.
42272         (test-zones): New variable.
42273         (tests-special): Add zone files.
42274         (build-testdata): Use $(evaluate-test).
42276         * elf/Makefile (tests-special): Rename tests to end with .out.
42277         ($(objpfx)noload-mem): Likewise.
42278         ($(objpfx)tst-leaks1-mem): Likewise.
42279         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42280         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42281         $(objpfx)test-iconvconfig.out.
42282         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42283         set -e inside subshell and redirect output to file.
42284         * iconvdata/Makefile (generated): Rename tests to end with .out.
42285         Correct type.
42286         (tests-special): Rename tests to end with .out.
42287         ($(objpfx)mtrace-tst-loading): Likewise.
42288         * intl/Makefile (generated): Likewise.
42289         (tests-special): Likewise.
42290         ($(objpfx)mtrace-tst-gettext): Likewise.
42291         * misc/Makefile (generated): Likewise.
42292         (tests-special): Likewise.
42293         ($(objpfx)tst-error1-mem): Likewise.
42294         * nptl/Makefile (tests-special): Likewise.
42295         ($(objpfx)tst-stack3-mem): Likewise.
42296         (generated): Likewise.
42297         * posix/Makefile (generated): Likewise.
42298         (tests-special): Likewise.
42299         (xtests-special): Likewise.
42300         ($(objpfx)tst-fnmatch-mem): Likewise.
42301         ($(objpfx)bug-regex2-mem): Likewise.
42302         ($(objpfx)bug-regex14-mem): Likewise.
42303         ($(objpfx)bug-regex21-mem): Likewise.
42304         ($(objpfx)bug-regex31-mem): Likewise.
42305         ($(objpfx)tst-vfork3-mem): Likewise.
42306         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42307         ($(objpfx)tst-pcre-mem): Likewise.
42308         ($(objpfx)tst-boost-mem): Likewise.
42309         ($(objpfx)bug-ga2-mem): Likewise.
42310         ($(objpfx)bug-glob2-mem): Likewise.
42311         * resolv/Makefile (generate): Likewise.
42312         (tests-special): Likewise.
42313         (xtests-special): Likewise.
42314         (generated): Likewise.
42315         ($(objpfx)mtrace-tst-leaks): Likewise.
42316         ($(objpfx)mtrace-tst-leaks2): Likewise.
42318         * scripts/merge-test-results.sh: New file.
42319         * Makefile (tests-special-notdir): New variable.
42320         (tests): Run merge-test-results.sh.
42321         (xtests): Likewise.
42322         * Rules (tests-special-notdir): New variable.
42323         (xtests-special-notdir): Likewise.
42324         (tests): Run merge-test-results.sh
42325         (xtests): Likewise.
42327         * Makeconfig (test-xfail-name): New variable.
42328         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42329         compute variable name for expected failures.
42330         * conform/Makefile (conformtest-headers-data): New variable.
42331         (conformtest-standards): Likewise.
42332         (conformtest-headers-ISO): Likewise.
42333         (conformtest-headers-ISO99): Likewise.
42334         (conformtest-headers-ISO11): Likewise.
42335         (conformtest-headers-POSIX): Likewise.
42336         (conformtest-headers-XPG3): Likewise.
42337         (conformtest-headers-XPG4): Likewise.
42338         (conformtest-headers-UNIX98): Likewise.
42339         (conformtest-headers-XOPEN2K): Likewise.
42340         (conformtest-headers-POSIX2008): Likewise.
42341         (conformtest-headers-XOPEN2K8): Likewise.
42342         (conformtest-header-list-base): Likewise.
42343         (conformtest-header-list-tests): Likewise.
42344         (conformtest-header-base): Likewise.
42345         (conformtest-header-tests): Likewise.
42346         (tests-special): Add $(conformtest-header-list-tests).  If
42347         [$(fast-check) && !$(cross-compiling)], add
42348         $(conformtest-header-tests) instead of
42349         $(objpfx)run-conformtest.out.
42350         (generated): Add $(conformtest-header-list-base).  If
42351         [$(fast-check) && !$(cross-compiling)], add
42352         $(conformtest-header-base).  Remove previous setting.
42353         ($(conformtest-header-list-tests)): New target.
42354         (test-xfail-run-conformtest): Remove variable.
42355         ($(objpfx)run-conformtest.out): Remove target.
42356         (test-xfail-ISO11/complex.h/conform): New variable.
42357         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42358         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42359         (test-xfail-XPG3/varargs.h/conform): Likewise.
42360         (test-xfail-XPG4/varargs.h/conform): Likewise.
42361         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42362         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42363         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42364         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42365         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42366         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42367         (test-xfail-XPG3/ftw.h/conform): Likewise.
42368         (test-xfail-XPG3/grp.h/conform): Likewise.
42369         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42370         (test-xfail-XPG3/limits.h/conform): Likewise.
42371         (test-xfail-XPG3/pwd.h/conform): Likewise.
42372         (test-xfail-XPG3/search.h/conform): Likewise.
42373         (test-xfail-XPG3/signal.h/conform): Likewise.
42374         (test-xfail-XPG3/stdio.h/conform): Likewise.
42375         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42376         (test-xfail-XPG3/string.h/conform): Likewise.
42377         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42378         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42379         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42380         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42381         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42382         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42383         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42384         (test-xfail-XPG3/termios.h/conform): Likewise.
42385         (test-xfail-XPG3/time.h/conform): Likewise.
42386         (test-xfail-XPG3/unistd.h/conform): Likewise.
42387         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42388         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42389         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42390         (test-xfail-XPG4/netdb.h/conform): Likewise.
42391         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42392         (test-xfail-XPG4/signal.h/conform): Likewise.
42393         (test-xfail-XPG4/stdio.h/conform): Likewise.
42394         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42395         (test-xfail-XPG4/stropts.h/conform): Likewise.
42396         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42397         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42398         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42399         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42400         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42401         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42402         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42403         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42404         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42405         (test-xfail-XPG4/termios.h/conform): Likewise.
42406         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42407         (test-xfail-XPG4/unistd.h/conform): Likewise.
42408         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42409         (test-xfail-POSIX/sched.h/conform): Likewise.
42410         (test-xfail-POSIX/signal.h/conform): Likewise.
42411         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42412         (test-xfail-POSIX/tar.h/conform): Likewise.
42413         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42414         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42415         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42416         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42417         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42418         (test-xfail-UNIX98/sched.h/conform): Likewise.
42419         (test-xfail-UNIX98/signal.h/conform): Likewise.
42420         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42421         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42422         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42423         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42424         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42425         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42426         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42427         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42428         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42429         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42430         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42431         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42432         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42433         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42434         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42435         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42436         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42437         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42438         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42439         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42440         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42441         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42442         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42443         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42444         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42445         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42446         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42447         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42448         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42449         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42450         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42451         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42452         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42453         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42454         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42455         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42456         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42457         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42458         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42459         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42460         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42461         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42462         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42463         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42464         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42465         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42466         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42467         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42468         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42469         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42470         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42471         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42472         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42473         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42474         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42475         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42476         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42477         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42478         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42479         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42480         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42481         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42482         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42483         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42484         (conformtest-cc-flags): Likewise.
42485         ($(conformtest-header-tests): New target.
42486         * conform/check-header-lists.sh: New file.
42487         * conform/run-conformtest.sh: Remove.
42489         * conform/conformtest.pl: Allow ' and \ in values given for
42490         constants.
42491         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42492         inclusion.
42493         [POSIX] (sys/types.h): Likewise.
42494         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42495         inclusion.
42496         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42497         inclusion.
42498         * conform/data/signal.h-data (SIGIO): Remove expectation.
42499         [XPG3] (SIGBUS): Do not expect.
42500         [POSIX || XPG3] (SIGPOLL): Likewise.
42501         [POSIX || XPG3] (SIGPROF): Likewise.
42502         [POSIX || XPG3] (SIGSYS): Likewise.
42503         [XPG3] (SIGTRAP): Likewise.
42504         [POSIX || XPG3] (SIGURG): Likewise.
42505         [POSIX || XPG3] (SIGVTALRM): Likewise.
42506         [POSIX || XPG3] (SIGXCPU): Likewise.
42507         [POSIX || XPG3] (SIGXFSZ): Likewise.
42508         [POSIX] (SA_SIGINFO): Expect.
42509         [XPG3] (siginfo_t): Do not expect type or contents.
42510         [POSIX] (si_pid): Do not expect element.
42511         [POSIX] (si_uid): Likewise.
42512         [POSIX] (si_addr): Likewise.
42513         [POSIX] (si_status): Likewise.
42514         [POSIX] (si_band): Likewise.
42515         [XPG4] (si_value): Likewise.
42516         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42517         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42518         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42519         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42520         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42521         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42522         [POSIX || XPG3] (ILL_COPROC): Likewise.
42523         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42524         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42525         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42526         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42527         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42528         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42529         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42530         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42531         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42532         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42533         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42534         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42535         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42536         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42537         [POSIX || XPG3] (CLD_EXITED): Likewise.
42538         [POSIX || XPG3] (CLD_KILLED): Likewise.
42539         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42540         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42541         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42542         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42543         [POSIX || XPG3] (POLL_IN): Likewise.
42544         [POSIX || XPG3] (POLL_OUT): Likewise.
42545         [POSIX || XPG3] (POLL_MSG): Likewise.
42546         [POSIX || XPG3] (POLL_ERR): Likewise.
42547         [POSIX || XPG3] (POLL_PRI): Likewise.
42548         [POSIX || XPG3] (POLL_HUP): Likewise.
42549         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42550         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42551         (SIG*): Do not allow.
42552         [XPG3] (si_*): Likewise.
42553         [XPG3] (SI_*): Likewise.
42554         [XPG3 || XPG4] (sigev_*): Likewise.
42555         [XPG3 || XPG4] (SIGEV_*): Likewise.
42556         [XPG3 || XPG4] (sival_*): Likewise.
42557         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42558         [POSIX || XPG3] (BUS_*): Likewise.
42559         [POSIX || XPG3] (CLD_*): Likewise.
42560         [POSIX || XPG3] (FPE_*): Likewise.
42561         [POSIX || XPG3] (ILL_*): Likewise.
42562         [POSIX || XPG3] (POLL_*): Likewise.
42563         [POSIX || XPG3] (SEGV_*): Likewise.
42564         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42565         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42566         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42567         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42568         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42569         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42570         Specify type and value.
42571         (TVERSLEN): Likewise.
42572         (REGTYPE): Likewise.
42573         (AREGTYPE): Likewise.
42574         (LNKTYPE): Likewise.
42575         (SYMTYPE): Likewise.
42576         (CHRTYPE): Likewise.
42577         (BLKTYPE): Likewise.
42578         (DIRTYPE): Likewise.
42579         (FIFOTYPE): Likewise.
42580         (CONTTYPE): Likewise.
42581         (TSUID): Likewise.
42582         (TSGID): Likewise.
42583         (TSVTX): Likewise.
42584         (TUREAD): Likewise.
42585         (TUWRITE): Likewise.
42586         (TUEXEC): Likewise.
42587         (TGREAD): Likewise.
42588         (TGWRITE): Likewise.
42589         (TGEXEC): Likewise.
42590         (TOREAD): Likewise.
42591         (TOWRITE): Likewise.
42592         (TOEXEC): Likewise.
42593         [POSIX] (TSVTX): Expect constant.
42595 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42597         * Makefile (tests): Change dependencies to ....
42598         (tests-special): ... additions to this variable.
42599         (tests): Depend on $(tests-special).
42600         * Makerules (check-abi-list): New variable.
42601         (check-abi): Depend on $(check-abi-list).
42602         [$(subdir) = elf] (tests-special): Add
42603         $(objpfx)check-abi-libc.out.
42604         [$(build-shared) = yes && subdir] (tests-special): Add
42605         $(check-abi-list).
42606         [$(build-shared) = yes && subdir] (tests): Do not depend on
42607         check-abi.
42608         * Rules (tests): Depend on $(tests-special).
42609         (xtests): Depend on $(xtests-special).
42610         * catgets/Makefile (tests): Change dependencies to ....
42611         (tests-special): ... additions to this variable.
42612         * conform/Makefile (tests): Change dependencies to ....
42613         (tests-special): ... additions to this variable.
42614         * elf/Makefile (tests): Change dependencies to ....
42615         (tests-special): ... additions to this variable.
42616         * grp/Makefile (tests): Change dependencies to ....
42617         (tests-special): ... additions to this variable.
42618         * iconv/Makefile (xtests): Change dependencies to ....
42619         (xtests-special): ... additions to this variable.
42620         * iconvdata/Makefile (tests): Change dependencies to ....
42621         (tests-special): ... additions to this variable.
42622         * intl/Makefile (tests): Change dependencies to ....
42623         (tests-special): ... additions to this variable.  Also add
42624         $(objpfx)tst-gettext.out.
42625         * io/Makefile (tests): Change dependencies to ....
42626         (tests-special): ... additions to this variable.
42627         * libio/Makefile (tests): Change dependencies to ....
42628         (tests-special): ... additions to this variable.
42629         * malloc/Makefile (tests): Change dependencies to ....
42630         (tests-special): ... additions to this variable.
42631         * misc/Makefile (tests): Change dependencies to ....
42632         (tests-special): ... additions to this variable.
42633         * nptl/Makefile (tests): Change dependencies to ....
42634         (tests-special): ... additions to this variable.
42635         * nptl_db/Makefile (tests): Change dependencies to ....
42636         (tests-special): ... additions to this variable.
42637         * posix/Makefile (tests): Change dependencies to ....
42638         (tests-special): ... additions to this variable.
42639         (xtests): Change dependencies to ....
42640         (xtests-special): ... additions to this variable.
42641         * resolv/Makefile (tests): Change dependencies to ....
42642         (tests-special): ... additions to this variable.
42643         (xtests): Change dependencies to ....
42644         (xtests-special): ... additions to this variable.
42645         * stdio-common/Makefile (tests): Change dependencies to ....
42646         (tests-special): ... additions to this variable.
42647         (do-tst-unbputc): Remove target.
42648         (do-tst-printf): Likewise.
42649         * stdlib/Makefile (tests): Change dependencies to ....
42650         (tests-special): ... additions to this variable.
42651         * string/Makefile (tests): Change dependencies to ....
42652         (tests-special): ... additions to this variable.
42653         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42654         (tests-special): ... additions to this variable.
42656         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42657         whole file.
42658         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42659         whole file.
42660         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42661         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42663         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42664         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42665         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42666         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42667         * conform/data/libgen.h-data [XPG3]: Likewise.
42668         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42669         * conform/data/ndbm.h-data [XPG3]: Likewise.
42670         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42671         * conform/data/netdb.h-data [XPG3]: Likewise.
42672         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42673         * conform/data/poll.h-data [XPG3]: Likewise.
42674         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42675         * conform/data/strings.h-data [XPG3]: Likewise.
42676         * conform/data/stropts.h-data [XPG3]: Likewise.
42677         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42678         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42679         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42680         Likewise.
42681         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42682         * conform/data/sys/time.h-data [XPG3]: Likewise.
42683         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42684         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42685         * conform/data/sys/un.h-data [XPG3]: Likewise.
42686         * conform/data/syslog.h-data [XPG3]: Likewise.
42687         * conform/data/ucontext.h-data [XPG3]: Likewise.
42688         * conform/data/utmpx.h-data [XPG3]: Likewise.
42689         * conform/data/varargs.h-data [UNIX98]: Enable file.
42691         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42693         * math/libm-test.inc (struct test_f_f_data): Move expected results
42694         into structure for each rounding mode.
42695         (struct test_ff_f_data): Likewise.
42696         (struct test_ff_f_data_nexttoward): Likewise.
42697         (struct test_fi_f_data): Likewise.
42698         (struct test_fl_f_data): Likewise.
42699         (struct test_if_f_data): Likewise.
42700         (struct test_fff_f_data): Likewise.
42701         (struct test_c_f_data): Likewise.
42702         (struct test_f_f1_data): Likewise.
42703         (struct test_fF_f1_data): Likewise.
42704         (struct test_ffI_f1_data): Likewise.
42705         (struct test_c_c_data): Likewise.
42706         (struct test_cc_c_data): Likewise.
42707         (struct test_f_i_data): Likewise.
42708         (struct test_ff_i_data): Likewise.
42709         (struct test_f_l_data): Likewise.
42710         (struct test_f_L_data): Likewise.
42711         (struct test_fFF_11_data): Likewise.
42712         (RM_): New macro.
42713         (RM_FE_DOWNWARD): Likewise.
42714         (RM_FE_TONEAREST): Likewise.
42715         (RM_FE_TOWARDZERO): Likewise.
42716         (RM_FE_UPWARD): Likewise.
42717         (RUN_TEST_LOOP_f_f): Update references to expected results.
42718         (RUN_TEST_LOOP_2_f): Likewise.
42719         (RUN_TEST_LOOP_fff_f): Likewise.
42720         (RUN_TEST_LOOP_c_f): Likewise.
42721         (RUN_TEST_LOOP_f_f1): Likewise.
42722         (RUN_TEST_LOOP_fF_f1): Likewise.
42723         (RUN_TEST_LOOP_fI_f1): Likewise.
42724         (RUN_TEST_LOOP_ffI_f1): Likewise.
42725         (RUN_TEST_LOOP_c_c): Likewise.
42726         (RUN_TEST_LOOP_cc_c): Likewise.
42727         (RUN_TEST_LOOP_f_i): Likewise.
42728         (RUN_TEST_LOOP_f_i_tg): Likewise.
42729         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42730         (RUN_TEST_LOOP_f_b): Likewise.
42731         (RUN_TEST_LOOP_f_b_tg): Likewise.
42732         (RUN_TEST_LOOP_f_l): Likewise.
42733         (RUN_TEST_LOOP_f_L): Likewise.
42734         (RUN_TEST_LOOP_fFF_11): Likewise.
42735         * math/gen-libm-test.pl (parse_args): Output four copies of
42736         expected results for each test.
42738         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42739         (__ASSUME_UTIMES): Remove.
42740         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42741         (__ASSUME_UTIMES): Likewise.
42743         * math/gen-auto-libm-tests.c: Update comment on output format.
42744         (output_for_one_input_case): Generate before-rounding and
42745         after-rounding information as conditions on output flags not
42746         floating-point format.
42747         * math/auto-libm-test-out: Regenerated.
42748         * math/gen-libm-test.pl (cond_value): New function.
42749         (or_cond_value): Use cond_value.
42750         (generate_testfile): Handle conditional exceptions.
42752 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42754         * math/libm-test.inc (max_valid_error): New variable.
42755         (init_max_error): Take new argument specifying whether function
42756         results are exactly determined.  Set max_valid_error and bound
42757         other variables for errors based on this argument.
42758         (set_max_error): Do not record results above max_valid_error.
42759         (check_float_internal): Only accept errors of up to 0.5ulps if
42760         also at most max_valid_error.
42761         (START): Take new argument EXACT and pass it to init_max_error.
42762         (acos_test): Update call to START.
42763         (acos_test_tonearest): Likewise.
42764         (acos_test_towardzero): Likewise.
42765         (acos_test_downward): Likewise.
42766         (acos_test_upward): Likewise.
42767         (acosh_test): Likewise.
42768         (asin_test): Likewise.
42769         (asin_test_tonearest): Likewise.
42770         (asin_test_towardzero): Likewise.
42771         (asin_test_downward): Likewise.
42772         (asin_test_upward): Likewise.
42773         (asinh_test): Likewise.
42774         (atan_test): Likewise.
42775         (atanh_test): Likewise.
42776         (atan2_test): Likewise.
42777         (cabs_test): Likewise.
42778         (cacos_test): Likewise.
42779         (cacosh_test): Likewise.
42780         (carg_test): Likewise.
42781         (casin_test): Likewise.
42782         (casinh_test): Likewise.
42783         (catan_test): Likewise.
42784         (catanh_test): Likewise.
42785         (cbrt_test): Likewise.
42786         (ccos_test): Likewise.
42787         (ccosh_test): Likewise.
42788         (ceil_test): Likewise.
42789         (cexp_test): Likewise.
42790         (cimag_test): Likewise.
42791         (clog_test): Likewise.
42792         (clog10_test): Likewise.
42793         (conj_test): Likewise.
42794         (copysign_test): Likewise.
42795         (cos_test): Likewise.
42796         (cos_test_tonearest): Likewise.
42797         (cos_test_towardzero): Likewise.
42798         (cos_test_downward): Likewise.
42799         (cos_test_upward): Likewise.
42800         (cosh_test): Likewise.
42801         (cosh_test_tonearest): Likewise.
42802         (cosh_test_towardzero): Likewise.
42803         (cosh_test_downward): Likewise.
42804         (cosh_test_upward): Likewise.
42805         (cpow_test): Likewise.
42806         (cproj_test): Likewise.
42807         (creal_test): Likewise.
42808         (csin_test): Likewise.
42809         (csinh_test): Likewise.
42810         (csqrt_test): Likewise.
42811         (ctan_test): Likewise.
42812         (ctan_test_tonearest): Likewise.
42813         (ctan_test_towardzero): Likewise.
42814         (ctan_test_downward): Likewise.
42815         (ctan_test_upward): Likewise.
42816         (ctanh_test): Likewise.
42817         (ctanh_test_tonearest): Likewise.
42818         (ctanh_test_towardzero): Likewise.
42819         (ctanh_test_downward): Likewise.
42820         (ctanh_test_upward): Likewise.
42821         (erf_test): Likewise.
42822         (erfc_test): Likewise.
42823         (exp_test): Likewise.
42824         (exp_test_tonearest): Likewise.
42825         (exp_test_towardzero): Likewise.
42826         (exp_test_downward): Likewise.
42827         (exp_test_upward): Likewise.
42828         (exp10_test): Likewise.
42829         (exp10_test_tonearest): Likewise.
42830         (exp10_test_towardzero): Likewise.
42831         (exp10_test_downward): Likewise.
42832         (exp10_test_upward): Likewise.
42833         (pow10_test): Likewise.
42834         (exp2_test): Likewise.
42835         (expm1_test): Likewise.
42836         (expm1_test_tonearest): Likewise.
42837         (expm1_test_towardzero): Likewise.
42838         (expm1_test_downward): Likewise.
42839         (expm1_test_upward): Likewise.
42840         (fabs_test): Likewise.
42841         (fdim_test): Likewise.
42842         (floor_test): Likewise.
42843         (fma_test): Likewise.
42844         (fma_test_towardzero): Likewise.
42845         (fma_test_downward): Likewise.
42846         (fma_test_upward): Likewise.
42847         (fmax_test): Likewise.
42848         (fmin_test): Likewise.
42849         (fmod_test): Likewise.
42850         (fpclassify_test): Likewise.
42851         (frexp_test): Likewise.
42852         (hypot_test): Likewise.
42853         (ilogb_test): Likewise.
42854         (isfinite_test): Likewise.
42855         (finite_test): Likewise.
42856         (isgreater_test): Likewise.
42857         (isgreaterequal_test): Likewise.
42858         (isinf_test): Likewise.
42859         (isless_test): Likewise.
42860         (islessequal_test): Likewise.
42861         (islessgreater_test): Likewise.
42862         (isnan_test): Likewise.
42863         (isnormal_test): Likewise.
42864         (issignaling_test): Likewise.
42865         (isunordered_test): Likewise.
42866         (j0_test): Likewise.
42867         (j1_test): Likewise.
42868         (jn_test): Likewise.
42869         (ldexp_test): Likewise.
42870         (lgamma_test): Likewise.
42871         (gamma_test): Likewise.
42872         (lrint_test): Likewise.
42873         (lrint_test_tonearest): Likewise.
42874         (lrint_test_towardzero): Likewise.
42875         (lrint_test_downward): Likewise.
42876         (lrint_test_upward): Likewise.
42877         (llrint_test): Likewise.
42878         (llrint_test_tonearest): Likewise.
42879         (llrint_test_towardzero): Likewise.
42880         (llrint_test_downward): Likewise.
42881         (llrint_test_upward): Likewise.
42882         (log_test): Likewise.
42883         (log10_test): Likewise.
42884         (log1p_test): Likewise.
42885         (log2_test): Likewise.
42886         (logb_test): Likewise.
42887         (logb_test_downward): Likewise.
42888         (lround_test): Likewise.
42889         (llround_test): Likewise.
42890         (modf_test): Likewise.
42891         (nearbyint_test): Likewise.
42892         (nextafter_test): Likewise.
42893         (nexttoward_test): Likewise.
42894         (pow_test): Likewise.
42895         (pow_test_tonearest): Likewise.
42896         (pow_test_towardzero): Likewise.
42897         (pow_test_downward): Likewise.
42898         (pow_test_upward): Likewise.
42899         (remainder_test): Likewise.
42900         (drem_test): Likewise.
42901         (remainder_test_tonearest): Likewise.
42902         (drem_test_tonearest): Likewise.
42903         (remainder_test_towardzero): Likewise.
42904         (drem_test_towardzero): Likewise.
42905         (remainder_test_downward): Likewise.
42906         (drem_test_downward): Likewise.
42907         (remainder_test_upward): Likewise.
42908         (drem_test_upward): Likewise.
42909         (remquo_test): Likewise.
42910         (rint_test): Likewise.
42911         (rint_test_tonearest): Likewise.
42912         (rint_test_towardzero): Likewise.
42913         (rint_test_downward): Likewise.
42914         (rint_test_upward): Likewise.
42915         (round_test): Likewise.
42916         (scalb_test): Likewise.
42917         (scalbn_test): Likewise.
42918         (scalbln_test): Likewise.
42919         (signbit_test): Likewise.
42920         (sin_test): Likewise.
42921         (sin_test_tonearest): Likewise.
42922         (sin_test_towardzero): Likewise.
42923         (sin_test_downward): Likewise.
42924         (sin_test_upward): Likewise.
42925         (sincos_test): Likewise.
42926         (sinh_test): Likewise.
42927         (sinh_test_tonearest): Likewise.
42928         (sinh_test_towardzero): Likewise.
42929         (sinh_test_downward): Likewise.
42930         (sinh_test_upward): Likewise.
42931         (sqrt_test): Likewise.
42932         (sqrt_test_tonearest): Likewise.
42933         (sqrt_test_towardzero): Likewise.
42934         (sqrt_test_downward): Likewise.
42935         (sqrt_test_upward): Likewise.
42936         (tan_test): Likewise.
42937         (tan_test_tonearest): Likewise.
42938         (tan_test_towardzero): Likewise.
42939         (tan_test_downward): Likewise.
42940         (tan_test_upward): Likewise.
42941         (tanh_test): Likewise.
42942         (tgamma_test): Likewise.
42943         (trunc_test): Likewise.
42944         (y0_test): Likewise.
42945         (y1_test): Likewise.
42946         (yn_test): Likewise.
42947         (significand_test): Likewise.
42949         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42950         individual tests in comment.
42951         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42952         (prev_max_error): New variable.
42953         (prev_real_max_error): Likewise.
42954         (prev_imag_max_error): Likewise.
42955         (compare_ulp_data): Don't refer to test names in comment.
42956         (find_test_ulps): Remove function.
42957         (find_function_ulps): Likewise.
42958         (find_complex_function_ulps): Likewise.
42959         (init_max_error): Take function name as argument.  Look up ulps
42960         for that function.
42961         (print_ulps): Remove function.
42962         (print_max_error): Use prev_max_error instead of calling
42963         find_function_ulps.
42964         (print_complex_max_error): Use prev_real_max_error and
42965         prev_imag_max_error instead of calling find_complex_function_ulps.
42966         (check_float_internal): Take max_ulp parameter instead of calling
42967         find_test_ulps.  Don't call print_ulps.
42968         (check_float): Update call to check_float_internal.
42969         (check_complex): Update calls to check_float_internal.
42970         (START): Pass argument to init_max_error.
42971         * math/gen-libm-test.pl (%results): Don't include "kind"
42972         information.
42973         (parse_ulps): Don't handle ulps of individual tests.
42974         (print_ulps_file): Likewise.
42975         (output_ulps): Likewise.
42976         * math/README.libm-test: Update.
42977         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42978         individual tests.
42979         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42980         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42981         * sysdeps/arm/libm-test-ulps: Likewise.
42982         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42983         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42984         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42985         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42986         * sysdeps/microblaze/libm-test-ulps: Likewise.
42987         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42988         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42989         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42990         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42991         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42992         * sysdeps/sh/libm-test-ulps: Likewise.
42993         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42994         * sysdeps/tile/libm-test-ulps: Likewise.
42995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42997 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42999         * math/libm-test.inc (print_complex_max_error): Check separately
43000         whether real and imaginary errors are within allowed range and
43001         pass 0 to print_complex_function_ulps instead of value within
43002         allowed range.
43004 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43006         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43007         formatting.
43008         (get_handles_fopen): Likewise.
43009         (do_write_test): Likewise.
43011         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43013         * libio/fileops.c (do_ftell): Use cached offset when
43014         available.
43015         * libio/iofwide.c (do_ftell_wide): Likewise.
43016         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43017         _IO_file_attach.
43018         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43020         [BZ #16532]
43021         * libio/libioP.h (get_file_offset): New function.
43022         * libio/fileops.c (get_file_offset): Likewise.
43023         (do_ftell): Likewise.
43024         (_IO_new_file_seekoff): Split out ftell logic.
43025         * libio/wfileops.c (do_ftell_wide): Likewise.
43026         (_IO_wfile_seekoff): Split out ftell logic.
43027         * libio/tst-ftell-active-handler.c: New test case.
43028         * libio/Makefile (tests): Add it.
43030 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43032         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43033         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43035 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43037         [BZ #16639]
43038         * nscd/connections.c (nscd_init): Call do_exit.
43039         (start_threads): Call do_exit and notify_parent.
43040         (begin_drop_privileges): Call do_exit.
43041         (finish_drop_privileges): Likewise.
43042         * nscd/selinux.c (preserve_capabilities): Likewise.
43043         (install_real_capabilities): Likewise.
43044         (nscd_selinux_enabled): Likewise.
43045         (avc_create_thread): Likewise.
43046         (avc_alloc_lock): Likewise.
43047         (nscd_avc_init): Likewise.
43048         * nscd/nscd.c (parent_fd): New static variable.
43049         (main): Create a pipe between parent and child processes.
43050         Skip closing parent_fd.
43051         (monitor_child): New function.
43052         (do_exit): Likewise.
43053         (notify_parent): Likewise.
43054         * nscd/nscd.h (notify_parent): Likewise.
43055         (do_exit): Likewise.
43057 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43059         * malloc/malloc.c (__libc_calloc): Revert last change.
43061 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43065 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43067         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43069         implementation.
43070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43071         (__libc_ifunc_impl_list): Likewise.
43072         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43073         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43074         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43075         * string/strrchr.c: Define STRRCHR.
43077 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43079         * benchtest/bench-strtok.c (simple_strtok): Delete.
43080         (strtok_string): Use as benchmark.
43081         * string/strtok (STRTOK): New macro.
43083 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43085         * manual/threads.texi: Add header and standard comments to all
43086         functions.
43088         * elf/dl-lookup.c (check_match): New function.
43089         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43090         (do_lookup_x): Remove nested function check_match. Use non-nested
43091         function check_match.
43093 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43095         * csu/Makefile (generated, before-compile): Use += rather than =.
43096         * catgets/Makefile (generated, generated-dirs): Likewise.
43097         * debug/Makefile (generated): Likewise.
43098         * dlfcn/Makefile (generated): Likewise.
43099         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43100         * iconvdata/Makefile (before-compile, generated): Likewise.
43101         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43102         * libio/Makefile (generated): Likewise.
43103         * malloc/Makefile (generated): Likewise.
43104         * manual/Makefile (generated, generated-dirs): Likewise.
43105         * misc/Makefile (generated): Likewise.
43106         * posix/Makefile (generated): Likewise.
43107         * resolv/Makefile (generated): Likewise.
43108         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43109         * timezone/Makefile (generated, generated-dirs): Likewise.
43111         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43113 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43116         power8 implementation.
43117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43118         file: POWER8 llround ifunc implementation.
43119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43120         (__lllround): Add POWER8 implementation.
43121         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43122         POWER8 llround implementation.
43124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43125         power8 implementation.
43126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43127         file: POWER8 llrint ifunc implementation.
43128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43129         Add POWER8 implementation.
43130         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43131         POWER8 llrint implementation.
43133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43134         power8 implementation.
43135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43136         file: POWER8 finite ifunc implementation.
43137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43138         Add POWER8 implementation.
43139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43140         Likewise.
43141         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43142         POWER8 finite implementation.
43143         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43146         power8 implementation.
43147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43148         file: POWER8 isinf ifunc implementation.
43149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43150         POWER8 implementation.
43151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43152         Likewise.
43153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43154         isinf implementation.
43155         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43157         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43158         (INIT_ARCH): Add hwcap2 initialization.
43159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43160         power8 implementation.
43161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43162         file: POWER8 isnan ifunc implementation.
43163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43164         POWER8 implementation.
43165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43166         Likewise.
43167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43168         isnan implementation.
43169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43171 2014-02-27  Joey Ye  <joey.ye@arm.com>
43173         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43174         (_FP_NANFRAC_Q): Set to zero.
43176 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43178         [BZ #16623]
43179         * math/auto-libm-test-in: New test inputs.
43180         * math/auto-libm-test-out: Regenerate.
43181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43182         and DA.
43183         (__cos): Likewise.
43184         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43186 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43188         * scripts/evaluate-test.sh: Take new argument indicating whether
43189         failure is expected.
43190         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43191         indicating whether failure is expected.
43192         * conform/Makefile (test-xfail-run-conformtest): New variable.
43193         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43194         level.
43195         * posix/Makefile (test-xfail-annexc): New variable.
43196         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43198 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43200         * argp/Makefile: Include Makeconfig immediately after defining
43201         subdir.
43202         * assert/Makefile: Likewise.
43203         * benchtests/Makefile: Likewise.
43204         * catgets/Makefile: Likewise.
43205         * conform/Makefile: Likewise.
43206         * crypt/Makefile: Likewise.
43207         * csu/Makefile: Likewise.
43208         (all): Remove target.
43209         * ctype/Makefile: Include Makeconfig immediately after defining
43210         subdir.
43211         * debug/Makefile: Likewise.
43212         * dirent/Makefile: Likewise.
43213         * dlfcn/Makefile: Likewise.
43214         * gmon/Makefile: Likewise.
43215         * gnulib/Makefile: Likewise.
43216         * grp/Makefile: Likewise.
43217         * gshadow/Makefile: Likewise.
43218         * hesiod/Makefile: Likewise.
43219         * hurd/Makefile: Likewise.
43220         (all): Remove target.
43221         * iconvdata/Makefile: Include Makeconfig immediately after
43222         defining subdir.
43223         * inet/Makefile: Likewise.
43224         * intl/Makefile: Likewise.
43225         * io/Makefile: Likewise.
43226         * libio/Makefile: Likewise.
43227         (all): Remove target.
43228         * locale/Makefile: Include Makeconfig immediately after defining
43229         subdir.
43230         * login/Makefile: Likewise.
43231         * mach/Makefile: Likewise.
43232         (all): Remove target.
43233         * malloc/Makefile: Include Makeconfig immediately after defining
43234         subdir.
43235         (all): Remove target.
43236         * manual/Makefile: Include Makeconfig immediately after defining
43237         subdir.
43238         * math/Makefile: Likewise.
43239         * misc/Makefile: Likewise.
43240         * nis/Makefile: Likewise.
43241         * nss/Makefile: Likewise.
43242         * po/Makefile: Likewise.
43243         (all): Remove target.
43244         * posix/Makefile: Include Makeconfig immediately after defining
43245         subdir.
43246         * pwd/Makefile: Likewise.
43247         * resolv/Makefile: Likewise.
43248         * resource/Makefile: Likewise.
43249         * rt/Makefile: Likewise.
43250         * setjmp/Makefile: Likewise.
43251         * shadow/Makefile: Likewise.
43252         * signal/Makefile: Likewise.
43253         * socket/Makefile: Likewise.
43254         * soft-fp/Makefile: Likewise.
43255         * stdio-common/Makefile: Likewise.
43256         * stdlib/Makefile: Likewise.
43257         * streams/Makefile: Likewise.
43258         * string/Makefile: Likewise.
43259         * sunrpc/Makefile: Likewise.
43260         (all): Remove target.
43261         * sysvipc/Makefile: Include Makeconfig immediately after defining
43262         subdir.
43263         * termios/Makefile: Likewise.
43264         * time/Makefile: Likewise.
43265         * timezone/Makefile: Likewise.
43266         (all): Remove target.
43267         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43268         subdir.
43269         * wctype/Makefile: Likewise.
43271 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43273         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43274         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43275         (libc_feholdexcept_setround_mips): Ditto.
43276         (libc_feholdsetround): New.
43277         (libc_feholdsetroundf): New.
43278         (libc_feholdsetroundl): New.
43279         (libc_feupdateenv_test_mips): New.
43280         (libc_feupdateenv_test): New.
43281         (libc_feupdateenv_testf): New.
43282         (libc_feupdateenv_testl): New.
43283         (libc_feresetround): New.
43284         (libc_feresetroundf): New.
43285         (libc_feresetroundl): New.
43286         (libc_fetestexcept_mips): New.
43287         (libc_fetestexcept): New.
43288         (libc_fetestexceptf): New.
43289         (libc_fetestexceptl): New.
43290         (HAVE_RM_CTX): New.
43291         (libc_feholdexcept_setround_mips_ctx): New.
43292         (libc_feholdexcept_setround_ctx): New.
43293         (libc_feholdexcept_setroundf_ctx): New.
43294         (libc_feholdexcept_setroundl_ctx): New.
43295         (libc_fesetenv_mips_ctx): New.
43296         (libc_fesetenv_ctx): New.
43297         (libc_fesetenv_ctxf): New.
43298         (libc_fesetenv_ctxl): New.
43299         (libc_feupdateenv_mips_ctx): New.
43300         (libc_feupdateenv_ctx): New.
43301         (libc_feupdateenvf_ctx): New.
43302         (libc_feupdateenvl_ctx): New.
43303         (libc_feholdsetround_mips_ctx): New.
43304         (libc_feholdsetround_ctx): New.
43305         (libc_feholdsetroundf_ctx): New.
43306         (libc_feholdsetroundl_ctx): New.
43307         (libc_feresetround_mips_ctx): New.
43308         (libc_feresetround_ctx): New.
43309         (libc_feresetroundf_ctx): New.
43310         (libc_feresetroundl_ctx): New.
43312 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43314         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43316         * manual/ipc.texi: New file.
43317         * manual/Makefile (chapters): Add ipc.
43318         * manual/job.texi: Add "Inter-Process Communication" to next.
43319         * manual/process.texi: Add "Inter-Process Communication" to prev.
43321 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43325 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43327         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43329         * manual/arith.texi: Fix spaces after sentences.
43330         * manual/charset.texi: Likewise.
43331         * manual/errno.texi: Likewise.
43332         * manual/install.texi: Likewise.
43333         * manual/llio.texi: Likewise.
43334         * manual/locale.texi: Likewise.
43335         * manual/maint.texi: Likewise.
43336         * manual/math.texi: Likewise.
43337         * manual/memory.texi: Likewise.
43338         * manual/message.texi: Likewise.
43339         * manual/probes.texi: Likewise.
43340         * manual/resource.texi: Likewise.
43341         * manual/signal.texi: Likewise.
43342         * manual/socket.texi: Likewise.
43343         * manual/stdio.texi: Likewise.
43344         * manual/string.texi: Likewise.
43345         * manual/time.texi: Likewise.
43346         * manual/users.texi: Likewise.
43348 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43350         [BZ #16632]
43351         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43352         _DEFAULT_SOURCE is defined.
43354 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43355             Carlos O'Donell  <carlos@redhat.com>
43357         [BZ #16613]
43358         * elf/dl-tls.c (_dl_count_modids): New function.
43359         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43360         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43361         audit library and increment generation counter.
43362         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43363         * elf/tst-audit9.c: New file.
43364         * elf/tst-auditmod9a.c: New file.
43365         * elf/tst-auditmod9b.c: New file.
43366         * elf/Makefile: Add rules to build and run tst-audit9.
43368 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43370         [BZ #15347]
43371         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43373 2014-02-25  Will Newton  <will.newton@linaro.org>
43375         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43376         (__longjmp): Restore sp and lr before restoring callee
43377         saved registers.  Add longjmp and longjmp_target
43378         SystemTap probe point.
43379         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43380         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43381         Define to zero to match jmpbuf layout.
43382         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43383         (__sigsetjmp): Save sp and lr before saving callee
43384         saved registers.  Add setjmp SystemTap probe point.
43386 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43388         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43390 2014-02-24  Andreas Schwab  <schwab@suse.de>
43392         [BZ #15804]
43393         * elf/pldd.c (wait_for_ptrace_stop): New function.
43394         (main): Call it after attaching.
43396 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43398         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43399         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43400         Versions files is now verboten.
43401         * hurd/Versions (libc: GLIBC_2.0):
43402         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43403         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43404         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43405         * mach/Versions: Likewise.
43407         * csu/Versions: Remove unused %include.
43408         * resolv/Versions: Likewise.
43410 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43412         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43413         ($(objpfx)check-local-headers.out): Likewise.
43414         ($(objpfx)begin-end-check.out): Likewise.
43415         * Makerules (check-abi-%.out): Likewise.
43416         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43417         ($(objpfx)test2.cat): Likewise.
43418         ($(objpfx)de/libc.cat): Likewise.
43419         ($(objpfx)test-gencat.out): Likewise.
43420         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43421         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43422         ($(objpfx)noload-mem): Likewise.
43423         ($(objpfx)tst-pathopt.out): Likewise.
43424         ($(objpfx)tst-rtld-load-self.out): Likewise.
43425         ($(objpfx)tst-array1-cmp.out): Likewise.
43426         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43427         ($(objpfx)tst-array2-cmp.out): Likewise.
43428         ($(objpfx)tst-array3-cmp.out): Likewise.
43429         ($(objpfx)tst-array4-cmp.out): Likewise.
43430         ($(objpfx)tst-array5-cmp.out): Likewise.
43431         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43432         ($(objpfx)check-textrel.out): Likewise.
43433         ($(objpfx)check-execstack.out): Likewise.
43434         ($(objpfx)check-localplt.out): Likewise.
43435         ($(objpfx)order2-cmp.out): Likewise.
43436         ($(objpfx)tst-leaks1-mem): Likewise.
43437         ($(objpfx)tst-leaks1-static-mem): Likewise.
43438         ($(objpfx)tst-initorder-cmp.out): Likewise.
43439         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43440         ($(objpfx)tst-unused-dep.out): Likewise.
43441         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43442         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43443         * iconv/Makefile (test-iconvconfig): Likewise.
43444         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43445         ($(objpfx)iconv-test.out): Likewise.
43446         ($(objpfx)tst-tables.out): Likewise.
43447         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43448         ($(objpfx)tst-gettext.out): Likewise.
43449         ($(objpfx)tst-translit.out): Likewise.
43450         ($(objpfx)tst-gettext2.out): Likewise.
43451         ($(objpfx)tst-gettext4.out): Likewise.
43452         ($(objpfx)tst-gettext6.out): Likewise.
43453         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43454         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43455         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43456         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43457         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43458         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43459         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43460         ($(objpfx)wordexp-tst.out): Likewise.
43461         ($(objpfx)annexc.out): Likewise.
43462         ($(objpfx)tst-fnmatch-mem): Likewise.
43463         ($(objpfx)bug-regex2-mem): Likewise.
43464         ($(objpfx)bug-regex14-mem): Likewise.
43465         ($(objpfx)bug-regex21-mem): Likewise.
43466         ($(objpfx)bug-regex31-mem): Likewise.
43467         ($(objpfx)tst-vfork3-mem): Likewise.
43468         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43469         ($(objpfx)tst-pcre-mem): Likewise.
43470         ($(objpfx)tst-boost-mem): Likewise.
43471         ($(objpfx)tst-getconf.out): Likewise.
43472         ($(objpfx)bug-ga2-mem): Likewise.
43473         ($(objpfx)bug-glob2-mem): Likewise.
43474         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43475         ($(objpfx)mtrace-tst-leaks2): Likewise.
43476         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43477         ($(objpfx)tst-printf.out): Likewise.
43478         ($(objpfx)tst-setvbuf1.out): Likewise.
43479         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43480         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43481         ($(objpfx)tst-fmtmsg.out): Likewise.
43482         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43483         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43485         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43486         * bits/sigaction.h [__USE_MISC]: Likewise.
43487         * bits/waitstatus.h: Update #endif comments.
43488         * ctype/ctype.h: Likewise.
43489         * dirent/dirent.h: Likewise.
43490         [__USE_MISC]: Remove redundant conditionals.
43491         * grp/grp.h: Update #endif comments.
43492         [__USE_GNU]: Remove redundant conditionals.
43493         [__USE_MISC]: Likewise.
43494         * inet/netinet/in.h [__USE_GNU]: Likewise.
43495         * io/sys/stat.h [__USE_MISC]: Likewise.
43496         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43497         * libio/bits/stdio.h: Update #endif comments.
43498         [__USE_MISC]: Remove redundant conditionals.
43499         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43500         * libio/stdio.h: Update #endif comments.
43501         [__USE_MISC]: Remove redundant conditionals.
43502         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43503         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43504         * math/math.h: Update #else and #endif comments.
43505         [__USE_MISC]: Remove redundant conditionals.
43506         * misc/sys/uio.h: Update #endif comments.
43507         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43508         * posix/glob.h [__USE_MISC]: Likewise.
43509         * posix/sys/types.h: Update #endif comments.
43510         [__USE_MISC]: Remove redundant conditionals.
43511         * posix/sys/wait.h: Update #endif comments.
43512         [__USE_MISC]: Remove redundant conditionals.
43513         * posix/unistd.h: Update #endif comments.
43514         [__USE_MISC]: Remove redundant conditionals.
43515         * pwd/pwd.h [__USE_GNU]: Likewise.
43516         [__USE_MISC]: Likewise.
43517         * resolv/netdb.h [__USE_GNU]: Likewise.
43518         * signal/signal.h: Update #endif comments.
43519         [__USE_MISC]: Remove redundant conditionals.
43520         * stdlib/stdlib.h: Update #else and #endif comments.
43521         [__USE_MISC]: Remove redundant conditionals.
43522         [__USE_GNU]: Likewise.
43523         * string/bits/string2.h [__USE_MISC]: Likewise.
43524         * string/string.h: Update #endif comments.
43525         [__USE_MISC]: Remove redundant conditionals.
43526         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43527         Likewise.
43528         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43529         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43530         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43531         Likewise.
43532         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43533         Likewise.
43534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43535         comments.
43536         [__USE_MISC]: Remove redundant conditionals.
43537         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43538         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43539         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43540         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43541         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43542         Likewise.
43543         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43544         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43545         Likewise.
43546         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43547         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43548         Likewise.
43549         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43550         Likewise.
43551         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43552         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43553         Likewise.
43554         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43555         Likewise.
43556         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43557         * sysdeps/x86/bits/string.h: Update #endif comments.
43558         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43559         conditionals.
43560         * time/sys/time.h: Update #endif comments.
43561         * time/time.h: Likewise.
43562         [__USE_MISC]: Remove redundant conditionals.
43564 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43566         [BZ #16600]
43567         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43569 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43571         * Versions.def (librt): Add GLIBC_2.17.
43573 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43575         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43576         synonym for _SYS_AUXV_H to allow direct inclusion.
43577         * sysdeps/sparc/bits/hwcap.h: Likewise.
43578         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43579         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43580         * sysdeps/sparc/sysdep.h: Likewise.
43582 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43584         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43586 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43588         * benchtests/bench-strrchr.c: Print length instead of position.
43590 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43592         [BZ #16611]
43593         * sysdeps/unix/sysv/linux/kernel-features.h
43594         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43595         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43596         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43597         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43598         Likewise.
43599         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43600         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43601         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43602         (__ASSUME_SENDMMSG): Define instead of using previous
43603         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43604         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43605         (__ASSUME_SENDMMSG_SYSCALL): Define.
43606         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43607         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43608         Likewise.
43609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43610         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43611         Likewise.
43612         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43613         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43614         Likewise.
43615         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43616         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43617         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43618         [__ASSUME_SENDMMSG]: Change conditionals to
43619         [__ASSUME_SENDMMSG_SOCKETCALL].
43620         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43621         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43622         Define.
43623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43624         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43625         Likewise.
43626         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43627         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43628         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43629         [!__ASSUME_SENDMMSG]: Change conditional to
43630         [!__ASSUME_SENDMMSG_SOCKETCALL].
43631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43632         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43633         Define.
43635         [BZ #16610]
43636         * sysdeps/unix/sysv/linux/kernel-features.h
43637         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43638         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43639         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43640         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43641         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43642         [__i386__ || __sparc__]
43643         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43644         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43645         (__ASSUME_RECVMMSG): Define instead of using previous
43646         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43647         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43648         (__ASSUME_RECVMMSG_SYSCALL): Define.
43649         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43650         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43651         Likewise.
43652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43654         Likewise.
43655         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43657         Likewise.
43658         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43659         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43660         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43661         [__ASSUME_RECVMMSG]: Change condition to
43662         [__ASSUME_RECVMMSG_SOCKETCALL].
43663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43664         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43665         Define.
43666         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43667         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43668         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43669         Likewise.
43670         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43671         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43672         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43673         [!__ASSUME_RECVMMSG]: Change condition to
43674         [!__ASSUME_RECVMMSG_SOCKETCALL].
43675         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43676         (__ASSUME_RECVMMSG_SYSCALL): Define.
43678         [BZ #16609]
43679         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43680         __powerpc__ || __s390__ || __sh__ || __sparc__]
43681         (__ASSUME_SOCKETCALL): Define.
43682         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43683         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43684         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43685         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43686         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43687         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43688         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43689         (__ASSUME_ACCEPT4): Define instead of using previous
43690         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43691         __powerpc__ || __sparc__ || __s390__)] condition.
43692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43693         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43694         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43695         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43696         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43697         [!__ASSUME_ACCEPT4]: Change condition to
43698         [!__ASSUME_ACCEPT4_SOCKETCALL].
43699         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43700         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43701         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43703         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43704         __ASSUME_ACCEPT4_SYSCALL.
43705         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43706         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43707         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43708         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43709         __ASSUME_ACCEPT4_SYSCALL.
43710         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43711         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43712         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43713         [__ASSUME_ACCEPT4]: Change condition to
43714         [__ASSUME_ACCEPT4_SOCKETCALL].
43715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43716         (__ASSUME_SOCKETCALL): Define.
43717         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43718         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43719         (__ASSUME_SOCKETCALL): Define.
43720         (__ASSUME_ACCEPT4): Remove.
43721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43722         Define.
43723         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43724         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43725         Likewise.
43726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43727         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43729         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43730         macro.
43731         (HWCAP_ARM_LPAE): Likewise.
43732         (HWCAP_ARM_EVTSTRM): Likewise.
43733         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43734         Add vpfd32, lpae and evtstrm.
43735         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43736         Increase to 22.
43738 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43740         * math/auto-libm-test-in: Add tests of clog10.
43741         * math/auto-libm-test-out: Regenerated.
43742         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43743         * sysdeps/i386/fpu/libm-test-ulps: Update.
43744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43746 2014-02-18  Andreas Schwab  <schwab@suse.de>
43748         [BZ #16574]
43749         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43750         Store non-zero if the second buffer was newly allocated.
43751         (send_dg): Likewise.
43752         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43753         to send_vc and send_dg.
43754         (res_nsend): Pass NULL for ansp2_malloced.
43755         * resolv/res_query.c (__libc_res_nquery): Add parameter
43756         answerp2_malloced and pass it down to __libc_res_nsend.
43757         (res_nquery): Pass additional NULL to __libc_res_nquery.
43758         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43759         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43760         second answer buffer if answerp2_malloced was set.
43761         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43762         (__libc_res_nquerydomain): Add parameter
43763         answerp2_malloced and pass it down to __libc_res_nquery.
43764         (res_nquerydomain): Pass additional NULL to
43765         __libc_res_nquerydomain.
43766         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43767         additional NULL to __libc_res_nsend and __libc_res_nquery.
43768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43769         additional NULL to __libc_res_nsearch.
43770         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43771         parameter of __libc_res_nsearch to check for separately allocated
43772         second buffer.
43773         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43774         __libc_res_nquery.
43775         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43776         additional NULL to __libc_res_nquery.
43777         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43778         __libc_res_nsearch.
43779         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43780         * include/resolv.h: Update prototypes of __libc_res_nquery,
43781         __libc_res_nsearch, __libc_res_nsend.
43783 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43785         * math/auto-libm-test-in: Add tests of fma.
43786         * math/auto-libm-test-out: Regenerated.
43787         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43788         (fma_towardzero_test_data): Likewise.
43789         (fma_downward_test_data): Likewise.
43790         (fma_upward_test_data): Likewise.
43791         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43792         mpc_mode.
43793         (rounding_modes): Add values for new field.
43794         (func_calc_method): Add value mpfr_fff_f.
43795         (func_calc_desc): Add mpfr_fff_f union field.
43796         (test_function): Add field exact_args.
43797         (FUNC): Add macro argument EXACT_ARGS.
43798         (FUNC_mpfr_f_f): Update call to FUNC.
43799         (FUNC_mpfr_f_f): Likewise.
43800         (FUNC_mpfr_ff_f): Likewise.
43801         (FUNC_mpfr_if_f): Likewise.
43802         (FUNC_mpc_c_f): Likewise.
43803         (FUNC_mpc_c_c): Likewise.
43804         (test_functions): Add fma.  Update calls to FUNC.
43805         (handle_input_arg): Add argument exact_args.
43806         (add_test): Update call to handle_input_arg.
43807         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43808         (output_for_one_input_case): Update call to calc_generic_results.
43809         Recalculate exact zero results in each rounding mode.
43811         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43812         non-negative before setting low bit.
43813         * math/auto-libm-test-in: Mark one asin test possibly having
43814         spurious underflow.
43815         * math/auto-libm-test-out: Regenerated.
43816         * sysdeps/i386/fpu/libm-test-ulps: Update.
43817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43819 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43821         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43822         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43823         ports/sysdeps/unix/sysv/linux/microblaze.
43824         * README: Add missing listing for microblaze*-*-linux-gnu.
43826 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43829         duplicate code
43831 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43833         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43834         * sysdeps/unix/sysv/linux/ia64: Move directory from
43835         ports/sysdeps/unix/sysv/linux/ia64.
43836         * README: Update listing for ia64-*-linux-gnu.
43838 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43839             Joseph Myers  <joseph@codesourcery.com>
43841         * Makeconfig (test-name): New variable.
43842         (evaluate-test): Likewise.
43843         * Makerules (do-test-clean): Remove .test-result files.
43844         (common-mostlyclean): Likewise.
43845         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43846         * scripts/evaluate-test.sh: New file.
43848 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43850         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43851         separate $(objpfx)tst-fopenloc-cmp.out and
43852         $(objpfx)tst-fopenloc-mem.out targets.
43853         (tests): Update dependencies.
43854         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43855         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43856         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43857         (tst-rxspencer-no-utf8-ARGS): New variable.
43858         (tst-rxspencer-no-utf8-ENV): Likewise.
43859         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43860         instead of $(objpfx)tst-rxspencer-mem.
43861         ($(objpfx)tst-rxspencer-mem): Change target to
43862         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43863         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43864         * posix/tst-rxspencer-no-utf8.c: New file.
43866         * elf/Makefile ($(objpfx)order.out): Remove rule.
43867         [$(run-built-tests) = yes] (tests): Depend on
43868         $(objpfx)order-cmp.out.
43869         ($(objpfx)order-cmp.out): New rule.
43870         [$(run-built-tests) = yes] (tests): Depend on
43871         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43872         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43873         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43874         $(objpfx)tst-array5-static-cmp.out.
43875         ($(objpfx)tst-array1.out): Remove rule.
43876         ($(objpfx)tst-array1-cmp.out): New rule.
43877         ($(objpfx)tst-array1-static.out): Remove rule.
43878         ($(objpfx)tst-array1-static-cmp.out): New rule.
43879         ($(objpfx)tst-array2.out): Remove rule.
43880         ($(objpfx)tst-array2-cmp.out): New rule.
43881         ($(objpfx)tst-array3.out): Remove rule.
43882         ($(objpfx)tst-array3-cmp.out): New rule.
43883         ($(objpfx)tst-array4.out): Remove rule.
43884         ($(objpfx)tst-array4-cmp.out): New rule.
43885         ($(objpfx)tst-array5.out): Remove rule.
43886         ($(objpfx)tst-array5-cmp.out): New rule.
43887         ($(objpfx)tst-array5-static.out): Remove rule.
43888         ($(objpfx)tst-array5-static-cmp.out): New rule.
43889         [$(run-built-tests) = yes] (tests): Depend on
43890         $(objpfx)order2-cmp.out.
43891         ($(objpfx)order2.out): Remove rule.
43892         ($(objpfx)order2-cmp.out): New rule.
43893         ($(objpfx)tst-initorder.out): Remove rule.
43894         [$(run-built-tests) = yes] (tests): Depend on
43895         $(objpfx)tst-initorder-cmp.out.
43896         ($(objpfx)tst-initorder-cmp.out): New rule.
43897         ($(objpfx)tst-initorder2.out): Remove rule.
43898         [$(run-built-tests) = yes] (tests): Depend on
43899         $(objpfx)tst-initorder2-cmp.out.
43900         ($(objpfx)tst-initorder2-cmp.out): New rule.
43901         [$(run-built-tests) = yes] (tests): Depend on
43902         $(objpfx)tst-unused-dep-cmp.out.
43903         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43904         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43905         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43906         on $(objpfx)tst-setvbuf1-cmp.out.
43907         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43908         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43909         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43910         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43911         ($(objpfx)tst-svc.out): Remove rule.
43912         ($(objpfx)tst-svc-cmp.out): New rule.
43914 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43916         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43917         * ctype/ctype.h [__USE_MISC]: Likewise.
43918         * dirent/dirent.h [__USE_MISC]: Likewise.
43919         * grp/grp.h [__USE_MISC]: Likewise.
43920         * io/fcntl.h [__USE_MISC]: Likewise.
43921         * io/sys/stat.h [__USE_MISC]: Likewise.
43922         * libio/stdio.h [__USE_MISC]: Likewise.
43923         * posix/unistd.h [__USE_MISC]: Likewise.
43924         * pwd/pwd.h [__USE_MISC]: Likewise.
43925         * stdlib.h [__USE_MISC]: Likewise.
43926         * string/bits/string2.h [__USE_MISC]: Likewise.
43927         * string/string.h [__USE_MISC]: Likewise.
43928         * time/time.h [__USE_MISC]: Likewise.
43930 2014-02-13  Andreas Schwab  <schwab@suse.de>
43932         [BZ #16574]
43933         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43934         second answer buffer if it was separately allocated.
43936 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43938         * sysdeps/mips/math-tests.h: Include <features.h>.
43939         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43940         (ROUNDING_TESTS_long_double): Do not define.
43941         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43942         (EXCEPTION_TESTS_long_double): Likewise.
43943         * sysdeps/mips/mips64/libm-test-ulps: Update.
43945         * include/features.h (__USE_BSD): Remove macro definitions.
43946         (__USE_SVID): Likewise.
43947         (_BSD_SOURCE): Likewise.
43948         (_SVID_SOURCE): Likewise.
43949         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43950         from definition of _DEFAULT_SOURCE.
43951         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43952         [_DEFAULT_SOURCE].
43953         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43954         * bits/mman.h [__USE_BSD]: Likewise.
43955         * bits/termios.h [__USE_BSD]: Likewise.
43956         * bits/waitstatus.h [__USE_BSD]: Likewise.
43957         * ctype/ctype.h [__USE_SVID]: Likewise.
43958         * dirent/dirent.h [__USE_BSD]: Likewise.
43959         * grp/grp.h [__USE_SVID]: Likewise.
43960         [__USE_BSD]: Likewise.
43961         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43962         * io/fcntl.h [__USE_BSD]: Likewise.
43963         * io/ftw.h [__USE_BSD]: Likewise.
43964         * io/sys/stat.h [__USE_BSD]: Likewise.
43965         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43966         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43967         * libio/stdio.h [__USE_SVID]: Likewise.
43968         [__USE_BSD]: Likewise.
43969         * math/math.h [__USE_SVID]: Likewise.
43970         [__USE_BSD]: Likewise.
43971         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43972         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43973         * misc/search.h [__USE_SVID]: Likewise.
43974         * misc/sys/mman.h [__USE_BSD]: Likewise.
43975         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43976         * misc/sys/uio.h [__USE_BSD]: Likewise.
43977         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43978         * posix/glob.h [__USE_BSD]: Likewise.
43979         * posix/regex.h [__USE_BSD]: Likewise.
43980         * posix/sys/types.h [__USE_BSD]: Likewise.
43981         [__USE_SVID]: Likewise.
43982         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43983         * posix/sys/wait.h [__USE_BSD]: Likewise.
43984         [__USE_SVID]: Likewise.
43985         * posix/unistd.h [__USE_BSD]: Likewise.
43986         [__USE_SVID]: Likewise.
43987         * pwd/pwd.h [__USE_SVID]: Likewise.
43988         * resolv/netdb.h [__USE_BSD]: Likewise.
43989         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43990         * signal/signal.h [__USE_BSD]: Likewise.
43991         [__USE_SVID]: Likewise.
43992         * socket/sys/socket.h [__USE_BSD]: Likewise.
43993         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43994         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43995         [__USE_SVID]: Likewise.
43996         * string/bits/string2.h [__USE_BSD]: Likewise.
43997         [__USE_SVID]: Likewise.
43998         * string/bits/string3.h [__USE_BSD]: Likewise.
43999         * string/endian.h [__USE_BSD]: Likewise.
44000         * string/string.h [__USE_SVID]: Likewise.
44001         [__USE_BSD]: Likewise.
44002         * string/strings.h [__USE_BSD]: Likewise.
44003         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44004         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44005         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44006         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44007         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44008         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44009         Likewise.
44010         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44011         Likewise.
44012         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44013         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44014         Likewise.
44015         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44016         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44017         Likewise.
44018         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44019         Likewise.
44020         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44021         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44022         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44023         Likewise.
44024         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44025         Likewise.
44026         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44027         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44028         * termios/termios.h [__USE_BSD]: Likewise.
44029         * time/sys/time.h [__USE_BSD]: Likewise.
44030         * time/time.h [__USE_BSD]: Likewise.
44031         [__USE_SVID]: Likewise.
44033         * Makefile (subdir_targets): Remove subdir_lint.out.
44035         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44036         (do-tst-printf): Likewise.
44037         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44038         $(objpfx)tst-printf.out.
44040         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44042         * Makerules (check-abi-%): Change target to
44043         $(objpfx)check-abi-%.out.
44044         (check-abi target): Update dependencies.
44045         (check-abi-pattern variable): Redirect output of diff to $@.
44046         (check-abi variable): Likewise.
44047         * elf/Makefile (check-abi): Update dependencies.
44049         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44050         unused.
44051         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44052         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44053         subnormal range.
44054         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44055         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44056         value has largest subnormal exponent.
44057         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44058         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44059         * sysdeps/aarch64/soft-fp/sfp-machine.h
44060         (_FP_TININESS_AFTER_ROUNDING): New macro.
44061         * sysdeps/alpha/soft-fp/sfp-machine.h
44062         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44063         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44064         Likewise.
44065         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44066         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44067         * sysdeps/mips/soft-fp/sfp-machine.h
44068         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44069         * sysdeps/powerpc/soft-fp/sfp-machine.h
44070         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44071         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44072         Likewise.
44073         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44074         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44075         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44076         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44077         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44078         Likewise.
44080 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44082         [BZ #16545]
44083         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44084         model 1.
44086 2014-02-12  Richard Henderson  <rth@redhat.com>
44088         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44089         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44090         * sysdeps/unix/sysv/linux/alpha: Move directory from
44091         ports/sysdeps/unix/sysv/linux/alpha.
44092         * README: Update listing for alpha-*-linux-gnu.
44094 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44096         * include/features.h: Update comment documenting feature test
44097         macros.
44098         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44099         _DEFAULT_SOURCE.
44100         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44101         (_SVID_SOURCE): Likewise.
44102         (_DEFAULT_SOURCE): Update description of default features.
44103         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44104         with _GNU_SOURCE.
44105         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44106         (S_ISVTX): Likewise.
44107         * manual/math.texi (Mathematical Constants): Likewise.
44108         * manual/signal.texi (Interrupted Primitives): Likewise.
44109         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44110         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44111         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44112         Don't refer to _SVID_SOURCE in warning text.
44114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44116         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44117         already defined.
44118         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44119         * sysdeps/mips/dl-lookup.c: Remove.
44120         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44122 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44124         [BZ #16447]
44125         * math/auto-libm-test-in: Add testcase for expl.
44126         * math/auto-libm-test-out: Regenerate.
44127         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44128         calculation of unsafe.
44129         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44131 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44133         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44134         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44135         ports/sysdeps/unix/sysv/linux/aarch64.
44136         * README: Update listing for aarch64*-*-linux-gnu.
44138 2014-02-11  Will Newton  <will.newton@linaro.org>
44140         * manual/probes.texi (Mathematical Function Probes): Use
44141         "triggered" instead of "hit".
44143         * manual/probes.texi (Internal Probes): Add documentation
44144         of setjmp, longjmp and longjmp_target probes.
44146         * include/stap-probe.h: Add comment about probe argument
44147         format.
44149         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44150         definition.  (tr_where, tr_freehook, tr_mallochook,
44151         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44153 2014-02-11  David S. Miller  <davem@davemloft.net>
44155         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44156         processing int_tests.
44158 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44160         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44161         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44162         * sysdeps/unix/sysv/linux/mips: Move directory from
44163         ports/sysdeps/unix/sysv/linux/mips.
44164         * README: Update listing for mips-*-linux-gnu and
44165         mips64-*-linux-gnu.
44167 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44169         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44170         * sysdeps/unix/sysv/linux/m68k: Move directory from
44171         ports/sysdeps/unix/sysv/linux/m68k.
44172         * README: Update listing for m68k-*-linux-gnu.
44174 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44176         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44177         * sysdeps/unix/sysv/linux/generic: Move directory from
44178         ports/sysdeps/unix/sysv/linux/generic.
44179         * sysdeps/unix/sysv/linux/tile: Move directory from
44180         ports/sysdeps/unix/sysv/linux/tile.
44181         * README: Update listing for tile*-*-linux-gnu.
44183 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44185         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44186         __builtin_expect.
44187         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44188         * catgets/open_catalog.c (__open_catalog): Likewise.
44189         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44190         * debug/confstr_chk.c: Likewise.
44191         * debug/fread_chk.c (__fread_chk): Likewise.
44192         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44193         * debug/getgroups_chk.c: Likewise.
44194         * debug/mbsnrtowcs_chk.c: Likewise.
44195         * debug/mbsrtowcs_chk.c: Likewise.
44196         * debug/mbstowcs_chk.c: Likewise.
44197         * debug/memcpy_chk.c: Likewise.
44198         * debug/memmove_chk.c: Likewise.
44199         * debug/mempcpy_chk.c: Likewise.
44200         * debug/memset_chk.c: Likewise.
44201         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44202         * debug/strcat_chk.c (__strcat_chk): Likewise.
44203         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44204         * debug/strncat_chk.c (__strncat_chk): Likewise.
44205         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44206         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44207         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44208         * debug/wcpncpy_chk.c: Likewise.
44209         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44210         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44211         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44212         * debug/wcsncpy_chk.c: Likewise.
44213         * debug/wcsnrtombs_chk.c: Likewise.
44214         * debug/wcsrtombs_chk.c: Likewise.
44215         * debug/wcstombs_chk.c: Likewise.
44216         * debug/wmemcpy_chk.c: Likewise.
44217         * debug/wmemmove_chk.c: Likewise.
44218         * debug/wmempcpy_chk.c: Likewise.
44219         * debug/wmemset_chk.c: Likewise.
44220         * dirent/scandirat.c (SCANDIRAT): Likewise.
44221         * dlfcn/dladdr1.c (dladdr1): Likewise.
44222         * dlfcn/dladdr.c (dladdr): Likewise.
44223         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44224         * dlfcn/dlerror.c (__dlerror): Likewise.
44225         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44226         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44227         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44228         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44229         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44230         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44231         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44232         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44233         Likewise.
44234         * elf/dl-conflict.c: Likewise.
44235         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44236         * elf/dl-dst.h: Likewise.
44237         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44238         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44239         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44240         * elf/dl-init.c (call_init, _dl_init): Likewise.
44241         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44242         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44243         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44244         Likewise.
44245         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44246         Likewise.
44247         * elf/dl-minimal.c (__libc_memalign): Likewise.
44248         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44249         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44250         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44251         * elf/dl-sym.c (do_sym): Likewise.
44252         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44253         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44254         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44255         * elf/dl-writev.h (_dl_writev): Likewise.
44256         * elf/ldconfig.c (search_dir): Likewise.
44257         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44258         (dl_main): Likewise.
44259         * elf/setup-vdso.h (setup_vdso): Likewise.
44260         * grp/compat-initgroups.c (compat_call): Likewise.
44261         * grp/fgetgrent.c (fgetgrent): Likewise.
44262         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44263         * grp/putgrent.c (putgrent): Likewise.
44264         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44265         Likewise.
44266         * hurd/hurdinit.c: Likewise.
44267         * iconvdata/8bit-gap.c (struct): Likewise.
44268         * iconvdata/ansi_x3.110.c : Likewise.
44269         * iconvdata/big5.c : Likewise.
44270         * iconvdata/big5hkscs.c : Likewise.
44271         * iconvdata/cp1255.c: Likewise.
44272         * iconvdata/cp1258.c : Likewise.
44273         * iconvdata/cp932.c : Likewise.
44274         * iconvdata/euc-cn.c: Likewise.
44275         * iconvdata/euc-jisx0213.c : Likewise.
44276         * iconvdata/euc-jp.c: Likewise.
44277         * iconvdata/euc-jp-ms.c : Likewise.
44278         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44279         * iconvdata/gb18030.c : Likewise.
44280         * iconvdata/gbbig5.c (const): Likewise.
44281         * iconvdata/gbgbk.c: Likewise.
44282         * iconvdata/gbk.c : Likewise.
44283         * iconvdata/ibm1364.c : Likewise.
44284         * iconvdata/ibm930.c : Likewise.
44285         * iconvdata/ibm932.c: Likewise.
44286         * iconvdata/ibm933.c : Likewise.
44287         * iconvdata/ibm935.c : Likewise.
44288         * iconvdata/ibm937.c : Likewise.
44289         * iconvdata/ibm939.c : Likewise.
44290         * iconvdata/ibm943.c: Likewise.
44291         * iconvdata/iso_11548-1.c: Likewise.
44292         * iconvdata/iso-2022-cn.c : Likewise.
44293         * iconvdata/iso-2022-cn-ext.c : Likewise.
44294         * iconvdata/iso-2022-jp-3.c: Likewise.
44295         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44296         * iconvdata/iso-2022-kr.c : Likewise.
44297         * iconvdata/iso646.c (gconv_end): Likewise.
44298         * iconvdata/iso_6937-2.c : Likewise.
44299         * iconvdata/iso_6937.c : Likewise.
44300         * iconvdata/iso8859-1.c: Likewise.
44301         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44302         * iconvdata/shift_jisx0213.c : Likewise.
44303         * iconvdata/sjis.c : Likewise.
44304         * iconvdata/t.61.c : Likewise.
44305         * iconvdata/tcvn5712-1.c : Likewise.
44306         * iconvdata/tscii.c: Likewise.
44307         * iconvdata/uhc.c : Likewise.
44308         * iconvdata/unicode.c (gconv_end): Likewise.
44309         * iconvdata/utf-16.c (gconv_end): Likewise.
44310         * iconvdata/utf-32.c (gconv_end): Likewise.
44311         * iconvdata/utf-7.c (base64): Likewise.
44312         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44313         * iconv/gconv_close.c (__gconv_close): Likewise.
44314         * iconv/gconv_open.c (__gconv_open): Likewise.
44315         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44316         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44317         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44318         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44319         (ucs4le_internal_loop_single): Likewise.
44320         * iconv/iconv.c (iconv): Likewise.
44321         * iconv/iconv_close.c: Likewise.
44322         * iconv/loop.c (SINGLE): Likewise.
44323         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44324         * include/atomic.h: Likewise.
44325         * inet/inet6_option.c (option_alloc): Likewise.
44326         * intl/bindtextdom.c (set_binding_values): Likewise.
44327         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44328         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44329         * intl/localealias.c (read_alias_file): Likewise.
44330         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44331         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44332         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44333         * libio/fmemopen.c (fmemopen): Likewise.
44334         * libio/iofgets.c (_IO_fgets): Likewise.
44335         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44336         * libio/iofgetws.c (fgetws): Likewise.
44337         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44338         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44339         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44340         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44341         * locale/findlocale.c (_nl_find_locale): Likewise.
44342         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44343         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44344         Likewise.
44345         * locale/setlocale.c (setlocale): Likewise.
44346         * login/programs/pt_chown.c (main): Likewise.
44347         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44348         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44349         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44350         (mmap, mmap64, mremap, munmap): Likewise.
44351         * math/e_exp2l.c: Likewise.
44352         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44353         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44354         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44355         * math/s_catan.c (__catan): Likewise.
44356         * math/s_catanf.c (__catanf): Likewise.
44357         * math/s_catanh.c (__catanh): Likewise.
44358         * math/s_catanhf.c (__catanhf): Likewise.
44359         * math/s_catanhl.c (__catanhl): Likewise.
44360         * math/s_catanl.c (__catanl): Likewise.
44361         * math/s_ccosh.c (__ccosh): Likewise.
44362         * math/s_ccoshf.c (__ccoshf): Likewise.
44363         * math/s_ccoshl.c (__ccoshl): Likewise.
44364         * math/s_cexp.c (__cexp): Likewise.
44365         * math/s_cexpf.c (__cexpf): Likewise.
44366         * math/s_cexpl.c (__cexpl): Likewise.
44367         * math/s_clog10.c (__clog10): Likewise.
44368         * math/s_clog10f.c (__clog10f): Likewise.
44369         * math/s_clog10l.c (__clog10l): Likewise.
44370         * math/s_clog.c (__clog): Likewise.
44371         * math/s_clogf.c (__clogf): Likewise.
44372         * math/s_clogl.c (__clogl): Likewise.
44373         * math/s_csin.c (__csin): Likewise.
44374         * math/s_csinf.c (__csinf): Likewise.
44375         * math/s_csinh.c (__csinh): Likewise.
44376         * math/s_csinhf.c (__csinhf): Likewise.
44377         * math/s_csinhl.c (__csinhl): Likewise.
44378         * math/s_csinl.c (__csinl): Likewise.
44379         * math/s_csqrt.c (__csqrt): Likewise.
44380         * math/s_csqrtf.c (__csqrtf): Likewise.
44381         * math/s_csqrtl.c (__csqrtl): Likewise.
44382         * math/s_ctan.c (__ctan): Likewise.
44383         * math/s_ctanf.c (__ctanf): Likewise.
44384         * math/s_ctanh.c (__ctanh): Likewise.
44385         * math/s_ctanhf.c (__ctanhf): Likewise.
44386         * math/s_ctanhl.c (__ctanhl): Likewise.
44387         * math/s_ctanl.c (__ctanl): Likewise.
44388         * math/w_pow.c: Likewise.
44389         * math/w_powf.c: Likewise.
44390         * math/w_powl.c: Likewise.
44391         * math/w_scalb.c (sysv_scalb): Likewise.
44392         * math/w_scalbf.c (sysv_scalbf): Likewise.
44393         * math/w_scalbl.c (sysv_scalbl): Likewise.
44394         * misc/error.c (error_tail): Likewise.
44395         * misc/pselect.c (__pselect): Likewise.
44396         * nis/nis_callback.c (__nis_create_callback): Likewise.
44397         * nis/nis_call.c (__nisfind_server): Likewise.
44398         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44399         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44400         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44401         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44402         * nis/nis_lookup.c (nis_lookup): Likewise.
44403         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44404         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44405         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44406         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44407         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44408         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44409         * nis/nss_compat/compat-initgroups.c (add_group)
44410         (internal_getgrent_r): Likewise.
44411         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44412         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44413         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44414         (internal_getspnam_r): Likewise.
44415         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44416         (_nss_nis_getaliasbyname_r): Likewise.
44417         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44418         (_nss_nis_getntohost_r): Likewise.
44419         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44420         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44421         (_nss_nis_getgrgid_r): Likewise.
44422         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44423         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44424         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44425         (_nss_nis_gethostbyname4_r): Likewise.
44426         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44427         (initgroups_netid): Likewise.
44428         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44429         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44430         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44431         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44432         (_nss_nis_getprotobynumber_r): Likewise.
44433         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44434         (_nss_nis_getsecretkey): Likewise.
44435         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44436         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44437         (_nss_nis_getpwuid_r): Likewise.
44438         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44439         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44440         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44441         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44442         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44443         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44444         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44445         Likewise.
44446         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44447         (_nss_nisplus_getntohost_r): Likewise.
44448         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44449         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44450         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44451         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44452         Likewise.
44453         * nis/nss_nisplus/nisplus-initgroups.c
44454         (_nss_nisplus_initgroups_dyn): Likewise.
44455         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44456         (_nss_nisplus_getnetbyaddr_r): Likewise.
44457         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44458         (_nss_nisplus_getprotobynumber_r): Likewise.
44459         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44460         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44461         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44462         Likewise.
44463         * nis/nss_nisplus/nisplus-service.c
44464         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44465         (_nss_nisplus_getservbyport_r): Likewise.
44466         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44467         (_nss_nisplus_getspnam_r): Likewise.
44468         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44469         Likewise.
44470         * nscd/aicache.c (addhstaiX): Likewise.
44471         * nscd/cache.c (cache_search, prune_cache): Likewise.
44472         * nscd/connections.c (register_traced_file, send_ro_fd)
44473         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44474         (main_loop_epoll): Likewise.
44475         * nscd/grpcache.c (addgrbyX): Likewise.
44476         * nscd/hstcache.c (addhstbyX): Likewise.
44477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44478         * nscd/mem.c (gc, mempool_alloc): Likewise.
44479         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44480         (addinnetgrX): Likewise.
44481         * nscd/nscd-client.h (__nscd_acquire_maplock)
44482         (__nscd_drop_map_ref): Likewise.
44483         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44484         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44485         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44486         Likewise.
44487         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44488         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44489         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44490         (__nscd_get_map_ref): Likewise.
44491         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44492         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44493         Likewise.
44494         * nscd/pwdcache.c (addpwbyX): Likewise.
44495         * nscd/selinux.c (preserve_capabilities): Likewise.
44496         * nscd/servicescache.c (addservbyX): Likewise.
44497         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44498         * posix/fnmatch.c (fnmatch): Likewise.
44499         * posix/getopt.c (_getopt_internal_r): Likewise.
44500         * posix/glob.c (glob, glob_in_dir): Likewise.
44501         * posix/wordexp.c (exec_comm_child): Likewise.
44502         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44503         (getanswer_r, gaih_getanswer_slice): Likewise.
44504         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44505         * resolv/res_init.c: Likewise.
44506         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44507         * resolv/res_query.c (__libc_res_nquery): Likewise.
44508         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44509         Likewise.
44510         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44511         * stdio-common/perror.c (perror): Likewise.
44512         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44513         * stdio-common/tmpnam.c (tmpnam): Likewise.
44514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44515         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44516         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44517         Likewise.
44518         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44519         * stdlib/putenv.c (putenv): Likewise.
44520         * stdlib/setenv.c (__add_to_environ): Likewise.
44521         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44522         * stdlib/strtol_l.c (INTERNAL): Likewise.
44523         * string/memmem.c (memmem): Likewise.
44524         * string/strerror.c (strerror): Likewise.
44525         * string/strnlen.c (__strnlen): Likewise.
44526         * string/test-memmem.c (simple_memmem): Likewise.
44527         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44528         * sunrpc/pm_getport.c (__get_socket): Likewise.
44529         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44530         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44531         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44532         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44533         Likewise.
44534         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44536         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44537         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44538         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44539         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44540         Likewise.
44541         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44542         Likewise.
44543         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44544         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44545         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44546         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44547         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44549         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44550         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44551         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44552         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44553         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44554         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44555         Likewise.
44556         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44557         Likewise.
44558         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44559         Likewise.
44560         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44561         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44562         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44563         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44564         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44565         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44566         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44567         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44569         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44570         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44572         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44573         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44575         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44576         Likewise.
44577         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44578         Likewise.
44579         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44580         Likewise.
44581         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44582         Likewise.
44583         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44585         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44586         Likewise.
44587         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44588         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44589         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44590         * sysdeps/posix/sleep.c: Likewise.
44591         * sysdeps/posix/tempname.c: Likewise.
44592         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44593         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44594         Likewise.
44595         * sysdeps/powerpc/powerpc32/dl-machine.h
44596         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44597         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44599         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44600         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44601         Likewise.
44602         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44603         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44604         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44605         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44606         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44607         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44608         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44609         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44610         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44611         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44613         (elf_machine_lazy_rel): Likewise.
44614         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44616         (elf_machine_lazy_rel): Likewise.
44617         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44618         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44619         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44620         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44621         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44622         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44623         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44625         Likewise.
44626         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44627         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44628         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44629         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44630         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44631         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44632         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44633         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44634         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44635         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44636         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44637         Likewise.
44638         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44639         (__posix_fallocate64_l64): Likewise.
44640         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44641         (posix_fallocate): Likewise.
44642         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44643         Likewise.
44644         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44645         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44646         (getifaddrs_internal): Likewise.
44647         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44648         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44649         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44650         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44651         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44652         (__posix_fallocate64_l64): Likewise.
44653         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44654         Likewise.
44655         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44656         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44657         (__get_clockfreq): Likewise.
44658         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44659         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44660         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44661         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44663         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44664         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44665         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44666         Likewise.
44667         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44668         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44669         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44670         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44671         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44672         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44673         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44674         Likewise.
44675         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44676         (posix_fallocate): Likewise.
44677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44678         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44679         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44680         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44681         (elf_machine_rela, elf_machine_rela_relative)
44682         (elf_machine_lazy_rel): Likewise.
44683         * time/asctime.c (asctime_internal): Likewise.
44684         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44685         * time/tzset.c (__tzset_parse_tz): Likewise.
44686         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44687         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44688         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44689         * wcsmbs/wcsmbsload.h: Likewise.
44691         [BZ #15894]
44692         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44694         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44695         (arena_get2): Remove THREAD_STATS conditionals.
44696         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44697         (__malloc_stats, int): Likewise.
44699 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44701         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44702         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44704         * manual/setjmp.texi: Fix typos/grammar errors.
44706         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44707         Only return early when n is <= 0.  Delete unused return statement.
44709         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44710         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44711         * debug/tst-longjmp_chk3.c: New file.
44713         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44714         (test_main): Replace code with set_fortify_handler call.
44715         * debug/test-strcpy_chk.c: Likewise.
44716         * debug/tst-chk1.c: Likewise.
44717         * debug/tst-longjmp_chk.c: Likewise.
44718         * test-skeleton.c: Include fcntl.h & paths.h
44719         (set_fortify_handler): Define.
44721         * debug/tst-longjmp_chk.c: Add header comment and include
44722         ../test-skeleton.c.
44723         (do_test): Mark static.
44724         (TEST_FUNCTION): Define.
44726         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44727         (IP_PMTUDISC_INTERFACE): Likewise.
44728         (IP_MULTICAST_IF): Likewise.
44729         (IP_MULTICAST_TTL): Likewise.
44730         (IP_MULTICAST_LOOP): Likewise.
44731         (IP_ADD_MEMBERSHIP): Likewise.
44732         (IP_DROP_MEMBERSHIP): Likewise.
44733         (IP_UNBLOCK_SOURCE): Likewise.
44734         (IP_BLOCK_SOURCE): Likewise.
44735         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44736         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44737         (IP_MSFILTER): Likewise.
44738         (MCAST_JOIN_GROUP): Likewise.
44739         (MCAST_BLOCK_SOURCE): Likewise.
44740         (MCAST_UNBLOCK_SOURCE): Likewise.
44741         (MCAST_LEAVE_GROUP): Likewise.
44742         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44743         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44744         (MCAST_MSFILTER): Likewise.
44745         (IP_MULTICAST_ALL): Likewise.
44746         (IP_UNICAST_IF): Likewise.
44748         * timezone/Makefile: Delete $(have-ksh) check.
44749         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44750         * timezone/tzselect.ksh: Add +x mode bits.
44752         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44753         (ANON_INODE_FS_MAGIC): Likewise.
44754         (BDEVFS_MAGIC): Likewise.
44755         (BINFMTFS_MAGIC): Likewise.
44756         (BTRFS_TEST_MAGIC): Likewise.
44757         (CRAMFS_MAGIC_WEND): Likewise.
44758         (DEBUGFS_MAGIC): Likewise.
44759         (ECRYPTFS_SUPER_MAGIC): Likewise.
44760         (EXT3_SUPER_MAGIC): Likewise.
44761         (EXT4_SUPER_MAGIC): Likewise.
44762         (FUTEXFS_SUPER_MAGIC): Likewise.
44763         (HOSTFS_SUPER_MAGIC): Likewise.
44764         (HUGETLBFS_MAGIC): Likewise.
44765         (MINIX3_SUPER_MAGIC): Likewise.
44766         (MTD_INODE_FS_MAGIC): Likewise.
44767         (NILFS_SUPER_MAGIC): Likewise.
44768         (OPENPROM_SUPER_MAGIC): Likewise.
44769         (PIPEFS_MAGIC): Likewise.
44770         (PSTOREFS_MAGIC): Likewise.
44771         (QNX6_SUPER_MAGIC): Likewise.
44772         (RAMFS_MAGIC): Likewise.
44773         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44774         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44775         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44776         (SECURITYFS_MAGIC): Likewise.
44777         (SELINUX_MAGIC): Likewise.
44778         (SMACK_MAGIC): Likewise.
44779         (SOCKFS_MAGIC): Likewise.
44780         (SQUASHFS_MAGIC): Likewise.
44781         (STACK_END_MAGIC): Likewise.
44782         (TMPFS_MAGIC): Likewise.
44783         (USBDEVICE_SUPER_MAGIC): Likewise.
44784         (V9FS_MAGIC): Likewise.
44785         (XENFS_SUPER_MAGIC): Likewise.
44786         (CRAMFS_MAGIC): Fix typo in comment.
44787         (EXT2_SUPER_MAGIC): Update comment.
44788         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44790 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44792         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44793         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44794         * sysdeps/unix/sysv/linux/arm: Move directory from
44795         ports/sysdeps/unix/sysv/linux/arm.
44796         * README: Update listing for arm-*-linux-gnueabi.
44798         * README: Remove mention of am33.
44800 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44802         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44803         than the comma operator, to avoid "rhs of comma has no effect"
44804         compiler warnings.
44805         (__sigfillset, __sigandset, __sigorset): Likewise.
44806         * include/signal.h (__sigemptyset): Likewise.
44807         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44809 2014-02-07  Allan McRae  <allan@archlinux.org>
44811         * version.h (RELEASE): Set to "development".
44812         (VERSION): Set to "2.19.90"
44813         * NEWS: Add 2.20 section.
44815 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44817         [BZ #16529]
44818         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44820 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44822         * manual/contrib.texi: Update entry for Carlos O'Donell,
44823         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44825 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44827         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44829         * sysdeps/unix/sysv/linux/kernel-features.h
44830         [__LINUX_KERNEL_VERSION >= 0x020621]
44831         (__ASSUME_PROC_PID_TASK_COMM): Define.
44833 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44835         [BZ #16398]
44836         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44837         conversion when destination buffer does not have enough space.
44838         * libio/tst-ftell-partial-wide.c: New test case.
44839         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44841         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44842         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44843         Leonard and Allan McRae.
44845 2014-02-04  David S. Miller  <davem@davemloft.net>
44847         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44848         32-bit.
44850 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44853         New file
44854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44855         New file
44856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44857         New file.
44858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44859         New file.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44861         New file.
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44863         New file.
44864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44865         New file.
44866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44867         New file.
44868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44869         New file.
44870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44871         New file.
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44873         New file.
44874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44875         New file.
44876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44877         New file.
44879 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44881         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44882         * shlib-versions: Likewise.
44884 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44885             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44887         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44888         (abilist-pattern): New variable, set to %-le.abilist.
44890         * Makerules (abilist-pattern): New variable.
44891         (vpath): Use $(abilist-pattern) in place of %.abilist.
44892         (check-abi-% pattern rule): Likewise.
44893         (check-abi, update-abi): Likewise.
44895 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44899 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44901         * manual/startup.texi: Add next, previous, and top entries for
44902         the `Program Arguments' and `Environment Variables' nodes.
44904 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44906         * manual/macros.texi: Add comments before MTASC-safety macros.
44908         * manual/users.texi: Document MTASC-safety properties.
44910         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44911         (pthread_getspecific, pthread_setspecific): Format with
44912         @deftypefun, and add @safety note.
44913         * manual/signal.texi: Move comments that analyze the above
44914         functions to their home place.
44916 2014-02-03  Allan McRae  <allan@archlinux.org>
44918         * po/sl.po: Update Slovenian translation from translation project.
44920 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44922         * manual/time.texi (timegm): Add missing blank after @c.
44923         Reported by Joseph Myers <joseph@codesourcery.com>.
44925 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44927         * manual/check-safety.sh: New.
44928         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44930         * manual/terminal.texi: Document MTASC-safety properties.
44932         * manual/filesys.texi: Document MTASC-safety properties.
44934         * manual/errno.texi: Document MTASC-safety properties.
44936         * manual/intro.texi: Document safety identifiers and
44937         conditionals.
44939         * manual/string.texi (wcstok): Fix prototype.
44940         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44942         * manual/time.texi: Document MTASC-safety properties.
44944         * manual/string.texi: Document MTASC-safety properties.
44946         * manual/threads.texi: Document MTASC-safety properties.
44948         * manual/stdio.texi: Document MTASC-safety properties.
44950         * manual/syslog.texi: Document MTASC-safety properties.
44952         * manual/sysinfo.texi: Document MTASC-safety properties.
44954         * manual/startup.texi: Document MTASC-safety properties.
44956         * manual/socket.texi: Document MTASC-safety properties.
44958         * manual/signal.texi: Document MTASC-safety properties.
44960 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44962         * manual/setjmp.texi: Document MTASC-safety properties.
44964         * manual/search.texi: Document MTASC-safety properties.
44966         * manual/resource.texi: Document MTASC-safety properties.
44968         * manual/process.texi: Document MTASC-safety properties.
44970         * manual/platform.texi: Document MTASC-safety properties.
44972         * manual/pipe.texi: Document MTASC-safety properties.
44974         * manual/pattern.texi: Document MTASC-safety properties.
44976         * manual/message.texi: Document MTASC-safety properties.
44978         [BZ #12751]
44979         * manual/memory.texi: Document MTASC-safety properties.
44981         * manual/math.texi: Document MTASC-safety properties.
44983         * manual/locale.texi: Document MTASC-safety properties.
44985         * manual/llio.texi: Document MTASC-safety properties.
44987         * manual/libdl.texi: New.
44989         * manual/lang.texi: Document MTASC-safety properties.
44991         * manual/job.texi: Document MTASC-safety properties.
44993         * manual/getopt.texi: Document MTASC-safety properties.
44995         * manual/ctype.texi: Document MTASC-safety properties.
44997 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44999         [BZ #16046]
45000         * csu/libc-tls.c (static_map): Remove variable.
45001         (__libc_setup_tls): Use main executable's link map for TLS data.
45002         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45003         casing for LM_ID_BASE and GL(dl_nns).
45004         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45005         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45006         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45007         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45008         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45009         member.
45010         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45011         l_phnum members.
45013 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45015         * manual/debug.texi: Document MTASC-safety properties.
45017 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45019         [BZ #16510]
45020         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45021         of __x86_64__ when disabling x87 inline functions.
45023 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45025         * manual/charset.texi: Document MTASC-safety properties.
45027         * manual/crypt.texi: Document MTASC-safety properties.
45029         * manual/conf.texi: Document MTASC-safety properties.
45031         * manual/arith.texi: Document MTASC-safety properties.
45033         * manual/argp.texi: Document MTASC-safety properties.
45035         * manual/macros.texi: Introduce macros to document multi
45036         thread, asynchronous signal and asynchronous cancellation
45037         safety properties.
45038         * manual/intro.texi: Introduce the properties themselves.
45040 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45042         * sysdeps/sh/sh4/Makefile: New file.
45044 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45046         * math/gen-libm-test.pl ($srcdir): New variable.
45047         ($auto_input): Use it.
45049 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45051         [BZ #16506]
45052         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45053         access beyond array bounds when parsing netgroups file.
45055         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45056         the old buffer before realloc.
45058 2014-01-27  Allan McRae  <allan@archlinux.org>
45060         * po/fr.po: Update French translation from translation project.
45062 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45064         * sysdeps/sh/libm-test-ulps: Regenerate.
45066 2014-01-24  David S. Miller  <davem@davemloft.net>
45068         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45070 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45072         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45073         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45075 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45077         [BZ #16474]
45078         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45079         string pointers after reallocation.
45081 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45083         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45084         __SH4A__ instead of __SH_FPU_ANY__.
45086 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45088         * sysdeps/sh/fpu_control.h: New file.
45089         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45090         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45091         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45092         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45093         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45094         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45095         * sysdeps/sh/sys/ucontext.h: Remove.
45096         * sysdeps/sh/sys: Remove directory.
45098 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45100         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45101         s390/sys/ucontext.h.
45102         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45103         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45105 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45107         [BZ #15605]
45108         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45110 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45112         [BZ#16431]
45113         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45114         Adjust the vDSO correctly for internal calls.
45115         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45117 2014-01-20  Allan McRae  <allan@archlinux.org>
45119         * po/ca.po: Update Catalan translation from translation project.
45121 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45123         * sysdeps/s390/sotruss-lib.c: New file.
45125 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45127         [BZ#16430]
45128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45129         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45130         local calls issues by not having a PLT stub required for IFUNC calls.
45131         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45133 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45135         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45136         * math/test-fpucw-static.c: Likewise.
45138 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45140         [BZ #16453]
45141         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45143 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45145         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45146         implementation for powerpc.
45148 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45150         [BZ #14782]
45151         * sysdeps/posix/system.c (__libc_system): Do not enable
45152         asynchronous cancellation.
45154 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45156         [BZ #16427]
45157         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45158         handling only for numbers special also in the IEEE case.
45160 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45162         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45164 2014-01-11  Allan McRae  <allan@archlinux.org>
45166         * po/bg.po: Update Bulgarian translation from translation project.
45168         * po/de.po: Update German translation from translation project.
45170 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45172         * sysdeps/generic/gcc-compat.h: New file.
45174 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45176         * benchtests/asin-inputs: Correct slow inputs.
45177         * benchtests/acos-inputs: Likewise.
45179 2014-01-10  Allan McRae  <allan@archlinux.org>
45181         * po:sv.po: Update Swedish translation from translation project.
45183         * po/vi.po: Update Vietnamese translation from translation project.
45185         * po/eo.po: Update Esperanto translation from translation project.
45187         * po/cs.po: Update Czech translation from translation project.
45189         * po/nl.po: Update Dutch translation from translation project.
45191         * po/pl.po: Update Polish translation from translation project.
45193         * po/ru.po: Update Russian translation from translation project.
45195         * po/uk.po: Update Ukrainian translation from translation project.
45197 2014-01-08  Brooks Moses  <bmoses@google.com>
45199         * elf/dl-load.c: Fix comment typo.
45201 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45203         * po/header.pot: Rename to...
45204         * po/pot.header: ... this.
45205         * po/Makefile: Use pot.header.
45207 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45208             Maxim Kuvyrkov  <maxim@kugelworks.com>
45210         [BZ #16394]
45211         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45212         SRC and DEST against LEN.
45214 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45216         [BZ #16414]
45217         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45218         implementation.
45219         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45221 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45225 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45227         [BZ #16408]
45228         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45229         for large positive arguments.
45231 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45233         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45235         * math/auto-libm-test-in: Mark various tests with
45236         xfail-rounding:ldbl-128ibm.
45237         * math/auto-libm-test-out: Regenerated.
45239         [BZ #16407]
45240         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45241         Increase overflow threshold.
45243 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45245         [BZ #14286]
45246         * stdio-common/vfprintf.c: Check for integer overflow.
45248 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45250         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45251         the first argument and return value of __tls_get_addr_internal.
45253 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45255         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45256         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45258 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45260         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45261         * sysdeps/s390/rtld-global-offsets.sym: New file.
45262         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45263         GLIBC_2.19 symbol.
45264         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45265         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45266         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45267         ... this.
45268         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45269         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45270         ... this.
45271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45272         Regenerate.
45273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45274         Regenerate.
45275         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45276         halfs of GPRs for high_gprs contexts.
45277         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45278         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45279         field.
45280         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45281         uc_flags field.
45282         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45283         64 bit versions:
45284         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45285         for high GPRs (uc_high_gprs) and for future extensions
45286         (__reserved).
45287         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45288         for future extensions (__reserved).
45289         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45290         64 bit versions:
45291         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45292         SC_HIGHGPRS offset definition.
45293         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45294         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45296         * Versions.def: Add GLIBC_2.19 for libpthread.
45297         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45298         siglongjmp for libpthread with GLIBC_2.19 symver.
45299         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45300         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45301         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45302         * sysdeps/s390/__longjmp.c: New file.
45303         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45304         * sysdeps/s390/longjmp.c: New file.
45305         * sysdeps/s390/setjmp.S: New file.
45306         * sysdeps/s390/sigjmp.S: New file.
45307         * sysdeps/s390/v1-longjmp.c: New file.
45308         * sysdeps/s390/v1-setjmp.h: New file.
45309         * sysdeps/s390/v1-sigjmp.c: New file.
45310         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45311         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45312         GLIBC_2.19 version.
45313         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45314         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45315         versioned symbols for ____longjmp_chk.
45316         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45317         Likewise.
45318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45319         Regenerate.
45320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45321         Regenerate.
45322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45323         Regenerate.
45324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45325         Regenerate.
45326         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45327         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45328         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45329         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45330         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45331         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45332         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45333         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45334         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45335         * sysdeps/s390/rtld-__longjmp.c: New file.
45336         * sysdeps/s390/rtld-setjmp.S: New file.
45338 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45340         [BZ #16400]
45341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45342         Return -__logl (x) for small positive arguments without evaluating
45343         a polynomial.
45345 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45347         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45348         Rename to ...
45349         (__ptrace_peeksiginfo_args): ... this.
45350         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45351         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45352         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45354 2014-01-06  Allan McRae  <allan@archlinux.org>
45356         * inet/netinet/in.h: Fix typo in comment.
45358 2014-01-05  Andreas Jaeger  <aj@suse.de>
45360         * sysdeps/i386/fpu/libm-test-ulps: Update.
45362 2014-01-05  Allan McRae  <allan@archlinux.org>
45364         * po/libc.pot: Regenerated.
45366         * malloc/memusagestat.c: Fix gettext call formatting.
45368 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45370         * nscd/nscd.c: Improve usage() output.
45372 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45374         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45375         * sysdeps/unix/sysv/linux/configure: Regenerated.
45376         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45377         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45379 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45381         [BZ #16390]
45382         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45383         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45385 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45388         extra tokens at end of #undef directive.
45389         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45390         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45391         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45393 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45395         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45397         * math/auto-libm-test-in: Mark various tests with
45398         xfail-rounding:ldbl-128ibm.
45399         * math/auto-libm-test-out: Regenerated.
45401 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45403         [BZ #16386]
45404         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45405         numbers with subnormal high part when calculating exponent.
45407         [BZ #16385]
45408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45409         fabs.
45411         [BZ #16384]
45412         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45413         M_LN2l.
45414         (__ieee754_acoshl): Use __log1pl not __log1p.
45416 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45418         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45419         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45420         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45421         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45422         (reused_arena, arena_get2): Convert to GNU style.
45423         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45424         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45425         (memalign_check, __malloc_set_state): Likewise.
45426         * malloc/mallocbug.c (main): Likewise.
45427         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45428         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45429         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45430         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45431         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45432         (__posix_memalign, malloc_info): Likewise.
45433         * malloc/malloc.h: Likewise.
45434         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45435         (mallochook, memalignhook, reallochook, mabort): Likewise.
45436         * malloc/mcheck.h: Likewise.
45437         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45438         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45439         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45440         * malloc/morecore.c (__default_morecore): Likewise.
45441         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45442         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45443         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45444         (print_and_abort): Likewise.
45445         * malloc/obstack.h: Likewise.
45446         * malloc/set-freeres.c (__libc_freeres): Likewise.
45447         * malloc/tst-mallocstate.c (main): Likewise.
45448         * malloc/tst-mtrace.c (main): Likewise.
45449         * malloc/tst-realloc.c (do_test): Likewise.
45451 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45453         [BZ #16366]
45454         * nscd/netgroupcache.c (do_notfound): New function.
45455         (addgetnetgrentX): Use it.
45457         [BZ # 16365]
45458         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45459         NSS_STATUS_NOTFOUND.
45461 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45463         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45466 2014-01-01  Allan McRae  <allan@archlinux.org>
45468         * scripts/update-copyrights: Update configure input file suffix.
45470         * NEWS: Update copyright year.
45471         * catgets/gencat.c: Likewise.
45472         * csu/version.c: Likewise.
45473         * debug/catchsegv.sh: Likewise.
45474         * debug/pcprofiledump.c: Likewise.
45475         * debug/xtrace.sh: Likewise.
45476         * elf/ldconfig.c: Likewise.
45477         * elf/ldd.bash.in: Likewise.
45478         * elf/pldd.c: Likewise.
45479         * elf/sotruss.ksh: Likewise.
45480         * elf/sprof.c: Likewise.
45481         * iconv/iconv_prog.c: Likewise.
45482         * iconv/iconvconfig.c: Likewise.
45483         * locale/programs/locale.c: Likewise.
45484         * locale/programs/localedef.c: Likewise.
45485         * login/programs/pt_chown.c: Likewise.
45486         * malloc/memusage.sh: Likewise.
45487         * malloc/memusagestat.c: Likewise.
45488         * malloc/mtrace.pl: Likewise.
45489         * manual/libc.texinfo: Likewise.
45490         * nscd/nscd.c: Likewise.
45491         * nss/getent.c: Likewise.
45492         * nss/makedb.c: Likewise.
45493         * posix/getconf.c: Likewise.
45494         * scripts/test-installation.pl: Likewise.
45496         * All files with FSF copyright notices: Update copyright dates
45497         using scripts/update-copyrights.
45498         * intl/plural.c: Regenerated.
45499         * locale/programs/charmap-kw.h: Likewise.
45500         * locale/programs/locfile-kw.h: Likewise.
45502 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45504         * sysdeps/unix/sysv/linux/configure: Regenerated.
45505         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45506         the linux/fanotify.h header.
45507         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45508         HAVE_LINUX_FANOTIFY_H is defined.
45510 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45512         * benchtests/cos-inputs: New inputs.
45513         * benchtests/sin-inputs: Likewise.
45515         * benchtests/atan-inputs: New inputs. Fix name of multiple
45516         precision fallback inputs.
45518         * benchtests/atanh-inputs: New inputs.
45519         * benchtests/tanh-inputs: Likewise.
45521         * benchtests/acosh-inputs: New inputs.
45522         * benchtests/asinh-inputs: Likewise.
45524         * benchtests/cosh-inputs: New inputs.
45525         * benchtests/sinh-inputs: Likewise.
45527         * benchtests/acos-inputs: Add more inputs.
45528         * benchtests/asin-inputs: Likewise.
45530 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45532         [BZ #16375]
45533         * manual/arith.texi: Fix spelling.
45534         * manual/charset.texi: Likewise.
45535         * manual/errno.texi: Likewise.
45536         * manual/filesys.texi: Likewise.
45537         * manual/lang.texi: Likewise.
45538         * manual/llio.texi: Likewise.
45539         * manual/locale.texi: Likewise.
45540         * manual/message.texi: Likewise.
45541         * manual/resource.texi: Likewise.
45542         * manual/search.texi: Likewise.
45543         * manual/setjmp.texi: Likewise.
45544         * manual/stdio.texi: Likewise.
45545         * manual/string.texi: Likewise.
45546         * manual/sysinfo.texi: Likewise.
45547         * manual/time.texi: Likewise.
45549 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45551         * po/sl.po: New file.
45553 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45555         * .gitignore: Add core/.gdbinit/.gdb_history.
45557 2013-12-27  Allan McRae  <allan@archlinux.org>
45559         [BZ #16369]
45560         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45561         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45563 2013-12-24  Brooks Moses  <bmoses@google.com>
45565         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45566         all compilers that claim C++98 compliance, not just GCC.
45567         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45568         Likewise.
45570 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45572         * NEWS: Restore accidentally deleted bug-fix entries.
45574 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45575             Ondřej Bílka  <neleai@seznam.cz>
45577         [BZ #15073]
45578         * malloc/malloc.c (_int_free): Perform sanity check only if we
45579         have_lock.
45581 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45583         [BZ #12986]
45584         * manual/stdio.texi (String Input Conversions): Clarify that character
45585         classes are not supported.
45587 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45591 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45593         [BZ #16337]
45594         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45595         Calculate results for small negative arguments directly rather
45596         than using reflection formula with special underflow handling.
45598         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45599         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45600         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45601         (fchflags): Likewise.
45602         (revoke): Likewise.
45603         (setlogin): Likewise.
45604         (sigaltstack): Likewise.
45605         (wait4): Likewise.
45606         (sigblock): Remove.
45607         (sigsetmask): Likewise.
45608         (wait3): Likewise.
45609         (waitpid): Likewise.
45610         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45611         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45612         file.
45613         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45614         * sysdeps/unix/bsd/Makefile: ... here.
45615         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45616         * sysdeps/unix/bsd/Versions: ... here.
45617         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45618         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45619         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45620         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45621         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45622         * sysdeps/unix/bsd/sigblock.c: ... here.
45623         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45624         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45625         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45626         * sysdeps/unix/bsd/sigvec.c: ... here.
45627         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45628         * sysdeps/unix/bsd/tcdrain.c: ... here.
45629         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45630         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45631         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45632         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45633         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45634         * sysdeps/unix/bsd/wait.c: ... here.
45635         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45636         * sysdeps/unix/bsd/wait3.c: ... here.
45637         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45638         * sysdeps/unix/bsd/waitpid.c: ... here.
45640 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45642         [BZ #16356]
45643         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45644         round-to-nearest for [!USE_AS_EXPM1L].
45645         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45646         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45647         more tests of exp and exp10.  Expect some exp10 tests to miss
45648         exceptions or fail in directed rounding modes.
45649         * math/auto-libm-test-out: Regenerated.
45650         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45651         (exp10_test_tonearest): New function.
45652         (exp10_towardzero_test_data): New array.
45653         (exp10_test_towardzero): New function.
45654         (exp10_downward_test_data): New array.
45655         (exp10_test_downward): New function.
45656         (exp10_upward_test_data): New array.
45657         (exp10_test_upward): New function.
45658         (main): Call the new functions.
45659         * sysdeps/i386/fpu/libm-test-ulps: Update.
45660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45662 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45664         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45665         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45666         * math/auto-libm-test-out: Regenerated.
45667         * math/libm-test.inc (acosh_test_data): Add more tests.
45668         (atanh_test_data): Likewise.
45669         (ceil_test_data): Likewise.
45670         (copysign_test_data): Likewise.
45671         * sysdeps/i386/fpu/libm-test-ulps: Update.
45672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45674         * timezone/checktab.awk: Update from tzcode 2013i.
45675         * timezone/private.h: Likewise.
45676         * timezone/scheck.c: Likewise.
45677         * timezone/tzfile.h: Likewise.
45678         * timezone/tzselect.ksh: Likewise.
45679         * timezone/zdump.c: Likewise.
45680         * timezone/zic.c: Likewise.
45682         * math/auto-libm-test-in: Add tests of cpow.
45683         * math/auto-libm-test-out: Regenerated.
45684         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45686         mpc_cc_c.
45687         (func_calc_desc): Add mpc_cc_c union field.
45688         (test_functions): Add cpow.
45689         (special_fill_2pi): New function.
45690         (special_real_inputs): Add 2pi.
45691         (calc_generic_results): Handle mpc_cc_c.
45692         * sysdeps/i386/fpu/libm-test-ulps: Update.
45693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45695         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45696         csqrt, ctan and ctanh.
45697         * math/auto-libm-test-out: Regenerated.
45698         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45699         (TEST_COND_x86): Likewise.
45700         (ccos_test_data): Use AUTO_TESTS_c_c.
45701         (ccosh_test_data): Likewise.
45702         (cexp_test_data): Likewise.
45703         (clog_test_data): Likewise.
45704         (csqrt_test_data): Likewise.
45705         (ctan_test_data): Likewise.
45706         (ctan_tonearest_test_data): Likewise.
45707         (ctan_towardzero_test_data): Likewise.
45708         (ctan_downward_test_data): Likewise.
45709         (ctan_upward_test_data): Likewise.
45710         (ctanh_test_data): Likewise.
45711         (ctanh_tonearest_test_data): Likewise.
45712         (ctanh_towardzero_test_data): Likewise.
45713         (ctanh_downward_test_data): Likewise.
45714         (ctanh_upward_test_data): Likewise.
45715         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45716         mpc_c_c.
45717         (func_calc_desc): Add mpc_c_c union field.
45718         (FUNC_mpc_c_c): New macro.
45719         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45720         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45721         ctanh.
45722         (special_fill_min_subnorm_p120): New function.
45723         (special_real_inputs): Add min_subnorm_p120.
45724         (calc_generic_results): Handle mpc_c_c.
45725         * sysdeps/i386/fpu/libm-test-ulps: Update.
45726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45728 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45730         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45731         (do_sin_slow): New functions.
45732         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45733         (cslow2, csloww1, csloww2): Use the new functions.
45735         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45736         Use M to change sign of result instead of X.  Assume X is
45737         positive.
45738         (csloww1): Likewise.
45739         (__sin): Adjust.
45740         (__cos): Adjust.
45742         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45743         arguments A and DA.
45744         (__sin): Adjust.
45745         (__cos): Likewise.
45747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45748         (__cos): Likewise.
45749         (sloww1): Don't adjust sign of DX.
45750         (csloww1): Likewise.
45751         (sloww2): Use X directly and don't adjust sign of DX.
45752         (csloww2): Likewise.
45754 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45756         * math/auto-libm-test-in: Add tests of cabs and carg.
45757         * math/auto-libm-test-out: Regenerated.
45758         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45759         (carg_test_data): Likewise.
45760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45761         mpc_c_f.
45762         (func_calc_desc): Add mpc_c_f union field.
45763         (test_functions): Add cabs and carg.
45764         (calc_generic_results): Handle mpc_c_f.
45766         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45767         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45768         as a macro and a compat symbol.
45769         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45770         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45771         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45772         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45773         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45774         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45775         not use .hidden.
45776         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45777         Likewise.
45778         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45779         Likewise.
45780         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45781         Likewise.
45782         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45783         Likewise.
45784         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45785         Likewise.
45786         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45787         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45788         from GLIBC_2.3.2.
45790 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45794 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45796         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45797         trailing whitespace removed.
45798         * scripts/config.guess: Update to version 2013-11-29.
45799         * scripts/config.sub: Update to version 2013-10-01.
45801         * math/auto-libm-test-in: Add tests of sincos.
45802         * math/auto-libm-test-out: Regenerated.
45803         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45804         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45805         mpfr_f_11.
45806         (func_calc_desc): Add mpfr_f_11 union field.
45807         (test_functions): Add sincos.
45808         (calc_generic_results): Handle mpfr_f_11.
45809         * sysdeps/i386/fpu/libm-test-ulps: Update.
45810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45812 2013-12-19  Andreas Schwab  <schwab@suse.de>
45814         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45815         CALL_MCOUNT.
45816         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45817         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45818         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45820 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45822         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45823         * sysdeps/i386/fpu/libm-test-ulps: Update.
45824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45826         [BZ #16293]
45827         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45828         round-to-nearest mode when using frndint.
45829         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45830         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45832         Likewise.
45833         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45834         sinh test to fail.
45835         * math/auto-libm-test-out: Regenerated.
45836         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45837         (TEST_COND_x86): Likewise.
45838         (expm1_tonearest_test_data): New array.
45839         (expm1_test_tonearest): New function.
45840         (expm1_towardzero_test_data): New array.
45841         (expm1_test_towardzero): New function.
45842         (expm1_downward_test_data): New array.
45843         (expm1_test_downward): New function.
45844         (expm1_upward_test_data): New array.
45845         (expm1_test_upward): New function.
45846         (main): Run the new test functions.
45847         * sysdeps/i386/fpu/libm-test-ulps: Update.
45848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45850         * include/features.h: Update comment documenting feature test
45851         macros.  Mention _DEFAULT_SOURCE in comment.
45852         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45853         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45854         _BSD_SOURCE and _SVID_SOURCE.
45855         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45856         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45857         !_SVID_SOURCE]: Likewise.
45858         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45859         (__USE_POSIX_IMPLICITLY): Define.
45860         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45861         (_POSIX_SOURCE): Undefine and redefine.
45862         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45863         (_POSIX_C_SOURCE): Likewise.
45864         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45865         (Feature Test Macros): Update documentation of default features.
45867 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45869         * benchtests/Makefile: Add bench-strtok.
45870         * benchtests/bench-strtok.c: New file: strtok benchtest.
45872 2013-12-19  Allan McRae  <allan@archlinux.org>
45874         * manual/install.texi: Suppress menu for plain text output.
45875         * INSTALL: Regenerated.
45877 2013-12-18  Brooks Moses  <bmoses@google.com>
45879         [BZ #15846]
45880         * misc/getauxval.c: Include errno.h.
45881         (__getauxval): Set errno to ENOENT if the requested type is not
45882         found.
45883         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45884         don't declare with __attribute_const__.
45885         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45886         * manual/startup.texi: Document that getauxval sets errno.
45888 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45890         * math/auto-libm-test-in: Add tests of jn and yn.
45891         * math/auto-libm-test-out: Regenerated.
45892         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45893         (yn_test_data): Likewise.
45894         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45895         mpfr_if_f.
45896         (func_calc_desc): Add mpfr_if_f union field.
45897         (FUNC_mpfr_if_f): New macro.
45898         (test_functions): Add jn and yn.
45899         (calc_generic_results): Assert type of second input for
45900         mpfr_ff_f.  Handle mpfr_if_f.
45901         (output_for_one_input_case): Disable all checking for arguments
45902         fitting floating-point types in case of an integer argument.
45903         * sysdeps/i386/fpu/libm-test-ulps: Update.
45904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45907         Don't expect fegetround reference in libm.so.
45909 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45911         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45912         $(config-cflags-nofma).
45914 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45916         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45917         * math/auto-libm-test-out: Regenerated.
45919         [BZ #16338]
45920         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45921         to determine exponent and adjust argument to have exponent of -1.
45922         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45923         log2.
45924         * math/auto-libm-test-out: Regenerated.
45925         * sysdeps/i386/fpu/libm-test-ulps: Update.
45926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45928 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45930         * manual/probes.texi: Remove cases when per-thread arenas are
45931         disabled.
45933 2013-12-18  Andreas Schwab  <schwab@suse.de>
45935         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45936         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45937         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45938         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45939         * sysdeps/i386/i686/multiarch/Makefile: Update.
45940         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45942 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45944         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45945         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45947 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45949         [BZ #15968]
45950         Support TZ transition times < 00:00:00.
45951         This is needed for version-3 tz-format files; it supports time
45952         stamps past 2037 for America/Godthab (the only entry in the tz
45953         database for which this change is relevant).
45954         * manual/time.texi (TZ Variable): Document transition times
45955         from -167:59:59 through -00:00:01.
45956         * time/tzset.c (tz_rule): Time of day is now signed.
45957         (__tzset_parse_tz): Parse negative time of day.
45959         Document TZ transition times >= 25:00:00.
45960         * manual/time.texi (TZ Variable): Document transition times from
45961         25:00:00 through 167:59:59.  These are already supported, and this
45962         support will help with version-3 tz-format files.
45964         * manual/time.texi (TZ Variable): Modernize North America example
45965         to reflect current (i.e., 2007-and-later) daylight saving rules.
45967         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45969 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45971         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45972         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45975         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45976         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45977         * sysdeps/unix/bsd/clock.c: Likewise.
45978         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45979         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45980         * sysdeps/unix/bsd/init-posix.c: Likewise.
45981         * sysdeps/unix/bsd/poll.c: Likewise.
45982         * sysdeps/unix/bsd/ptsname.c: Likewise.
45983         * sysdeps/unix/bsd/seekdir.c: Likewise.
45984         * sysdeps/unix/bsd/setegid.c: Likewise.
45985         * sysdeps/unix/bsd/seteuid.c: Likewise.
45986         * sysdeps/unix/bsd/setgid.c: Likewise.
45987         * sysdeps/unix/bsd/setrgid.c: Likewise.
45988         * sysdeps/unix/bsd/setruid.c: Likewise.
45989         * sysdeps/unix/bsd/setsid.c: Likewise.
45990         * sysdeps/unix/bsd/setuid.c: Likewise.
45991         * sysdeps/unix/bsd/sigaction.c: Likewise.
45992         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45993         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45994         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45995         * sysdeps/unix/bsd/telldir.c: Likewise.
45996         * sysdeps/unix/bsd/times.c: Likewise.
45997         * sysdeps/unix/bsd/usleep.c: Likewise.
45999         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46000         ($(objpfx)libbsd-compat.a): Remove rule.
46002         * include/features.h (__FAVOR_BSD): Do not define.
46003         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46004         features conflicting with POSIX.
46005         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46006         (_BSD_SOURCE): Remove description of not being a subset of other
46007         feature test macros.
46008         * manual/job.texi (getpgrp): Do not document BSD version.
46009         (getpgid): Do not document by reference to BSD getpgrp.
46010         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46011         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46012         * signal/signal.h [__FAVOR_BSD]: Likewise.
46013         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46014         instead of making contents conditional on [__FAVOR_BSD].
46015         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46017 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46021 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46023         [BZ #16314]
46024         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46025         values below 2**-450, not 2**-500.
46026         * math/auto-libm-test-in: Don't allow spurious underflow from
46027         hypot.
46028         * math/auto-libm-test-out: Regenerated.
46030         [BZ #16316]
46031         [BZ #16330]
46032         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46033         values of ha and hb and sort them after adjusting subnormal
46034         arguments.
46035         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46036         Likewise.
46037         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46038         values of ea and eb and sort them after adjusting subnormal
46039         arguments.
46040         * math/auto-libm-test-in: Do not expect some hypot tests of
46041         subnormals to fail.  Add more hypot tests.
46042         * math/auto-libm-test-out: Regenerated.
46044 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46046         [BZ #13304]
46047         * sysdeps/sh/s_fma.c: New file.
46048         * sysdeps/sh/s_fmaf.c: New file.
46049         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46050         version.
46051         * sysdeps/sh/Implies: Add sh/soft-fp.
46053 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46055         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46056         level of indirection to members `objname', `errstring', `malloced'.
46057         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46058         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46059         it as the __longjmp argument (just pass 1 instead).
46060         (_dl_catch_error): Initialize C with argument pointers and address of
46061         volatile local ERRCODE rather than copying values out of C at return.
46063 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46065         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46066         * math/auto-libm-test-out: Regenerated.
46067         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46068         (hypot_test_data): Likewise.
46069         (pow_test_data): Likewise.
46070         (pow_tonearest_test_data): Likewise.
46071         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46072         mpfr_ff_f.
46073         (func_calc_desc): Add mpfr_ff_f union field.
46074         (FUNC_mpfr_ff_f): New macro.
46075         (test_functions): Add atan2, hypot and pow.
46076         (special_fill_min): New function.
46077         (special_fill_minus_min): Likewise.
46078         (special_fill_min_subnorm): Likewise.
46079         (special_fill_minus_min_subnorm): Likewise.
46080         (special_real_inputs): Add min, -min, min_subnorm and
46081         -min_subnorm.
46082         (calc_generic_results): Handle mpfr_ff_f.
46083         * sysdeps/i386/fpu/libm-test-ulps: Update.
46084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46086 2013-12-16  Will Newton  <will.newton@linaro.org>
46088         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46089         (Aligned Memory Blocks): Add documentation for aligned_alloc
46090         and suggest it as an alternative to posix_memalign.
46091         (Hooks for Malloc): Document __memalign_hook is also called
46092         for aligned_alloc.  (Summary of Malloc): Add summary for
46093         aligned alloc.  Document __memalign_hook is also called
46094         for aligned_alloc.
46096 2013-12-16  Will Newton  <will.newton@linaro.org>
46098         * manual/memory.texi (Malloc Examples): Clarify default
46099         alignment documentation.  Suggest posix_memalign rather
46100         than memalign or valloc.
46101         (Aligned Memory Blocks): Remove suggestion to use memalign
46102         or valloc.  Remove obsolete comment about BSD.
46103         Document memalign errno values and mark the function obsolete.
46104         Document posix_memalign returned error codes.  Mark valloc
46105         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46106         called for posix_memalign and valloc.
46107         (Summary of Malloc): Add posix_memalign to function summary.
46108         __memalign_hook is also called for posix_memalign and valloc.
46110 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46112         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46113         TAYLOR_SIN.
46114         (__sin): Adjust.
46115         (__cos): Likewise.
46116         (sloww): Use mynumber union.  Expand ternary operator into
46117         if-else statements.
46118         (cslow): use mynumber union.
46120 2013-12-16  Allan McRae  <allan@archlinux.org>
46122         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46123         * configure: Regenerated.
46125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46127         [BZ #14120]
46128         * configure.ac: Added --enable-maintainer-mode. Check for
46129         autoconf when enabled.
46130         * configure: Regenerated.
46132         * nscd/nscd.service: New file.
46133         * nscd/nscd.tmpfiles: New file.
46135 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46137         [BZ #12100]
46138         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46139         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46140         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46141         (strstr): Add __strstr_sse2_unaligned ifunc.
46142         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46143         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46144         (strcasestr): Remove __strcasestr_sse42 ifunc.
46145         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46149 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46151         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46152         * sysdeps/sh/bits/fenv.h: ... here.
46153         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46157         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46160         hypotf multiarch implementations.
46161         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46162         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46164         multiarch hypot for PPC64.
46165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46167         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46168         multiarch hypotf for PPC64.
46170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46171         modff multiarch implementations.
46172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46175         multiarch modf for PPC64.
46176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46179         multiarch modff for PPC64.
46181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46182         and logl multiarch implementations.
46183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46186         multiarch logb for PPC64.
46187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46190         multiarch logb for PPC64.
46191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46194         multiarch logb for PPC64.
46196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46197         isinff multiarch implementation.
46198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46199         file.
46200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46202         multiarch isinf for PPC64.
46203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46204         file.
46205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46206         multiarch isinff for PPC64.
46208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46209         finitef multiarch implementation.
46210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46211         file.
46212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46214         multiarch finite for PPC64.
46215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46216         file.
46217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46218         multiarch finitef for PPC64.
46220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46221         lrint multiarch implementation.
46222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46223         file.
46224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46226         multiarch llrint for PPC64.
46227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46228         multiarch lrint for PPC64.
46230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46231         copysignf multiarch implementation.
46232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46233         file.
46234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46235         file.
46236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46237         multiarch copysign for PPC64.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46239         multiarch copysignf for PPC64.
46241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46242         multiarch implementation.
46243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46244         file.
46245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46246         file.
46247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46248         file.
46249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46250         file.
46251         multiarch llround for PPC64.
46252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46253         multiarch trunc for PPC64.
46254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46255         multiarch truncf for PPC64.
46257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46258         multiarch implementation.
46259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46260         file.
46261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46262         file.
46263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46264         file.
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46266         file.
46267         multiarch llround for PPC64.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46269         multiarch round for PPC64.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46271         multiarch roundf for PPC64.
46273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46274         multiarch implementation.
46275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46276         file.
46277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46278         file.
46279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46280         file.
46281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46282         file.
46283         multiarch llround for PPC64.
46284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46285         multiarch floor for PPC64.
46286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46287         multiarch floorf for PPC64.
46289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46290         multiarch implementation.
46291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46292         file.
46293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46294         file.
46295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46296         file.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46298         file.
46299         multiarch llround for PPC64.
46300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46301         multiarch ceil for PPC64.
46302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46303         multiarch ceilf for PPC64.
46305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46306         multiarch implementation.
46307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46308         file.
46309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46310         file.
46311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46312         file.
46313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46314         multiarch llround for PPC64.
46315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46316         multiarch lround for PPC64.
46318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46319         multiarch implementation.
46320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46323         file.
46324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46327         multiarch isnan for PPC64.
46328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46329         multiarch isnanf for PPC64.
46331         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46332         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46333         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46334         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46335         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46338         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46339         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46340         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46344         multiarch implementations.
46345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46346         (__libc_ifunc_impl_list): Likewise.
46347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46350         multiarch stpcpy for PPC64.
46352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46353         multiarch implementations.
46354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46355         (__libc_ifunc_impl_list): Likewise.
46356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46358         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46359         multiarch strcpy for PPC64.
46361         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46362         redefine function name.
46363         (_wordcopy_fwd_dest_aligned): Likewise.
46364         (_wordcopy_bwd_aligned): Likewise.
46365         (_wordcopy_bwd_dest_aligned): Likewise.
46366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46367         multiarch implementations.
46368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46369         (__libc_ifunc_impl_list): Likewise.
46370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46371         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46372         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46373         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46374         multiarch wcscpy for PPC64.
46376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46377         multiarch implementations.
46378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46379         (__libc_ifunc_impl_list): Likewise.
46380         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46381         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46382         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46383         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46384         multiarch wcscpy for PPC64.
46386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46387         multiarch implementations.
46388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46389         (__libc_ifunc_impl_list): Likewise.
46390         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46391         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46392         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46393         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46394         multiarch wcsrchr for PPC64.
46396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46397         multiarch implementations.
46398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46399         (__libc_ifunc_impl_list): Likewise.
46400         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46401         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46402         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46403         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46404         multiarch wcschr for PPC64.
46406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46407         multiarch implementations.
46408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46409         (__libc_ifunc_impl_list): Likewise.
46410         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46411         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46412         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46413         multiarch strchrnul for PPC64.
46415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46416         implementations.
46417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46418         (__libc_ifunc_impl_list): Likewise.
46419         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46420         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46421         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46422         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46423         strchr for PPC64.
46425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46426         implementations.
46427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46428         (__libc_ifunc_impl_list): Likewise.
46429         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46430         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46431         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46432         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46433         strncmp for PPC64.
46435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46436         multiarch implementations.
46437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46438         (__libc_ifunc_impl_list): Likewise.
46439         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46440         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46441         strncasecmp for PPC64.
46442         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46443         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46444         multiarch strncasecmp_l for PPC64.
46446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46447         multiarch implementations.
46448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46449         (__libc_ifunc_impl_list): Likewise.
46450         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46452         multiarch strcasecmp for PPC64.
46453         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46454         file.
46455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46456         multiarch strcasecmp_l for PPC64.
46458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46459         implementations.
46460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46461         (__libc_ifunc_impl_list): Likewise.
46462         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46463         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46464         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46465         strnlen for PPC64.
46467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46468         implementations.
46469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46470         (__libc_ifunc_impl_list): Likewise.
46471         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46472         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46473         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46474         strlen for PPC64.
46476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46477         implementations.
46478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46479         (__libc_ifunc_impl_list): Likewise.
46480         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46481         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46482         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46483         rawmemrchr for PPC64.
46485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46486         implementation.
46487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46488         (__libc_ifunc_impl_list): Likewise.
46489         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46490         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46491         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46492         memrchr for PPC64.
46494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46495         implementation.
46496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46497         (__libc_ifunc_impl_list): Likewise.
46498         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46499         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46500         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46501         memchr for PPC64.
46503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46504         implementation.
46505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46506         (__libc_ifunc_impl_list): Likewise.
46507         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46508         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46509         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46510         mempcpy for PPC64.
46512         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46513         avoid cretion of __bzero symbol.
46514         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46515         Likewise.
46516         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46517         Likewise.
46518         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46519         Likewise.
46520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46521         multiarch implementations.
46522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46523         (__libc_ifunc_impl_list): Likewise.
46524         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46525         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46526         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46527         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46528         bzero for PPC32.
46529         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46530         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46531         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46532         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46533         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46534         memset for PPC64.
46535         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46537         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46539         implementations.
46540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46541         (__libc_ifunc_impl_list): Likewise.
46542         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46543         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46544         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46545         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46546         memcmp for PPC64.
46548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46549         multiarch for POWER/PPC64.
46550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46551         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46552         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46554         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46555         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46558         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46559         memcpy for PPC64.
46561         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46562         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46563         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46564         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46565         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46566         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46567         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46568         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46569         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46570         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46571         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46572         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46573         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46574         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46575         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46584 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46586         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46588 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46590         * benchtests/Makefile (bench): Add exp2 and log2.
46591         (LDLIBS-bench-exp2): Add -lm.
46592         (LDLIBS-bench-log2): Likewise.
46593         * benchtests/exp2-inputs: New inputs file.
46594         * benchtests/log2-inputs: New inputs file.
46595         * benchtests/log-inputs: Add new inputs.
46596         * benchtests/tan-inputs: Likewise.
46598 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46600         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46601         definition...
46602         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46603         (csloww2): ... from here.
46605         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46606         instead of structures.
46607         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46608         (POLYNOMIAL): Likewise.
46609         (TAYLOR_SLOW): Likewise.
46610         (__sin): Likewise.
46611         (__cos): Likewise.
46612         (slow1): Likewise.
46613         (slow2): Likewise.
46614         (sloww): Likewise.
46615         (sloww1); Likewise.
46616         (sloww2): Likewise.
46617         (bsloww1): Likewise.
46618         (bsloww2): Likewise.
46619         (cslow2): Likewise.
46620         (csloww): Likewise.
46621         (csloww1): Likewise.
46622         (csloww2): Likewise.
46624 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46626         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46627         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46628         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46629         * malloc/hooks.c (realloc_check): Likewise.
46631         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46632         * malloc/arena.c: Remove PER_THREAD conditional.
46633         [!PER_THREAD]: Remove code.
46634         (ptmalloc_unlock_all2): Likewise.
46635         (ptmalloc_init): Likewise.
46636         (_int_new_arena): Likewise.
46637         (arena_get2): Likewise.
46638         * malloc/hooks.c (__malloc_get_state): Likewise.
46639         (__malloc_set_state): Likewise.
46640         * malloc/malloc.c: Likewise.
46641         (struct malloc_state): Likewise.
46642         (struct malloc_par): Likewise.
46643         (__libc_realloc): Likewise.
46644         (__libc_mallopt): Likewise.
46646 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46648         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46650 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46652         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46653         macro to a function.  Check for zero perturb_byte.
46654         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46656         * malloc/malloc.c: (force_reg): Remove.
46657         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46658         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46659         force_reg by atomic_forced_read.
46660         * malloc/arena.c (ptmalloc_init): Likewise.
46661         * malloc/hooks.c (top_check): Likewise.
46663 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46667 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46671 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46673         * math/auto-libm-test-in: Add tests of lgamma.
46674         * math/auto-libm-test-out: Regenerated.
46675         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46676         (M_LOG_2_SQRT_PIl): Likewise.
46677         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46678         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46679         mpfr_f_f1.
46680         (func_calc_desc): Add mpfr_f_f1 union field.
46681         (ARGS1): New macro.
46682         (ARGS2): Likewise.
46683         (ARGS3): Likewise.
46684         (ARGS4): Likewise.
46685         (RET1): Likewise.
46686         (RET2): Likewise.
46687         (CALC): Likewise.
46688         (FUNC): Likewise.
46689         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46690         (test_functions): Add lgamma.
46691         (calc_generic_results): Handle mpfr_f_f1.
46692         * sysdeps/i386/fpu/libm-test-ulps: Update.
46693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46695 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46697         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46698         __mpn_add_n for PowerPC64/POWER7.
46699         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46700         __mpn_sub_n for PowerPC64/POWER7.
46702         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46703         __mpn_addmul_1 for PowerPC64.
46704         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46705         __mpn_submul_1 for PowerPC64.
46706         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46707         for PowerPC64.
46708         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46709         for PowerPC64.
46711 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46713         [BZ #15089]
46714         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46716 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46718         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46720         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46721         add multiarch folders.
46722         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46723         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46724         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46725         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46726         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46727         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46728         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46729         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46730         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46731         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46732         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46741         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46743         New file.
46744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46745         New file.
46746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46747         multiarch __ieee754_hypot for PowerPC32.
46748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46749         New file.
46750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46751         New file.
46752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46753         multiarch __ieee754_hypotf for PowerPC32.
46755         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46756         long_double_symbol only if __logbl is defined.
46757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46758         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46760         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46761         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46762         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46764         path for implementation.
46765         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46766         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46768         logb, and logbl multiarch implementations for PowerPC32.
46769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46770         file.
46771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46772         file.
46773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46774         multiarch logb for PowerPC32.
46775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46776         file.
46777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46778         file.
46779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46780         multiarch logbf for PowerPC32.
46781         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46783         file.
46784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46785         multiarch logbl implementation for PowerPC32.
46787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46788         and modff multiarch implementations.
46789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46790         New file.
46791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46792         New file.
46793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46794         multiarch modf for PowerPC32.
46795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46796         New file.
46797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46798         New file.
46799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46800         multiarch modff for PowerPC32.
46802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46803         and lrintf multiarch implementations.
46804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46805         New file.
46806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46807         New file.
46808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46809         multiarch lrint for PowerPC32.
46810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46811         file: multiarch lrintf for PowerPC32.
46813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46814         and lroundf multiarch implementations.
46815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46816         New file.
46817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46818         New file.
46819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46820         New file.
46821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46822         multiarch lround for PowerPC32.
46823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46824         file: multiarch lroundf for PowerPC32.
46826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46827         copysign and copysignf multiarch implementations.
46828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46829         New file.
46830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46831         New file.
46832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46833         file: multiarch copysign for PowerPC32.
46834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46835         file: multiarch copysignf for PowerPC32.
46837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46838         and truncf multiarch implementations.
46839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46840         New file.
46841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46842         file.
46843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46844         multiarch trunc for PowerPC32.
46845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46846         New file.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46848         New file.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46850         multiarch truncf for PowerPC32.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46853         and roundf multiarch implementations.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46855         New file.
46856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46857         file.
46858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46859         multiarch round for PowerPC32.
46860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46861         New file.
46862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46863         New file.
46864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46865         multiarch roundf for PowerPC32.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46868         and floorf multiarch implementations.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46870         New file.
46871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46872         file.
46873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46874         multiarch floor for PowerPC32.
46875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46876         New file.
46877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46878         New file.
46879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46880         multiarch floorf for PowerPC32.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46883         and ceilf multiarch implementations.
46884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46885         New file.
46886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46887         file.
46888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46889         multiarch ceil for PowerPC32.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46891         New file.
46892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46893         file.
46894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46895         multiarch ceilf for PowerPC32.
46897         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46898         is defined.
46899         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46900         FINITEF is defined.
46901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46902         and finitef multiarch implementations.
46903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46904         New file.
46905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46906         file.
46907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46908         multiarch finite for PowerPC32.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46910         New file.
46911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46912         file: multiarch finitef for PowerPC32.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46915         and isinff multiarch implementations.
46916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46917         file.
46918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46919         file.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46921         multiarch isinf for PowerPC32.
46922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46923         New file.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46925         multiarch isinff for PowerPC32.
46927         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46928         alias when __isnan is defined.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46930         and isnanf multiarch implementations.
46931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46932         file.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46934         file.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46936         file.
46937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46938         file.
46939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46940         multiarch isnan for PowerPC32.
46941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46942         New file.
46943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46944         New file.
46945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46946         multiarch isnanf for PowerPC32.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46949         and sqrtf multiarch implementations.
46950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46951         file.
46952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46953         file.
46954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46955         multiarch sqrt for PowerPC32.
46956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46957         file.
46958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46959         file.
46960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46961         multiarch sqrtf for PowerPC32.
46963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46964         and llroundf multiarch implementations.
46965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46966         New file.
46967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46968         New file.
46969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46970         New file.
46971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46972         file: multiarch llround for PowerPC32.
46973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46974         file: multiarch llroundf for PowerPC32.
46976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46977         multiarch PowerPC32 fpu implementations.
46978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46979         New file.
46980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46981         New file.
46982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46983         multiarch llrint for PowerPC32.
46984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46985         New file.
46986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46987         New file.
46988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46989         file.
46991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46993         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46994         file.
46995         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46996         file.
46997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46998         file.
46999         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47000         multiarch wordcopy for PPC32.
47001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47002         wordcopy objects.
47003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47004         (__libc_ifunc_impl_list): Likewise.
47005         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47006         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47007         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47008         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47009         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47010         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47012         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47014         file.
47015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47016         file.
47017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47018         file.
47019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47020         multiarch wcscpy for PPC32.
47021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47022         multiarch objects.
47023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47024         (__libc_ifunc_impl_list): Likewise.
47025         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47026         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47027         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47028         sysdeps/powerpc/power6/wcscpy.c.
47030         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47032         file.
47033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47034         file.
47035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47036         file.
47037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47038         multiarch wcsrchr for PPC32.
47039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47040         multiarch objects.
47041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47042         (__libc_ifunc_impl_list): Likewise.
47043         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47044         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47045         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47046         sysdeps/powerpc/power6/wcsrchr.c.
47048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47049         file.
47050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47051         file.
47052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47054         multiarch wcschr for PPc32.
47055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47056         multiarch objects.
47057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47058         (__libc_ifunc_impl_list): Likewise.
47059         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47060         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47061         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47062         sysdeps/powerpc/power6/wcschr.c.
47064         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47065         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47066         file.
47067         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47068         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47069         file: multiarch strchr for PPC32.
47070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47071         multiarch objects.
47072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47073         (__libc_ifunc_impl_list): Likewise.
47075         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47076         name.
47077         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47078         file.
47079         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47080         file.
47081         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47082         multiarch strchrnul for PPC32.
47083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47084         multiarch objects.
47085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47086         (__libc_ifunc_impl_list): Likewise.
47088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47089         file.
47090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47091         multiarch strncasecmp for PPC32.
47092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47093         file.
47094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47095         multiarch strncasecmp_l for PPC32.
47096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47097         strncasecmp multiarch objects.
47098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47099         (__libc_ifunc_impl_list): Likewise.
47101         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47102         file.
47103         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47104         multiarch strncasecmp for PPC32.
47105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47106         New file.
47107         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47108         multiarch strcasecmp_l for PPC32.
47109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47110         multiarch objects.
47111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47112         (__libc_ifunc_impl_list): Likewise.
47114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47115         file.
47116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47117         file.
47118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47119         multiarch strncmp for PPC32.
47120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47121         multiarch objects.
47122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47123         (__libc_ifunc_impl_list): Likewise.
47125         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47126         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47127         file.
47128         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47129         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47131         multiarch objects.
47132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47133         (__libc_ifunc_impl_list): Likewise.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47136         file.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47138         file.
47139         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47141         multiarch objects.
47142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47143         (__libc_ifunc_impl_list): Likewise.
47145         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47146         file.
47147         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47148         file.
47149         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47150         multiarch rawmemchr for PPC32.
47151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47152         multiarch objects.
47153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47154         (__libc_ifunc_impl_list): Likewise.
47156         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47157         file.
47158         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47159         file.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47161         file: memrchr multiarch for PPC32.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47163         multiarch objects.
47164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47165         (__libc_ifunc_impl_list): Likewise.
47167         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47169         file.
47170         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47172         multiarch memchr for PPC32.
47173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47174         multiarch objects.
47175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47176         (__libc_ifunc_impl_list): Likewise.
47178         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47179         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47180         file.
47181         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47182         file.
47183         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47184         file: multiarch mempcpy for PPC32.
47185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47186         multiarch objects.
47187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47188         (__libc_ifunc_impl_list): Likewise.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47191         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47192         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47193         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47194         multiarch bzero for PPC32.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47196         file.
47197         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47198         file.
47199         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47200         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47201         file: multiarch memset for PPC32.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47204         memset multiarch objects.
47205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47206         (__libc_ifunc_impl_list): Likewise.
47208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47209         file.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47212         memcmp for PPC32.
47213         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47215         multiarch objects.
47216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47217         (__libc_ifunc_impl_list): Likewise.
47219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47222         file.
47223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47224         file.
47225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47226         file.
47227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47228         multiarch memcpy for PPC32.
47229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47230         multiarch objects.
47231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47232         (__libc_ifunc_impl_list): Likewise.
47234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47235         support multiarch for POWER/PPC32.
47236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47237         Likewise.
47238         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47240         Implies file to make multiarch folder appers before the fpu and
47241         default folder for power4 configuration.
47243 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * scripts/bench.pl: Append volatile keyword to type.
47247 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47249         * sysdeps/sh/sotruss-lib.c: New file.
47250         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47252 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47256 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47258         [BZ #6810]
47259         * math/w_tgamma.c: Include <errno.h>.
47260         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47261         * math/w_tgammaf.c: Include <errno.h>.
47262         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47263         * math/w_tgammal.c: Include <errno.h>.
47264         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47265         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47266         underflow.  Add more tgamma tests.
47267         * math/auto-libm-test-out: Regenerated.
47268         * sysdeps/i386/fpu/libm-test-ulps: Update.
47269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47271         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47272         sin, sinh, tan, tanh, tgamma, y0 and y1.
47273         * math/auto-libm-test-out: Regenerated.
47274         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47275         (TEST_COND_x86): Likewise.
47276         (M_E2l): Remove macro.
47277         (M_E3l): Likewise.
47278         (M_2_SQRT_PIl): Likewise.
47279         (M_SQRT_PIl): Likewise.
47280         (M_1_DIV_El): Likewise.
47281         (log_test_data): Use AUTO_TESTS_f_f.
47282         (log10_test_data): Likewise.
47283         (log1p_test_data): Likewise.
47284         (log2_test_data): Likewise.
47285         (sin_test_data): Likewise.
47286         (sin_tonearest_test_data): Likewise.
47287         (sin_towardzero_test_data): Likewise.
47288         (sin_downward_test_data): Likewise.
47289         (sin_upward_test_data): Likewise.
47290         (sinh_test_data): Likewise.
47291         (sinh_tonearest_test_data): Likewise.
47292         (sinh_towardzero_test_data): Likewise.
47293         (sinh_downward_test_data): Likewise.
47294         (sinh_upward_test_data): Likewise.
47295         (tan_test_data): Likewise.
47296         (tan_tonearest_test_data): Likewise.
47297         (tan_towardzero_test_data): Likewise.
47298         (tan_downward_test_data): Likewise.
47299         (tan_upward_test_data): Likewise.
47300         (tanh_test_data): Likewise.
47301         (tgamma_test_data): Likewise.
47302         (y0_test_data): Likewise.
47303         (y1_test_data): Likewise.
47304         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47305         (special_real_inputs): Add pi/4.
47306         * sysdeps/i386/fpu/libm-test-ulps: Update.
47307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47309 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47311         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47312         "longjmp_target" static probes.
47313         (__longjmp): Rename to __longjmp_symbol.
47314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47315         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47316         on which longjmp to generate.
47317         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47318         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47319         probe.
47320         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47321         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47322         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47323         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47324         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47325         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47327         __longjmp_symbol based on which __longjmp to generate.
47328         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47329         probe.
47330         (setjmp): Rename to setjmp_symbol.
47331         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47332         (_setjmp): Rename to _setjmp_symbol.
47333         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47334         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47335         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47336         which setjmp to generate.
47337         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47338         "longjmp_target" static probes.
47340 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47342         * benchtests/README: Add note about output arguments.
47343         * benchtests/bench-sincos.c: Remove file.
47344         * benchtests/sincos-inputs: New file.
47345         * scripts/bench.pl: Identify output arguments and define
47346         static variables for them.
47348         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47350         [BZ #15941]
47351         * Makefile (INSTALL): Add install-plain.texi as the primary
47352         dependency.
47353         * manual/install-plain.texi: New file.
47354         * manual/install.texi: Include node directive only for
47355         non-plaintext output.
47357 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47359         * stdlib/longlong.h: Update from GCC.
47361         [BZ #6807]
47362         [BZ #15901]
47363         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47364         * math/w_j0f.c (y0f): Likewise.
47365         * math/w_j0l.c (__y0l): Likewise.
47366         * math/w_j1.c (y1): Likewise.
47367         * math/w_j1f.c (y1f): Likewise.
47368         * math/w_j1l.c (__y1l): Likewise.
47369         * math/w_jn.c (yn): Likewise.
47370         * math/w_jnf.c (ynf): Likewise.
47371         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47372         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47373         value for Bessel function domain errors outside _SVID_ mode.
47374         Adjust sign of return value for yn (negative integer, 0).
47375         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47376         by zero in return for negative x and set sign appropriately for
47377         negative n.
47378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47379         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47380         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47381         expectations in error cases.
47382         (y1_test_data): Likewise.
47383         (yn_test_data): Likewise.
47384         * sysdeps/i386/fpu/libm-test-ulps: Update.
47385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47387 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47389         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47390         "64" to "64-v1".  Add "64-v2".
47391         (abi-64-options): Rename to ...
47392         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47393         (abi-64-condition): Rename to ...
47394         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47395         (abi-64-ld-soname): Rename to ...
47396         (abi-64-v1-ld-soname): ... this.
47397         (abi-64-v2-options): Define.
47398         (abi-64-v2-condition): Likewise.
47399         (abi-64-v2-ld-soname): Likewise.
47400         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47401         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47406 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47407             Alan Modra  <amodra@gmail.com>
47409         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47410         New versions for use with the ELFv2 ABI.
47411         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47412         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47413         declaration.
47414         (struct La_ppc64v2_retval): Likewise.
47415         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47416         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47417         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47418         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47419         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47420         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47421         Do not save or restore CR.
47422         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47423         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47424         return values for ELFv2 ABI.  Fix location of FPR return registers.
47425         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47426         updated values for _CALL_ELF == 2.
47427         (La_regs, La_retval, int_retval): Likewise.
47429 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47431         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47432         (FRAME_MIN_SIZE_PARM): Likewise.
47433         (FRAME_BACKCHAIN): Likewise.
47434         (FRAME_CR_SAVE): Likewise.
47435         (FRAME_LR_SAVE): Likewise.
47436         (FRAME_TOC_SAVE): Likewise.
47437         (FRAME_PARM_SAVE): Likewise.
47438         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47439         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47440         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47441         (call_mcount_parm_offset): New macro.
47442         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47443         (PROF): Use symbolic stack frame offsets.
47444         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47445         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47446         Redefine in terms of FRAME_MIN_SIZE.
47447         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47448         (_dl_profile_resolve): Likewise.  Update comment.
47449         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47450         symbols stack frame offsets.
47451         (__sigsetjmp): Likewise.
47452         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47453         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47454         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47455         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47458         (FRAME_BACKCHAIN): Remove.
47459         (FRAME_CR_SAVE): Likewise.
47460         (FRAME_LR_SAVE): Likewise.
47461         (FRAME_COMPILER_DW): Likewise.
47462         (FRAME_LINKER_DW): Likewise.
47463         (FRAME_TOC_SAVE): Likewise.
47464         (FRAME_PARM_SAVE): Likewise.
47465         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47466         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47467         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47469         (CHECK_SP): Use symbolic stack frame offsets.
47470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47471         zone" instead of caller's parameter save area for temp storage.
47472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47473         Likewise.  Also, use symbolic stack frame offsets.
47474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47475         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47476         our own stack frame instead of the caller's.
47477         (__socket): Use symbolic stack frame offsets.
47479 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47480             Alan Modra  <amodra@gmail.com>
47482         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47483         Define.
47484         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47485         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47486         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47487         New function.
47488         (elf_machine_fixup_plt): Call it.
47489         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47490         reloc arguments.
47491         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47492         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47493         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47494         r2 before calling target.
47496 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47497             Alan Modra  <amodra@gmail.com>
47499         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47500         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47501         versions of macros to support ELFv2 ABI.
47502         (LOCALENTRY): New macro.
47503         (ENTRY, EALIGN): Use it.
47504         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47505         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47506         fall through into ENTRY entry point.
47507         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47508         Only define if _CALL_ELF != 2.
47510         (elf_machine_matches_host): Verify ABI version matches.
47511         (RTLD_START): Use LOCALENTRY.
47512         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47513         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47514         (PLT_ENTRY_WORDS): New macro.
47515         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47516         (elf_machine_runtime_setup): Support ELFv2 ABI.
47517         (elf_machine_fixup_plt): Likewise.
47518         (elf_machine_plt_conflict): Likewise.
47519         (resolve_ifunc): Likewise.
47520         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47521         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47522         Likewise.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47524         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47526         (makecontext): Support ELFv2 ABI.
47527         * elf/elf.h (EF_PPC64_ABI): Define.
47529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47531         * sysdeps/powerpc/powerpc64/sysdep.h
47532         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47533         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47534         (ENTRY) [ASSEMBLER]: ... but instead here ...
47535         (EALIGN) [ASSEMBLER]: ... and here.
47536         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47537         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47538         (ENTRY_2) [!ASSEMBLER]: Use it.
47539         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47540         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47541         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47542         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47543         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47545         Use PPC64_LOAD_FUNCPTR.
47547         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47549 2013-12-04  Alan Modra  <amodra@gmail.com>
47551         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47552         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47553         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47554         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47556         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47557         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47558         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47559         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47560         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47561         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47563 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47566         (__makecontext): Fix incorrect CFI when backtracing out of
47567         context created via makecontext.
47568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47569         (__setcontext): Fix incorrect CFI during switch to new context.
47570         (__novec_setcontext): Likewise.
47572 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47574         [BZ #4772]
47575         * time/strptime_l.c (__strptime_internal): Allow modifiers
47576         in strptime.
47577         * time/tst-strptime.c (day_tests): Add testcase.
47579 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47581         * scripts/bench.pl: Skip over blank lines.
47583 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47585         [BZ #926]
47586         * manual/time.texi (Calendar Time): Clarify what timezone functions
47587         use.
47589 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47593 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47595         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47596         implementation.
47597         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47598         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47599         * debug/memset_chk.c (__memset_chk): Likewise.
47600         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47601         * debug/strncpy_chk.c: Likewise.
47603 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47605         [BZ #15268]
47606         [BZ #15425]
47607         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47608         (__ieee754_exp): For possibly underflowing results, check size of
47609         result and force underflow exception if required.
47610         * math/auto-libm-test-in: Add more tests of exp.
47611         * math/auto-libm-test-out: Regenerated.
47612         * sysdeps/i386/fpu/libm-test-ulps: Update.
47613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47615         [BZ #16283]
47616         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47617         * math/w_exp2f.c (__exp2f): Likewise.
47618         * math/w_exp2l.c (__exp2l): Likewise.
47619         * math/auto-libm-test-in: Do not allow missing errno on exp2
47620         underflow.
47621         * math/auto-libm-test-out: Regenerated.
47623 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47625         [BZ #16274]
47626         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47627         handle filename validation.
47628         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47629         (do_open): Delete.
47631 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47633         [BZ #6786]
47634         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47635         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47636         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47637         <float.h>.
47638         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47639         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47640         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47641         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47642         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47643         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47644         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47645         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47646         Add more erfc tests.
47647         * math/auto-libm-test-out: Regenerated.
47648         * sysdeps/i386/fpu/libm-test-ulps: Update.
47649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47651         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47652         exp2, expm1, j0 and j1.
47653         * math/auto-libm-test-out: Regenerated.
47654         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47655         (erfc_test_data): Likewise.
47656         (exp_test_data): Likewise.
47657         (exp_tonearest_test_data): Likewise.
47658         (exp_towardzero_test_data): Likewise.
47659         (exp_downward_test_data): Likewise.
47660         (exp_upward_test_data): Likewise.
47661         (exp10_test_data): Likewise.
47662         (exp2_test_data): Likewise.
47663         (expm1_test_data): Likewise.
47664         (j0_test_data): Likewise.
47665         (j1_test_data): Likewise.
47666         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47667         (input_flag_type): Add flag_xfail_rounding.
47668         (input_flags): Add xfail-rounding.
47669         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47670         (output_for_one_input_case): Handle flag_xfail_rounding.
47671         * sysdeps/i386/fpu/libm-test-ulps: Update.
47672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47674 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47676         [BZ #16289]
47677         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47678         division by 0.
47680 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47682         [BZ #16195]
47683         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47684         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47685         (STAP_PROBE0): New macro.
47686         (STAP_PROBE1): Likewise.
47687         (STAP_PROBE2): Likewise.
47688         (STAP_PROBE3): Likewise.
47689         (STAP_PROBE4): Likewise.
47691 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47693         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47695 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47697         * benchtests/Makefile (bench): Add sqrt.
47698         (LDLIBS-bench-sqrt): New.
47699         * benchtests/sqrt-input: New.
47701 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47703         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47704         (GAIH_EAI): Likewise.
47705         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47706         (gaih_inet): Likewise.
47707         (getaddrinfo): Don't use GAIH_EAI.
47709         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47710         (struct gaih): Remove definition.
47712 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47715         Use HERRNOP directly.
47717 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47721 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47723         * math/gen-auto-libm-tests.c (test_functions): Add more
47724         single-argument functions.
47725         (special_fill_pi_2): New function.
47726         (special_fill_minus_pi_2): Likewise.
47727         (special_fill_pi_6): Likewise.
47728         (special_fill_minus_pi_6): Likewise.
47729         (special_fill_pi_3): Likewise.
47730         (special_fill_2pi_3): Likewise.
47731         (special_fill_e): Likewise.
47732         (special_fill_1_e): Likewise.
47733         (special_fill_e_minus_1): Likewise.
47734         (special_real_inputs): Add more special inputs.
47735         (output_for_one_input_case): Do not require ERANGE on underflow to
47736         zero if round-to-nearest result does not underflow to zero, unless
47737         exact results required.
47738         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47739         atan, atanh, cbrt, cos and cosh.
47740         * math/auto-libm-test-out: Regenerated.
47741         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47742         (acos_tonearest_test_data): Likewise.
47743         (acos_towardzero_test_data): Likewise.
47744         (acos_downward_test_data): Likewise.
47745         (acos_upward_test_data): Likewise.
47746         (acosh_test_data): Likewise.
47747         (asin_test_data): Likewise.
47748         (asin_tonearest_test_data): Likewise.
47749         (asin_towardzero_test_data): Likewise.
47750         (asin_upward_test_data): Likewise.
47751         (asinh_test_data): Likewise.
47752         (atan_test_data): Likewise.
47753         (atanh_test_data): Likewise.
47754         (cbrt_test_data): Likewise.
47755         (cos_test_data): Likewise.
47756         (cos_tonearest_test_data): Likewise.
47757         (cos_towardzero_test_data): Likewise.
47758         (cos_downward_test_data): Likewise.
47759         (cos_upward_test_data): Likewise.
47760         (cosh_test_data): Likewise.
47761         (cosh_tonearest_test_data): Likewise.
47762         (cosh_towardzero_test_data): Likewise.
47763         (cosh_downward_test_data): Likewise.
47764         (cosh_upward_test_data): Likewise.
47765         * sysdeps/i386/fpu/libm-test-ulps: Update.
47766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47768 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47770         [BZ #6787]
47771         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47772         * math/w_exp10f.c (__exp10f): Likewise.
47773         * math/w_exp10l.c (__exp10l): Likewise.
47774         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47775         errno settings in existing tests.
47777         [BZ #14032]
47778         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47779         precision control set to double precision.
47780         * sysdeps/i386/fpu/w_sqrt.c: New file.
47781         * math/auto-libm-test-in: Add more tests.
47782         * math/auto-libm-test-out: Update.
47784         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47785         (sqrt_test_tonearest): New function.
47786         (sqrt_towardzero_test_data): New variable.
47787         (sqrt_test_towardzero): New function.
47788         (sqrt_downward_test_data): New variable.
47789         (sqrt_test_downward): New function.
47790         (sqrt_upward_test_data): New variable.
47791         (sqrt_test_upward): New function.
47792         (main): Call the new functions.
47794         * math/gen-auto-libm-tests.c: New file.
47795         * math/auto-libm-test-in: Likewise.
47796         * math/auto-libm-test-out: New generated file.
47797         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47798         variables.
47799         (%beautify): Add generated representations of zero.
47800         (top level): Set $auto_input and call parse_auto_input.
47801         (beautify): Remove trailing "f" from hex float constants.
47802         (parse_args): Handle XFAIL_TEST.
47803         (convert_condition): New function.
47804         (or_value): Likewise.
47805         (or_cond_value): Likewise.
47806         (generate_testfile): Handle AUTO_TESTS_* lines.
47807         (parse_auto_input): New function.
47808         * math/libm-test.inc (XFAIL_TEST): New macro.
47809         (ERRNO_UNCHANGED): Update value.
47810         (ERRNO_EDOM): Likewise.
47811         (ERRNO_ERANGE): Likewise.
47812         (IGNORE_RESULT): Likewise.
47813         (TEST_COND_flt_32): New macro.
47814         (TEST_COND_dbl_64): Likewise.
47815         (TEST_COND_ldbl_96_intel): Likewise.
47816         (TEST_COND_ldbl_96_m68k): Likewise.
47817         (TEST_COND_ldbl_128): Likewise.
47818         (TEST_COND_ldbl_128ibm): Likewise.
47819         (TEST_COND_long32): Likewise.
47820         (TEST_COND_long64): Likewise.
47821         (TEST_COND_before_rounding): Likewise.
47822         (TEST_COND_after_rounding): Likewise.
47823         (enable_test): Handle XFAIL_TEST flag.
47824         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47825         with finite results.
47826         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47827         auto-libm-test-out.
47829 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47830             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47832         [BZ #16214]
47833         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47834         __tls_get_addr_internal instead of __tls_get_offset in order to
47835         avoid GOT pointer dependency.  Make rtld export
47836         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47837         __tls_get_addr since we are a __tls_get_offset platform.
47838         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47839         GOT pointer being set up before.
47840         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47842 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47844         * manual/math.texi (Errors in Math Functions): Document accuracy
47845         goals.
47847         [BZ #15004]
47848         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47849         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47850         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47852         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47853         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47854         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47855         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47856         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47857         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47858         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47859         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47861         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47862         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47863         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47865         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47866         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47867         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47868         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47869         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47870         Likewise.
47871         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47872         Likewise.
47873         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47874         Likewise.
47875         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47876         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47877         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47878         atomic-feupdateenv and flt-rounds.
47879         * sysdeps/powerpc/nofpu/Versions (libc): Add
47880         __atomic_feholdexcept, __atomic_feclearexcept,
47881         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47883         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47884         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47885         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47886         here.
47887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47888         Update.
47890         * manual/arith.texi (FP Exceptions): Document that exceptions may
47891         not be raised when matherr is used.
47892         (Math Error Reporting): Document overflow in directed rounding
47893         modes.  Document that errno may not be set when finite values are
47894         returned on overflow.  Document intent to set errno on underflow
47895         only for underflow to zero.
47897         [BZ #16271]
47898         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47899         round-to-nearest then adjust result for other rounding modes.
47900         * include/fenv.h (fegetround): Use libm_hidden_proto.
47901         * math/fegetround.c (fegetround): Use libm_hidden_def.
47902         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47903         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47904         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47905         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47906         Likewise.
47907         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47908         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47909         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47910         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47912 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47914         [BZ #16077]
47915         * nss/Versions (libnss_files): Add
47916         _nss_files_gethostbyname3_r.
47917         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47918         New function.
47919         (HOST_DB_LOOKUP): Remove macro.
47920         (_nss_files_gethostbyname_r): Implement function without the
47921         HOST_DB_LOOKUP macro.
47922         (_nss_files_gethostbyname2_r): Likewise.
47924 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47926         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47928 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47930         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47931         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47932         warning.
47934 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47936         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47937         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47938         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47939         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47940         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47941         __fe_nomask_env_priv and attribute_hidden.
47942         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47943         (libc_feupdateenv_test_ppc): Likewise.
47944         (libc_feresetround_ppc): Likewise.
47945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47946         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47947         compat_symbol macro.
47948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47949         (__fe_nomask_env): Likewise.
47950         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47952 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47954         * string/Makefile: Remove ifunc tests.
47955         * string/test-string.h: Define TEST_IFUNC.
47956         * string/test-bcopy-ifunc.c: Remove.
47957         * string/test-bzero-ifunc.c: Likewise.
47958         * string/test-memccpy-ifunc.c: Likewise.
47959         * string/test-memchr-ifunc.c: Likewise.
47960         * string/test-memcmp-ifunc.c: Likewise.
47961         * string/test-memcpy-ifunc.c: Likewise.
47962         * string/test-memmem-ifunc.c: Likewise.
47963         * string/test-memmove-ifunc.c: Likewise.
47964         * string/test-mempcpy-ifunc.c: Likewise.
47965         * string/test-memrchr-ifunc.c: Likewise.
47966         * string/test-memset-ifunc.c: Likewise.
47967         * string/test-rawmemchr-ifunc.c: Likewise.
47968         * string/test-stpcpy-ifunc.c: Likewise.
47969         * string/test-stpncpy-ifunc.c: Likewise.
47970         * string/test-strcasecmp-ifunc.c: Likewise.
47971         * string/test-strcasestr-ifunc.c: Likewise.
47972         * string/test-strcat-ifunc.c: Likewise.
47973         * string/test-strchr-ifunc.c: Likewise.
47974         * string/test-strchrnul-ifunc.c: Likewise.
47975         * string/test-strcmp-ifunc.c: Likewise.
47976         * string/test-strcpy-ifunc.c: Likewise.
47977         * string/test-strcspn-ifunc.c: Likewise.
47978         * string/test-strlen-ifunc.c: Likewise.
47979         * string/test-strncasecmp-ifunc.c: Likewise.
47980         * string/test-strncat-ifunc.c: Likewise.
47981         * string/test-strncmp-ifunc.c: Likewise.
47982         * string/test-strncpy-ifunc.c: Likewise.
47983         * string/test-strnlen-ifunc.c: Likewise.
47984         * string/test-strpbrk-ifunc.c: Likewise.
47985         * string/test-strrchr-ifunc.c: Likewise.
47986         * string/test-strspn-ifunc.c: Likewise.
47987         * string/test-strstr-ifunc.c: Likewise.
47989 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47991         * benchtests/Makefile: Remove ifunc tests.
47992         * benchtests/bench-string.h: Define TEST_IFUNC.
47993         * benchtests/bench-bcopy-ifunc.c: Remove.
47994         * benchtests/bench-bzero-ifunc.c: Likewise.
47995         * benchtests/bench-memccpy-ifunc.c: Likewise.
47996         * benchtests/bench-memchr-ifunc.c: Likewise.
47997         * benchtests/bench-memcmp-ifunc.c: Likewise.
47998         * benchtests/bench-memcpy-ifunc.c: Likewise.
47999         * benchtests/bench-memmem-ifunc.c: Likewise.
48000         * benchtests/bench-memmove-ifunc.c: Likewise.
48001         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48002         * benchtests/bench-memrchr-ifunc.c: Likewise.
48003         * benchtests/bench-memset-ifunc.c: Likewise.
48004         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48005         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48006         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48007         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48008         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48009         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48010         * benchtests/bench-strcat-ifunc.c: Likewise.
48011         * benchtests/bench-strchr-ifunc.c: Likewise.
48012         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48013         * benchtests/bench-strcmp-ifunc.c: Likewise.
48014         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48015         * benchtests/bench-strcpy-ifunc.c: Likewise.
48016         * benchtests/bench-strcspn-ifunc.c: Likewise.
48017         * benchtests/bench-strlen-ifunc.c: Likewise.
48018         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48019         * benchtests/bench-strncat-ifunc.c: Likewise.
48020         * benchtests/bench-strncmp-ifunc.c: Likewise.
48021         * benchtests/bench-strncpy-ifunc.c: Likewise.
48022         * benchtests/bench-strnlen-ifunc.c: Likewise.
48023         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48024         * benchtests/bench-strrchr-ifunc.c: Likewise.
48025         * benchtests/bench-strsep-ifunc.c: Likewise.
48026         * benchtests/bench-strspn-ifunc.c: Likewise.
48027         * benchtests/bench-strstr-ifunc.c: Likewise.
48029 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48031         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48033 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48035         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48036         * rt/aio.h: Likewise.
48037         * sysdeps/gnu/bits/utmp.h: Likewise.
48038         * sysdeps/gnu/bits/utmpx.h: Likewise.
48039         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48040         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48041         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48042         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48043         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48044         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48045         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48046         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48047         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48048         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48049         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48050         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48051         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48053         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48054         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48055         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48056         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48057         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48058         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48059         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48060         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48061         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48062         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48063         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48065         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48066         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48067         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48068         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48069         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48070         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48071         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48072         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48073         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48074         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48075         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48076         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48077         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48078         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48079         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48080         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48082 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48084         [BZ #16245]
48085         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48086         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48088 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48090         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48091         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48092         Likewise.
48094 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48096         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48097         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48098         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48099         (__fesetround): Remove define.
48100         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48101         rounding and exceptions handling.
48102         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48103         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48104         (__fe_nomask_env): Likewise.
48105         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48106         __fegetround instead of fegetround.
48107         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48108         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48110 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48112         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48113         it's there.
48115         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48117 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48119         [BZ #11157]
48120         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48121         (encrypt_r): Likewise.
48122         * malloc/obstack.h (obstack_free): Likewise.
48123         * posix/unistd.h (encrypt): Likewise.
48125 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48127         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48128         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48129         DL_CALL_DT_FINI() that call the functions directly.
48130         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48131         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48132         * elf/dl-fini.c: Likewise.
48134 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48136         * malloc/hooks.c (memalign_check): Add alignment rounding.
48137         * malloc/malloc.c (_mid_memalign): New function.
48138         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48139         Implement by calling _mid_memalign.
48140         * manual/probes.texi (Memory Allocation Probes): Remove
48141         memory_valloc_retry and memory_pvalloc_retry.
48143 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48145         * locale/programs/locarchive.c (open_archive): Add const
48146         qualifier to ARCHIVEFNAME and copy default fname to
48147         DEFAULT_FNAME.
48149         [BZ #15601]
48150         * libio/tst-widetext.input: Rename Oriya to Odia.
48151         * locale/iso-639.def: Likewise.
48153         * manual/probes.texi (Mathematical Function Probes): Add
48154         documentation for sin, cos, asin and acos probes.
48155         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48156         (__sin32): Add slowasin probe.
48157         (__cos32): Add slowacos probe.
48158         (__mpsin): Add slowsin probe.
48159         (__mpcos): Add slowcos probe.
48161 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48163         [BZ #15483]
48164         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48165         thread-local __sim_exceptions_thread and global
48166         __sim_exceptions_global.
48167         (__sim_disabled_exceptions): Change to thread-local
48168         __sim_disabled_exceptions_thread and global
48169         __sim_disabled_exceptions_global.
48170         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48171         and global __sim_round_mode_global.
48172         (__simulate_exceptions): Use thread-local floating-point state and
48173         set global state from it as needed.
48174         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48175         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48176         __sim_round_mode_thread.
48177         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48178         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48179         and global __sim_exceptions_global.
48180         (__sim_disabled_exceptions): Change to thread-local
48181         __sim_disabled_exceptions_thread and global
48182         __sim_disabled_exceptions_global.
48183         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48184         and global __sim_round_mode_global.
48185         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48186         (SIM_SET_GLOBAL): Likewise.
48187         * sysdeps/powerpc/soft-fp/sfp-machine.h
48188         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48189         __sim_round_mode_thread.
48190         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48191         __sim_disabled_exceptions_thread.
48192         (__sim_exceptions): Change to __sim_exceptions_thread.
48193         (__sim_disabled_exceptions): Change to
48194         __sim_disabled_exceptions_thread.
48195         (__sim_round_mode): Change to __sim_round_mode_thread.
48196         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48197         thread-local floating-point state and set global state from it as
48198         needed.
48199         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48200         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48201         (__sim_disabled_exceptions): Remove extern declaration.
48202         (feenableexcept): Use thread-local floating-point state and set
48203         global state from it as needed.
48204         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48205         extern declaration.
48206         (__sim_disabled_exceptions): Likewise.
48207         (__sim_round_mode): Likewise.
48208         (__fegetenv): Use thread-local floating-point state.
48209         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48210         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48211         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48212         floating-point state and set global state from it as needed.
48213         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48214         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48215         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48216         Likewise.
48217         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48218         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48219         Likewise.
48220         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48221         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48222         Use __sim_round_mode_thread.
48223         * math/test-fenv-tls.c: New file.
48224         * math/Makefile (tests): Add test-fenv-tls.
48225         ($(objpfx)test-fenv-tls): Depend on
48226         $(common-objpfx)nptl/libpthread.so.
48228 2013-11-19  Andreas Schwab  <schwab@suse.de>
48230         * locale/programs/locale.c (show_info): Decode wordarray elements.
48231         * locale/categories.def (LC_MONETARY): Add element for
48232         _NL_MONETARY_CRNCYSTR.
48233         * locale/C-monetary.c (conversion_rate): New variable.
48234         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48235         element.
48237 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48239         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48240         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48242 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48244         * elf/Makefile (tst-auxv): New test.
48245         * elf/tst-auxv.c: New
48246         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48248 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48250         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48251         (hidden_proto): Caller changed.
48252         (hidden_tls_proto): New macro.
48253         (libc_hidden_tls_proto): Likewise.
48254         (rtld_hidden_tls_proto): Likewise.
48255         (libm_hidden_tls_proto): Likewise.
48256         (libresolv_hidden_tls_proto): Likewise.
48257         (librt_hidden_tls_proto): Likewise.
48258         (libdl_hidden_tls_proto): Likewise.
48259         (libnss_files_hidden_tls_proto): Likewise.
48260         (libnsl_hidden_tls_proto): Likewise.
48261         (libnss_nisplus_hidden_tls_proto): Likewise.
48262         (libutil_hidden_tls_proto): Likewise.
48264 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48266         [BZ #10253]
48267         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48268         (decompose_rpath): Defer expansion to fillin_rpath.
48269         (_dl_init_paths): Pass linkmap to fillin_rpath.
48271 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48273         * benchtests/Makefile: Add strsep.
48274         * benchtests/bench-strsep.c: New file: strsep benchtest.
48275         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48277 2013-11-18  Andreas Schwab  <schwab@suse.de>
48279         * locale/programs/locale.c (show_info) [case byte]: Check for
48280         '\377' instead of '\177'.
48281         * locale/C-monetary.c (not_available): Always use "\377".
48282         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48283         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48284         detect unavailable sign_posn locale elements.
48285         * locale/localeconv.c (__localeconv): For grouping and
48286         mon_grouping handle "\177" and "\377" like no grouping.
48287         (INT_ELEM): New macro.  Use it to set all numeric members.
48288         * locale/programs/ld-monetary.c (monetary_read)
48289         <tok_mon_grouping>: Normalize single -1 to the empty string.
48290         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48291         Likewise.
48293 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48295         [BZ #16055]
48296         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48297         when we match (nil).
48298         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48300 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48302         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48303         (NO_TEST_INLINE): Update value.
48304         (ERRNO_UNCHANGED): Likewise.
48305         (ERRNO_EDOM): Likewise.
48306         (ERRNO_ERANGE): Likewise.
48307         (IGNORE_RESULT): Likewise.
48308         (check_float_internal): Check signs of NaN results if
48309         TEST_NAN_SIGN used.
48310         (check_complex): Pass TEST_NAN_SIGN flag through to second
48311         check_float_internal call.
48312         (copysign_test_data): Add tests with quiet NaNs as second
48313         argument.  Use TEST_NAN_SIGN.
48314         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48315         TEST_NAN_SIGN.
48316         (signbit_test_data): Add tests of quiet NaN argument.
48317         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48319         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48320         $ignore_result.
48321         (parse_args): Handle function results specified as IGNORE.
48322         * math/libm-test.inc (IGNORE_RESULT): New macro.
48323         (check_float_internal): Do not check numerical result if flag
48324         IGNORE_RESULT set.
48325         (check_complex): Pass through IGNORE_RESULT to second
48326         check_float_internal call.
48327         (check_int): Do not check numerical result if flag IGNORE_RESULT
48328         set.
48329         (check_long): Likewise.
48330         (check_bool): Likewise.
48331         (check_longlong): Likewise.
48332         (lrint_test_data): Add tests of infinite and NaN arguments.
48333         (lrint_tonearest_test_data): Likewise.
48334         (lrint_towardzero_test_data): Likewise.
48335         (lrint_downward_test_data): Likewise.
48336         (lrint_upward_test_data): Likewise.
48337         (llrint_test_data): Likewise.
48338         (llrint_tonearest_test_data): Likewise.
48339         (llrint_towardzero_test_data): Likewise.
48340         (llrint_downward_test_data): Likewise.
48341         (llrint_upward_test_data): Likewise.
48342         (lround_test_data): Likewise.
48343         (llround_test_data): Likewise.
48345         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48346         (ERRNO_UNCHANGED): Update value.
48347         (ERRNO_EDOM): Likewise.
48348         (ERRNO_ERANGE): Likewise.
48349         (NO_TEST_INLINE_FLOAT): New macro.
48350         (NO_TEST_INLINE_DOUBLE): Likewise.
48351         (enable_test): New function.
48352         (RUN_TEST_f_f): Check enable_test before running test.
48353         (RUN_TEST_2_f): Likewise.
48354         (RUN_TEST_fff_f): Likewise.
48355         (RUN_TEST_c_f): Likewise.
48356         (RUN_TEST_f_f1): Likewise.
48357         (RUN_TEST_fF_f1): Likewise.
48358         (RUN_TEST_fI_f1): Likewise.
48359         (RUN_TEST_ffI_f1): Likewise.
48360         (RUN_TEST_c_c): Likewise.
48361         (RUN_TEST_cc_c): Likewise.
48362         (RUN_TEST_f_i): Likewise.
48363         (RUN_TEST_f_i_tg): Likewise.
48364         (RUN_TEST_ff_i_tg): Likewise.
48365         (RUN_TEST_f_b): Likewise.
48366         (RUN_TEST_f_b_tg): Likewise.
48367         (RUN_TEST_f_l): Likewise.
48368         (RUN_TEST_f_L): Likewise.
48369         (RUN_TEST_fFF_11): Likewise.
48370         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48371         conditionals.
48372         (cosh_test_data): Likewise.
48373         (exp_test_data): Likewise.
48374         (expm1_test_data): Likewise.
48375         (hypot_test_data): Likewise.
48376         (pow_test_data): Likewise.
48377         (sinh_test_data): Likewise.
48378         (tanh_test_data): Likewise.
48379         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48380         flags argument.
48382         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48383         tests with quiet NaN input and output.
48384         (acosh_test_data): Likewise.
48385         (asin_test_data): Likewise.
48386         (asinh_test_data): Likewise.
48387         (atan_test_data): Likewise.
48388         (atanh_test_data): Likewise.
48389         (atan2_test_data): Likewise.
48390         (cbrt_test_data): Likewise.
48391         (cos_test_data): Likewise.
48392         (cosh_test_data): Likewise.
48393         (erf_test_data): Likewise.
48394         (erfc_test_data): Likewise.
48395         (exp_test_data): Likewise.
48396         (exp10_test_data): Likewise.
48397         (exp2_test_data): Likewise.
48398         (expm1_test_data): Likewise.
48399         (hypot_test_data): Likewise.
48400         (j0_test_data): Likewise.
48401         (j1_test_data): Likewise.
48402         (jn_test_data): Likewise.
48403         (lgamma_test_data): Likewise.
48404         (log_test_data): Likewise.
48405         (log10_test_data): Likewise.
48406         (log1p_test_data): Likewise.
48407         (log2_test_data): Likewise.
48408         (pow_test_data): Likewise.
48409         (scalb_test_data): Likewise.
48410         (sin_test_data): Likewise.
48411         (sincos_test_data): Likewise.
48412         (sinh_test_data): Likewise.
48413         (tan_test_data): Likewise.
48414         (tanh_test_data): Likewise.
48415         (tgamma_test_data): Likewise.
48416         (y0_test_data): Likewise.
48417         (y1_test_data): Likewise.
48418         (yn_test_data): Likewise.
48420         [BZ #16167]
48421         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48422         argument being NaN and avoid computations with second argument in
48423         that case.
48424         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48425         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48426         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48428 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48430         * locale/iso-639.def: Add Chitwani Tharu (the).
48432 2013-11-14  Andreas Schwab  <schwab@suse.de>
48434         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48435         word instead of empty string.
48437 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48440         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48442         (__fe_nomask_env): Likewise.
48444 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48446         * benchtests/bench-timing.h: Include time.h.
48448 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48450         [BZ #15997]
48451         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48452         to 3.4.0 for x32.
48453         * sysdeps/unix/sysv/linux/configure: Regenerated.
48455 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48457         [BZ #16151]
48458         * stdlib/strtod_l.c (round_and_return): Do not consider
48459         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48460         exponent one less than half the least subnormal exponent.
48461         * stdlib/test-strtod-round-data: Add more tests.
48462         * stdlib/tst-strtod-round.c (tests): Regenerated.
48464 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48466         [BZ #14143]
48467         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48468         (__fe_mask_env): Likewise.
48469         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48470         libm_hidden_proto and add function prototype.
48471         (__fe_mask_env): Add function prototype.
48472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48473         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48475         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48477         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48479 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48481         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48482         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48484 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48486         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48487         of htab_find_slot().
48489 2013-11-11  David S. Miller  <davem@davemloft.net>
48491         [BZ #16150]
48492         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48493         symbol in the non-vis3 case in static builds.
48494         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48495         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48496         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48497         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48499 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48501         [BZ #387]
48502         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48503         it is empty.
48505 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48507         * benchtests/Makefile: Add bench-strtod.
48508         * benchtests/bench-strtod.c: New file: strtod benchtest
48510 2013-11-11  Andreas Schwab  <schwab@suse.de>
48512         [BZ #16153]
48513         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48514         terminating NUL in key length.
48516 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48519         Add artificial ODP entry for vDSO symbol for PPC64.
48520         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48521         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48523 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48525         [BZ #15374]
48526         * nss/getent.c (services_keys): Recognize services starting with digit.
48528 2013-11-06  David S. Miller  <davem@davemloft.net>
48530         [BZ #15985]
48531         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48532         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48534 2013-11-06  Will Newton  <will.newton@linaro.org>
48536         * manual/memory.texi (Malloc Examples): Remove register
48537         keyword from examples.
48539 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48541         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48543 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48545         [BZ #6981]
48546         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48547         depending on [__GCC_IEC_559 > 0].
48548         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48549         depending on [__GCC_IEC_559_COMPLEX > 0].
48551 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48553         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48554         to iso-639.def.
48556 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48558         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48560 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48562         [BZ #16112]
48563         * malloc/malloc (malloc_info): Do not handle first bin as
48564         special case.
48566 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48568         * locale/iso-639.def: Add Central Nahuatl (nhn).
48570 2013-11-01  Bruno Haible  <bruno@clisp.org>
48572         [BZ #7003]
48573         * manual/math.texi (BSD Random): Specify range upper bound as
48574         in POSIX.
48576 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48578         * locale/iso-639.def: Add Meadow Mari (mhr).
48580 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48582         [BZ #14752], [BZ #15763]
48583         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48584         Validate name.
48585         * rt/tst_shm.c: Add test for escaping directory.
48587 2013-10-31  Andreas Schwab  <schwab@suse.de>
48589         [BZ #15917]
48590         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48591         followed by 'x' as part of digit sequence.
48592         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48594 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48596         [BZ #16037]
48597         * configure.ac: allow GNU Make 4.0 and greater.
48598         * configure: Regenerated.
48600 2013-10-30  Will Newton  <will.newton@linaro.org>
48602         [BZ #16038]
48603         * malloc/hooks.c (memalign_check): Limit alignment to the
48604         maximum representable power of two.
48605         * malloc/malloc.c (__libc_memalign): Likewise.
48606         * malloc/tst-memalign.c (do_test): Add test for very
48607         large alignment values.
48608         * malloc/tst-posix_memalign.c (do_test): Likewise.
48610 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48612         [BZ #11087]
48613         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48614         (munmap_chunk): Likewise.
48615         (mremap_chunk): Likewise.
48617 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48619         [BZ #15799]
48620         * stdlib/div.c (div): Remove obsolete code.
48621         * stdlib/ldiv.c (ldiv): Likewise.
48622         * stdlib/lldiv.c (lldiv): Likewise.
48624 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48626         [BZ #16071]
48627         * nss/nss_files/files-XXX.c (get_contents_ret): New
48628         enumerator.
48629         (get_contents): New function.
48630         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48632 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48634         * configure.in: Moved to ...
48635         * configure.ac: ... here. Change reference to configure.in
48636         to configure.ac.
48637         * sysdeps/arm/preconfigure.ac: ... here.
48638         configure.in to configure.ac.
48639         * sysdeps/gnu/configure.in: Moved to ...
48640         * sysdeps/gnu/configure.ac: ... here.
48641         * sysdeps/i386/configure.in: Moved to ...
48642         * sysdeps/i386/configure.ac: ... here.
48643         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48644         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48645         * sysdeps/mach/configure.in: Moved to ...
48646         * sysdeps/mach/configure.ac: ... here.
48647         * sysdeps/mach/hurd/configure.in: Moved to ...
48648         * sysdeps/mach/hurd/configure.ac: ... here.
48649         * sysdeps/powerpc/configure.in: Moved to ...
48650         * sysdeps/powerpc/configure.ac: ... here.
48651         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48652         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48653         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48654         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48655         * sysdeps/s390/s390-32/configure.in: Moved to ...
48656         * sysdeps/s390/s390-32/configure.ac: ... here.
48657         * sysdeps/s390/s390-64/configure.in: Moved to ...
48658         * sysdeps/s390/s390-64/configure.ac: ... here.
48659         * sysdeps/sh/configure.in: Moved to ...
48660         * sysdeps/sh/configure.ac: ... here.
48661         * sysdeps/sparc/configure.in: Moved to ...
48662         * sysdeps/sparc/configure.ac: ... here.
48663         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48664         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48665         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48666         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48667         * sysdeps/x86_64/configure.in: Moved to ...
48668         * sysdeps/x86_64/configure.ac: ... here.
48669         * sysdeps/x86_64/preconfigure.in: Moved to ...
48670         * sysdeps/x86_64/preconfigure.ac: ... here.
48671         * aclocal.m4: Change reference to configure.in to configure.ac.
48672         * config.h.in: Likewise.
48673         * manual/install.texi: Likewise.
48674         * manual/maint.texi: Likewise.
48675         * Makefile: Likewise.
48676         * malloc/Makefile: Likewise.
48677         * nscd/Makefile: Likewise.
48678         * Makeconfig: Change reference to configure.in and
48679         preconfigure.in to configure.ac and preconfigure.ac
48680         respectively.
48681         * INSTALL: Regenerated.
48682         * configure: Likewise.
48683         * sysdeps/gnu/configure: Likewise.
48684         * sysdeps/i386/configure: Likewise.
48685         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48686         * sysdeps/mach/configure: Likewise.
48687         * sysdeps/mach/hurd/configure: Likewise.
48688         * sysdeps/powerpc/configure: Likewise.
48689         * sysdeps/powerpc/powerpc32/configure: Likewise.
48690         * sysdeps/powerpc/powerpc64/configure: Likewise.
48691         * sysdeps/s390/s390-32/configure: Likewise.
48692         * sysdeps/s390/s390-64/configure: Likewise.
48693         * sysdeps/sh/configure: Likewise.
48694         * sysdeps/sparc/configure: Likewise.
48695         * sysdeps/unix/sysv/linux/configure: Likewise.
48696         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48697         * sysdeps/x86_64/configure: Likewise.
48698         * sysdeps/x86_64/preconfigure: Likewise.
48700 2013-10-29  Andreas Schwab  <schwab@suse.de>
48702         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48704 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48706         * benchtests/pow-inputs: Add new inputs.
48708         * benchtests/exp-inputs: Add new inputs.
48710         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48711         conditional check for return value.
48712         (__cos32): Likewise.
48714 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48716         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48717         to provide a boost for large inputs with word alignment.
48718         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48719         implementation based on optimized PPC64 strcpy.
48720         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48721         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48722         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48723         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48725 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48727         [BZ #2801]
48728         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48730 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48732         [BZ #14876]
48733         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48734         * time/tst-strptime.c (day_tests): Add testcase.
48736 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48738         [BZ #14029]
48739         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48741 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48743         [BZ #16074]
48744         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48745         MAP_FAILED on error.
48747 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48749         [BZ #16072]
48750         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48751         heap for large requests.
48753 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48755         [BZ #9954]
48756         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48757         result if the result has no associated interface.
48758         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48759         interface for all 127.X.Y.Z addresses.
48761 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48763         * locale/iso-639.def: Add Ligurian (lij)
48765 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48767         [BZ #15825]
48768         * sunrpc/rpc_main.c: Document rpcgen -5.
48770 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48772         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48774 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48776         [BZ #10278]
48777         * posix/glob.c: Match only directories when trailing slash is present.
48778         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48779         (main): Add testcase.
48781 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48783         [BZ #15670]
48784         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48786 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48788         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48789         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48790         AUTH_DES and cindex for FIPS 140-2.
48791         (DES Encryption): Add cindex FIPS 46-3.
48793         * locale/locarchive.h (struct locarhandle): Add fname.
48794         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48795         if an optional argument was specified to --list-archive,
48796         otherwise NULL.
48797         * locale/programs/locarchive.c (show_archive_content): Take new
48798         argument fname and pass it via ah.fname to open_archive.
48799         * locale/programs/localedef.h: Update decl.
48800         (open_archive): If AH->fname is non-null, open that file
48801         rather than the default file name, and don't ignore ENOENT.
48802         (create_archive): Set AH.fname to NULL.
48803         (delete_locales_from_archive): Likewise.
48804         (add_locales_to_archive): Likewise.
48805         * locale/programs/locfile.c (write_all_categories): Likewise.
48807 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48808             Aldy Hernandez  <aldyh@redhat.com>
48810         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48811         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48812         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48813         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48814         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48815         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48816         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48817         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48818         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48819         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48820         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48821         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48822         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48823         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48824         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48825         Likewise.
48826         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48827         Likewise.
48828         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48829         Likewise.
48830         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48831         Likewise.
48832         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48833         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48834         Likewise.
48835         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48836         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48837         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48838         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48839         Likewise.
48840         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48841         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48842         * sysdeps/powerpc/preconfigure: Likewise.
48843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48844         Likewise.
48845         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48846         Replace contents of file by #include of <fenv_libc.h>.
48847         * sysdeps/powerpc/soft-fp/sfp-machine.h
48848         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48849         and <sys/prctl.h>.
48850         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48853         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48854         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48863         Allow copysignl PLT reference to be missing.
48865 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48866             Joseph Myers  <joseph@codesourcery.com
48868         [BZ #15948]
48869         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48870         single character.
48871         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48873 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48875         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48876         * elf/tst-tls1.c: Likewise.
48877         * elf/tst-tls10.h: Likewise.
48878         * elf/tst-tls14.c: Likewise.
48879         * elf/tst-tls2.c: Likewise.
48880         * elf/tst-tls3.c: Likewise.
48881         * elf/tst-tls4.c: Likewise.
48882         * elf/tst-tls5.c: Likewise.
48883         * elf/tst-tls6.c: Likewise.
48884         * elf/tst-tls7.c: Likewise.
48885         * elf/tst-tls8.c: Likewise.
48886         * elf/tst-tls9.c: Likewise.
48887         * elf/tst-tlsmod1.c: Likewise.
48888         * elf/tst-tlsmod13.c: Likewise.
48889         * elf/tst-tlsmod13a.c: Likewise.
48890         * elf/tst-tlsmod14a.c: Likewise.
48891         * elf/tst-tlsmod16a.c: Likewise.
48892         * elf/tst-tlsmod16b.c: Likewise.
48893         * elf/tst-tlsmod2.c: Likewise.
48894         * elf/tst-tlsmod3.c: Likewise.
48895         * elf/tst-tlsmod4.c: Likewise.
48896         * elf/tst-tlsmod5.c: Likewise.
48897         * elf/tst-tlsmod6.c: Likewise.
48899 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48901         [BZ #12486]
48902         * malloc/malloc.c: remove checks for statistics.
48904 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48906         [BZ #15277]
48907         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48908         * inet/tst-network.c: Add testcase.
48910 2013-10-17  Andreas Schwab  <schwab@suse.de>
48912         [BZ #15218]
48913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48914         to determine canonical name.
48916 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48918         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48919         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48920         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48922         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48925         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48927         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48928         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48929         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48930         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48931         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48932         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48933         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48934         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48935         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48936         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48937         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48938         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48939         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48940         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48941         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48942         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48943         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48944         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48947         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48948         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48949         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48951         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48952         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48953         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48954         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48955         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48956         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48957         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48958         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48959         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48960         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48961         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48962         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48963         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48964         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48965         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48966         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48967         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48968         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48969         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48970         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48971         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48973         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48974         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48975         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48977 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48979         [BZ #16041]
48980         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48981         make result into a quiet NaN.
48983 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48985         * soft-fp/adddf3.c: Fix horizontal whitespace.
48986         * soft-fp/addsf3.c: Likewise.
48987         * soft-fp/addtf3.c: Likewise.
48988         * soft-fp/divdf3.c: Likewise.
48989         * soft-fp/divsf3.c: Likewise.
48990         * soft-fp/divtf3.c: Likewise.
48991         * soft-fp/double.h: Likewise.
48992         * soft-fp/eqdf2.c: Likewise.
48993         * soft-fp/eqsf2.c: Likewise.
48994         * soft-fp/eqtf2.c: Likewise.
48995         * soft-fp/extenddftf2.c: Likewise.
48996         * soft-fp/extended.h: Likewise.
48997         * soft-fp/extendsfdf2.c: Likewise.
48998         * soft-fp/extendsftf2.c: Likewise.
48999         * soft-fp/extendxftf2.c: Likewise.
49000         * soft-fp/fixdfdi.c: Likewise.
49001         * soft-fp/fixdfsi.c: Likewise.
49002         * soft-fp/fixdfti.c: Likewise.
49003         * soft-fp/fixsfdi.c: Likewise.
49004         * soft-fp/fixsfsi.c: Likewise.
49005         * soft-fp/fixsfti.c: Likewise.
49006         * soft-fp/fixtfdi.c: Likewise.
49007         * soft-fp/fixtfsi.c: Likewise.
49008         * soft-fp/fixtfti.c: Likewise.
49009         * soft-fp/fixunsdfdi.c: Likewise.
49010         * soft-fp/fixunsdfsi.c: Likewise.
49011         * soft-fp/fixunsdfti.c: Likewise.
49012         * soft-fp/fixunssfdi.c: Likewise.
49013         * soft-fp/fixunssfsi.c: Likewise.
49014         * soft-fp/fixunssfti.c: Likewise.
49015         * soft-fp/fixunstfdi.c: Likewise.
49016         * soft-fp/fixunstfsi.c: Likewise.
49017         * soft-fp/fixunstfti.c: Likewise.
49018         * soft-fp/floatdidf.c: Likewise.
49019         * soft-fp/floatdisf.c: Likewise.
49020         * soft-fp/floatditf.c: Likewise.
49021         * soft-fp/floatsidf.c: Likewise.
49022         * soft-fp/floatsisf.c: Likewise.
49023         * soft-fp/floatsitf.c: Likewise.
49024         * soft-fp/floattidf.c: Likewise.
49025         * soft-fp/floattisf.c: Likewise.
49026         * soft-fp/floattitf.c: Likewise.
49027         * soft-fp/floatundidf.c: Likewise.
49028         * soft-fp/floatundisf.c: Likewise.
49029         * soft-fp/floatunditf.c: Likewise.
49030         * soft-fp/floatunsidf.c: Likewise.
49031         * soft-fp/floatunsisf.c: Likewise.
49032         * soft-fp/floatunsitf.c: Likewise.
49033         * soft-fp/floatuntidf.c: Likewise.
49034         * soft-fp/floatuntisf.c: Likewise.
49035         * soft-fp/floatuntitf.c: Likewise.
49036         * soft-fp/fmadf4.c: Likewise.
49037         * soft-fp/fmasf4.c: Likewise.
49038         * soft-fp/fmatf4.c: Likewise.
49039         * soft-fp/gedf2.c: Likewise.
49040         * soft-fp/gesf2.c: Likewise.
49041         * soft-fp/getf2.c: Likewise.
49042         * soft-fp/ledf2.c: Likewise.
49043         * soft-fp/lesf2.c: Likewise.
49044         * soft-fp/letf2.c: Likewise.
49045         * soft-fp/muldf3.c: Likewise.
49046         * soft-fp/mulsf3.c: Likewise.
49047         * soft-fp/multf3.c: Likewise.
49048         * soft-fp/negdf2.c: Likewise.
49049         * soft-fp/negsf2.c: Likewise.
49050         * soft-fp/negtf2.c: Likewise.
49051         * soft-fp/op-1.h: Likewise.
49052         * soft-fp/op-2.h: Likewise.
49053         * soft-fp/op-4.h: Likewise.
49054         * soft-fp/op-8.h: Likewise.
49055         * soft-fp/op-common.h: Likewise.
49056         * soft-fp/quad.h: Likewise.
49057         * soft-fp/single.h: Likewise.
49058         * soft-fp/soft-fp.h: Likewise.
49059         * soft-fp/sqrtdf2.c: Likewise.
49060         * soft-fp/sqrtsf2.c: Likewise.
49061         * soft-fp/sqrttf2.c: Likewise.
49062         * soft-fp/subdf3.c: Likewise.
49063         * soft-fp/subsf3.c: Likewise.
49064         * soft-fp/subtf3.c: Likewise.
49065         * soft-fp/truncdfsf2.c: Likewise.
49066         * soft-fp/trunctfdf2.c: Likewise.
49067         * soft-fp/trunctfsf2.c: Likewise.
49068         * soft-fp/trunctfxf2.c: Likewise.
49069         * soft-fp/unorddf2.c: Likewise.
49070         * soft-fp/unordsf2.c: Likewise.
49071         * soft-fp/unordtf2.c: Likewise.
49073 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49075         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49076         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49078 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49080         * elf/dl-libc.c: Clear initfini list after freeing.
49082 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49084         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49085         * soft-fp/addsf3.c: Likewise.
49086         * soft-fp/addtf3.c: Likewise.
49087         * soft-fp/divdf3.c: Likewise.
49088         * soft-fp/divsf3.c: Likewise.
49089         * soft-fp/divtf3.c: Likewise.
49090         * soft-fp/double.h: Likewise.
49091         * soft-fp/eqdf2.c: Likewise.
49092         * soft-fp/eqsf2.c: Likewise.
49093         * soft-fp/eqtf2.c: Likewise.
49094         * soft-fp/extenddftf2.c: Likewise.
49095         * soft-fp/extended.h: Likewise.
49096         * soft-fp/extendsfdf2.c: Likewise.
49097         * soft-fp/extendsftf2.c: Likewise.
49098         * soft-fp/extendxftf2.c: Likewise.
49099         * soft-fp/fixdfdi.c: Likewise.
49100         * soft-fp/fixdfsi.c: Likewise.
49101         * soft-fp/fixdfti.c: Likewise.
49102         * soft-fp/fixsfdi.c: Likewise.
49103         * soft-fp/fixsfsi.c: Likewise.
49104         * soft-fp/fixsfti.c: Likewise.
49105         * soft-fp/fixtfdi.c: Likewise.
49106         * soft-fp/fixtfsi.c: Likewise.
49107         * soft-fp/fixtfti.c: Likewise.
49108         * soft-fp/fixunsdfdi.c: Likewise.
49109         * soft-fp/fixunsdfsi.c: Likewise.
49110         * soft-fp/fixunsdfti.c: Likewise.
49111         * soft-fp/fixunssfdi.c: Likewise.
49112         * soft-fp/fixunssfsi.c: Likewise.
49113         * soft-fp/fixunssfti.c: Likewise.
49114         * soft-fp/fixunstfdi.c: Likewise.
49115         * soft-fp/fixunstfsi.c: Likewise.
49116         * soft-fp/fixunstfti.c: Likewise.
49117         * soft-fp/floatdidf.c: Likewise.
49118         * soft-fp/floatdisf.c: Likewise.
49119         * soft-fp/floatditf.c: Likewise.
49120         * soft-fp/floatsidf.c: Likewise.
49121         * soft-fp/floatsisf.c: Likewise.
49122         * soft-fp/floatsitf.c: Likewise.
49123         * soft-fp/floattidf.c: Likewise.
49124         * soft-fp/floattisf.c: Likewise.
49125         * soft-fp/floattitf.c: Likewise.
49126         * soft-fp/floatundidf.c: Likewise.
49127         * soft-fp/floatundisf.c: Likewise.
49128         * soft-fp/floatunsidf.c: Likewise.
49129         * soft-fp/floatunsisf.c: Likewise.
49130         * soft-fp/floatuntidf.c: Likewise.
49131         * soft-fp/floatuntisf.c: Likewise.
49132         * soft-fp/floatuntitf.c: Likewise.
49133         * soft-fp/fmadf4.c: Likewise.
49134         * soft-fp/fmasf4.c: Likewise.
49135         * soft-fp/fmatf4.c: Likewise.
49136         * soft-fp/gedf2.c: Likewise.
49137         * soft-fp/gesf2.c: Likewise.
49138         * soft-fp/getf2.c: Likewise.
49139         * soft-fp/ledf2.c: Likewise.
49140         * soft-fp/lesf2.c: Likewise.
49141         * soft-fp/letf2.c: Likewise.
49142         * soft-fp/muldf3.c: Likewise.
49143         * soft-fp/mulsf3.c: Likewise.
49144         * soft-fp/multf3.c: Likewise.
49145         * soft-fp/negdf2.c: Likewise.
49146         * soft-fp/negsf2.c: Likewise.
49147         * soft-fp/negtf2.c: Likewise.
49148         * soft-fp/op-1.h: Likewise.
49149         * soft-fp/op-2.h: Likewise.
49150         * soft-fp/op-4.h: Likewise.
49151         * soft-fp/op-8.h: Likewise.
49152         * soft-fp/op-common.h: Likewise.
49153         * soft-fp/quad.h: Likewise.
49154         * soft-fp/single.h: Likewise.
49155         * soft-fp/soft-fp.h: Likewise.
49156         * soft-fp/sqrtdf2.c: Likewise.
49157         * soft-fp/sqrtsf2.c: Likewise.
49158         * soft-fp/sqrttf2.c: Likewise.
49159         * soft-fp/subdf3.c: Likewise.
49160         * soft-fp/subsf3.c: Likewise.
49161         * soft-fp/subtf3.c: Likewise.
49162         * soft-fp/truncdfsf2.c: Likewise.
49163         * soft-fp/trunctfdf2.c: Likewise.
49164         * soft-fp/trunctfsf2.c: Likewise.
49165         * soft-fp/trunctfxf2.c: Likewise.
49166         * soft-fp/unorddf2.c: Likewise.
49167         * soft-fp/unordsf2.c: Likewise.
49168         * soft-fp/unordtf2.c: Likewise.
49170 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49172         [BZ #15672]
49173         * misc/error.c (error_tail): Fix possible buffer overflow.
49175 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49177         [BZ #13028]
49178         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49179         address.
49181 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49183         [BZ #832]
49184         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49185         testing pipefail option.
49187 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49189         * soft-fp/double.h: Indent preprocessor directives inside #if.
49190         * soft-fp/extended.h: Likewise.
49191         * soft-fp/op-2.h: Likewise.
49192         * soft-fp/op-4.h: Likewise.
49193         * soft-fp/op-common.h: Likewise.
49194         * soft-fp/quad.h: Likewise.
49195         * soft-fp/single.h: Likewise.
49196         * soft-fp/soft-fp.h: Likewise.
49198 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49200         * iconv/iconv_prog.c: Fix typos.
49201         * stdio-common/psiginfo-data.h: Likewise.
49203 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49205         [BZ #15764]
49206         * locale/setlocale.c: Fix typo.
49208 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49210         [BZ #16036]
49211         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49212         signaling NaN arguments.
49213         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49214         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49216         [BZ #14910]
49217         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49218         unordered operands.
49219         * soft-fp/gesf2.c (__gesf2): Likewise.
49220         * soft-fp/getf2.c (__getf2): Likewise.
49221         * soft-fp/ledf2.c (__ledf2): Likewise.
49222         * soft-fp/lesf2.c (__lesf2): Likewise.
49223         * soft-fp/letf2.c (__letf2): Likewise.
49225         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49226         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49227         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49228         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49229         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49230         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49231         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49232         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49233         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49234         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49235         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49236         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49237         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49238         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49239         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49240         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49241         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49242         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49243         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49244         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49245         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49246         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49247         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49248         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49249         * soft-fp/floattidf.c (__floattidf): Likewise.
49250         * soft-fp/floattisf.c (__floattisf): Likewise.
49251         * soft-fp/floattitf.c (__floattitf): Likewise.
49252         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49253         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49254         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49255         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49256         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49257         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49258         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49259         * soft-fp/gesf2.c (__gesf2): Likewise.
49260         * soft-fp/getf2.c (__getf2): Likewise.
49261         * soft-fp/ledf2.c (__ledf2): Likewise.
49262         * soft-fp/lesf2.c (__lesf2): Likewise.
49263         * soft-fp/letf2.c (__letf2): Likewise.
49265         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49266         Undefine and redefine.
49267         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49268         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49269         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49270         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49271         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49272         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49273         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49274         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49275         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49276         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49277         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49278         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49279         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49280         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49281         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49283         [BZ #16032]
49284         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49285         without decrementing exponent if mantissa >= that for the
49286         denominator, not >.
49287         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49288         denominator, not >.  Decrement exponent in < case instead of
49289         incrementing in >= case.
49290         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49291         without decrementing exponent if mantissa >= that for the
49292         denominator, not >.
49294         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49295         computing saturated result for unsigned overflow.
49297 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49298             Jeff Law  <law@redhat.com>
49300         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49301         (atan2Mp): Add systemtap probe marker.
49302         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49303         (__ieee754_log): Add systemtap probe marker.
49304         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49305         (atanMp): Add systemtap probe marker.
49306         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49307         (tanMp): Add systemtap probe marker.
49308         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49309         (__slowexp): Add systemtap probe marker.
49310         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49311         (__slowpow): Add systemtap probe marker.
49312         * manual/probes.texi: Document probes.
49314 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49316         [BZ #15362]
49317         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49318         written.
49319         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49320         written.
49321         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49322         written to buffer but not flushed.
49323         * libio/iofwrite_u.c:  Likewise.
49324         * libio/iopadn.c:  Return bytes returned even if EOF was
49325         encountered.
49326         * libio/iowpadn.c:  Likewise.
49327         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49328         if _IO_padn does not write the whole buffer.
49329         [!COMPILE_WPRINTF] (PAD): Likewise.
49331 2013-10-10  David S. Miller  <davem@davemloft.net>
49333         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49334         directory block.
49336 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49338         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49339         instead of FSF address.
49340         * soft-fp/fixdfti.c: Likewise.
49341         * soft-fp/fixsfti.c: Likewise.
49342         * soft-fp/fixtfti.c: Likewise.
49343         * soft-fp/fixunsdfti.c: Likewise.
49344         * soft-fp/fixunssfti.c: Likewise.
49345         * soft-fp/fixunstfti.c: Likewise.
49346         * soft-fp/floattidf.c: Likewise.
49347         * soft-fp/floattisf.c: Likewise.
49348         * soft-fp/floattitf.c: Likewise.
49349         * soft-fp/floatuntidf.c: Likewise.
49350         * soft-fp/floatuntisf.c: Likewise.
49351         * soft-fp/floatuntitf.c: Likewise.
49352         * soft-fp/trunctfxf2.c: Likewise.
49354         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49355         * soft-fp/fixdfti.c: Likewise.
49356         * soft-fp/fixsfti.c: Likewise.
49357         * soft-fp/fixtfti.c: Likewise.
49358         * soft-fp/fixunsdfti.c: Likewise.
49359         * soft-fp/fixunssfti.c: Likewise.
49360         * soft-fp/fixunstfti.c: Likewise.
49361         * soft-fp/floattidf.c: Likewise.
49362         * soft-fp/floattisf.c: Likewise.
49363         * soft-fp/floattitf.c: Likewise.
49364         * soft-fp/floatuntidf.c: Likewise.
49365         * soft-fp/floatuntisf.c: Likewise.
49366         * soft-fp/floatuntitf.c: Likewise.
49367         * soft-fp/trunctfxf2.c: Likewise.
49369 2013-10-10  David S. Miller  <davem@davemloft.net>
49371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49373 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49375         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49376         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49377         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49378         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49379         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49380         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49381         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49383         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49384         for NaNs before doing comparisons on argument.
49385         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49386         Likewise.
49388 2013-10-10  Will Newton  <will.newton@linaro.org>
49390         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49391         passed to _int_memalign does not overflow.
49393 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49395         * scripts/bench.pl: Add include-sources directive.
49396         * benchtests/README: Update documentation.
49398 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49400         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49401         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49402         instead of FP_INIT_ROUNDMODE.
49403         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49404         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49406         [BZ #16034]
49407         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49408         copy class of input value.
49409         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49410         not handle exceptions.
49411         * soft-fp/negsf2.c (__negsf2): Likewise.
49412         * soft-fp/negtf2.c (__negtf2): Likewise.
49413         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49415 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49417         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49418         semicolon.  From Linux kernel.
49420 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49422         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49424 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49426         [BZ #156]
49427         * manual/socket.texi: Added statement about buffer
49428         for gethostbyname2_r.
49430 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49432         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49433         Use .p2align directive instead, throughout.
49434         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49435         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49436         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49437         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49438         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49439         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49440         * sysdeps/x86_64/strchr.S: Likewise.
49441         * sysdeps/x86_64/strrchr.S: Likewise.
49443 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49445         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49447         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49449         * sysdeps/generic/math_private.h (__mpsin1): Remove
49450         declaration.
49451         (__mpcos1): Likewise.
49452         (__mpsin): New argument __range_reduce.
49453         (__mpcos): Likewise.
49454         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49455         (slow): Use __mpsin and __mpcos.
49456         (slow1): Likewise.
49457         (slow2): Likewise.
49458         (sloww): Likewise.
49459         (sloww1): Likewise.
49460         (sloww2): Likewise.
49461         (bsloww): Likewise.
49462         (bsloww1): Likewise.
49463         (bsloww2): Likewise.
49464         (cslow2): Likewise.
49465         (csloww): Likewise.
49466         (csloww1): Likewise.
49467         (csloww2): Likewise.
49468         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49469         range_reduce.  Merge in __mpsin1.
49470         (__mpcos): Likewise.
49471         (__mpsin1): Remove.
49472         (__mpcos1): Likewise.
49474 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49476         * locale/loadlocale.c (_nl_intern_locale_data): Use
49477         LOCFILE_ALIGNED_P.
49478         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49479         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49480         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49481         obstack data is appropriately aligned.
49482         (obstack_int32_grow_fast): Likewise.
49483         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49484         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49485         (add_locale_uint32_array): Likewise.
49487 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49489         * benchtests/Makefile: Remove ARGLIST and RET variables.
49490         ($(objpfx)bench-%.c): Pass only function name to the script.
49491         * benchtests/README: Update documentation.
49492         * benchtests/acos-inputs: Add new directives.
49493         * benchtests/acosh-inputs: Likewise.
49494         * benchtests/asin-inputs: Likewise.
49495         * benchtests/asinh-inputs: Likewise.
49496         * benchtests/atan-inputs: Likewise.
49497         * benchtests/atanh-inputs: Likewise.
49498         * benchtests/cos-inputs: Likewise.
49499         * benchtests/cosh-inputs: Likewise.
49500         * benchtests/exp-inputs: Likewise.
49501         * benchtests/log-inputs: Likewise.
49502         * benchtests/pow-inputs: Likewise.
49503         * benchtests/rint-inputs: Likewise.
49504         * benchtests/sin-inputs: Likewise.
49505         * benchtests/sinh-inputs: Likewise.
49506         * benchtests/tan-inputs: Likewise.
49507         * benchtests/tanh-inputs: Likewise.
49508         * scripts/bench.pl: Add support for new directives.
49510 2013-10-07  Alan Modra  <amodra@gmail.com>
49512         * README: Fix careless merge.
49514 2013-10-05  Alan Modra  <amodra@gmail.com>
49516         * NEWS: Mention powerpc64le support and bugs fixed.
49517         * README: Both big-endian and little-endian powerpc64 supported.
49519 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49521         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49522         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49523         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49524         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49526 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49528         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49529         match prototype.
49531 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49533         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49534         Move -mhard-float appending from
49535         ports/sysdeps/powerpc/powerpc32/Makefile.
49536         [$(with-fp) = yes] (ASFLAGS): Likewise.
49537         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49538         * sysdeps/powerpc/nofpu: Move directory from
49539         ports/sysdeps/powerpc/nofpu.
49540         * sysdeps/powerpc/soft-fp: Move directory from
49541         ports/sysdeps/powerpc/soft-fp.
49542         * sysdeps/powerpc/powerpc32/405: Move directory from
49543         ports/sysdeps/powerpc/powerpc32/405.
49544         * sysdeps/powerpc/powerpc32/440: Move directory from
49545         ports/sysdeps/powerpc/powerpc32/440.
49546         * sysdeps/powerpc/powerpc32/464: Move directory from
49547         ports/sysdeps/powerpc/powerpc32/464.
49548         * sysdeps/powerpc/powerpc32/476: Move directory from
49549         ports/sysdeps/powerpc/powerpc32/476.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49551         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49553         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49555         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49557         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49559         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49560         * README: Update for powerpc-*-linux-gnu software floating point
49561         support in libc.
49563         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49564         case to powerpc/powerpc32*.
49565         * sysdeps/unix/sysv/linux/configure: Regenerated.
49567         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49568         (_FPU_MASK_OM): Define as 0x04.
49569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49571         0x00c10080.
49572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49573         0x0000003c.
49574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49577         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49578         getcontext_e500.
49579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49580         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49581         setcontext_e500.
49582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49583         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49584         and setcontext_e500.
49586 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49588         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49590 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49592         * manual/threads.texi (Default Thread Attributes): Fix typo.
49594 2013-10-04  Will Newton  <will.newton@linaro.org>
49596         * malloc/Makefile: Add tst-memalign.
49597         * malloc/tst-memalign.c: New file.
49599         * malloc/tst-posix_memalign.c: Add comments.
49600         (do_test): Add comments and call free on all potentially
49601         allocated pointers. Add space after cast.
49603         * malloc/tst-pvalloc.c: Add comments.
49604         (do_test): Add comments and call free on all potentially
49605         allocated pointers. Remove duplicate check for NULL pointer.
49606         Add space after cast.
49608         * malloc/tst-valloc.c: Add comments.
49609         (do_test): Add comments and call free on all potentially
49610         allocated pointers. Remove duplicate check for NULL pointer.
49611         Add space after cast.
49613 2013-10-04  Alan Modra  <amodra@gmail.com>
49615         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49616         Use stdint types in rather than __attribute__((mode())).
49617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49619 2013-10-04  Alan Modra  <amodra@gmail.com>
49621         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49622         Correct handling of unaligned relocs for little-endian.
49623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49625 2013-10-04  Alan Modra  <amodra@gmail.com>
49627         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49628         * configure: Regenerate.
49629         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49630         * shlib-versions: Likewise.
49632 2013-10-04  Alan Modra  <amodra@gmail.com>
49634         * string/tester.c (test_memrchr): Increment reported test cycle.
49636 2013-10-04  Alan Modra  <amodra@gmail.com>
49638         * string/test-memcpy.c (do_one_test): When reporting errors, print
49639         string address and don't overrun end of string.
49641 2013-10-04  Alan Modra  <amodra@gmail.com>
49643         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49644         insrdi.  Make better use of reg selection to speed exit slightly.
49645         Schedule entry path a little better.  Remove useless "are we done"
49646         checks on entry to main loop.  Handle wrapping around zero address.
49647         Correct main loop count.  Handle single left-over word from main
49648         loop inline rather than by using loop_small.  Remove extra word
49649         case in loop_small caused by wrong loop count.  Add little-endian
49650         support.
49651         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49653         cache hint.
49654         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49655         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49656         support.  Avoid rlwimi.
49657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49659 2013-10-04  Alan Modra  <amodra@gmail.com>
49661         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49662         insrdi.  Formatting.
49663         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49664         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49665         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49666         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49667         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49668         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49670 2013-10-04  Alan Modra  <amodra@gmail.com>
49672         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49673         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49674         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49675         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49676         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49677         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49678         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49679         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49680         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49681         use of regs.  Use power7 mtocrf.  Tidy function tails.
49683 2013-10-04  Alan Modra  <amodra@gmail.com>
49685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49686         Formatting.  Consistently use rXXX register defines or rN defines.
49687         Use early exit labels that avoid restoring unused non-volatile regs.
49688         Make cr field use more consistent with rWORDn compares.  Rename
49689         regs used as shift registers for unaligned loop, using rN defines
49690         for short lifetime/multiple use regs.
49691         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49692         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49693         addi 1,1,64 to pop stack frame.  Simplify return value code.
49694         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49696 2013-10-04  Alan Modra  <amodra@gmail.com>
49698         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49699         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49700         rather than rlwimi.
49701         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49702         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49703         little-endian support.  Correct typos.
49704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49705         rather than rlwimi.
49706         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49707         in loop and entry code to keep "and." results.
49708         (strchr): Add little-endian support.  Comment.  Move cntlzd
49709         earlier in tail.
49710         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49712 2013-10-04  Alan Modra  <amodra@gmail.com>
49714         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49715         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49716         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49717         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49719 2013-10-04  Alan Modra  <amodra@gmail.com>
49721         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49722         (rTMP): Define as r11.
49723         (strcmp): Add little-endian support.  Optimise tail.
49724         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49725         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49726         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49727         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49728         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49729         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49730         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49732 2013-10-04  Alan Modra  <amodra@gmail.com>
49734         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49735         little-endian support.  Remove unnecessary "are we done" tests.
49736         Handle "s" wrapping around zero and extremely large "size".
49737         Correct main loop count.  Handle single left-over word from main
49738         loop inline rather than by using small_loop.  Correct comments.
49739         Delete "zero" tail, use "end_max" instead.
49740         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49742 2013-10-04  Alan Modra  <amodra@gmail.com>
49744         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49745         support.  Don't branch over align.
49746         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49747         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49748         support.  Rearrange tmp reg use to suit.  Comment.
49749         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49751 2013-10-04  Alan Modra  <amodra@gmail.com>
49753         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49755 2013-10-04  Alan Modra  <amodra@gmail.com>
49757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49758         conditional form of branch and link when obtaining pc.
49759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49761 2013-10-04  Alan Modra  <amodra@gmail.com>
49763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49764         HIWORD/LOWORD.
49765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49768 2013-10-04  Alan Modra  <amodra@gmail.com>
49770         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49771         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49772         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49773         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49774         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49775         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49776         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49777         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49778         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49779         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49781 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49782             Alistair Popple <alistair@ozlabs.au.ibm.com>
49783             Alan Modra <amodra@gmail.com>
49785         [BZ #15723]
49786         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49787         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49788         _dl_hwcap access for little-endian.
49789         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49790         destroy vmx regs when saving unaligned.
49791         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49792         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49793         destroy vmx regs when saving unaligned.
49795 2013-10-04  Alan Modra  <amodra@gmail.com>
49797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49798         Don't use a union to pack hi/low value.
49800 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49802         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49803         for little-endian.
49804         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49805         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49806         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49807         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49808         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49810 2013-10-04  Alan Modra  <amodra@gmail.com>
49812         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49813         constants to usual value for .cst8 section, and remove redundant
49814         high address load.
49815         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49816         constant for 0x1p52.  Load little-endian words of double from
49817         correct stack offsets.
49819 2013-10-04  Alan Modra  <amodra@gmail.com>
49821         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49822         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49823         words of double from correct stack offsets.
49824         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49825         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49826         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49827         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49828         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49829         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49830         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49831         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49832         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49833         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49834         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49835         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49836         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49837         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49838         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49839         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49840         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49842 2013-10-04  Alan Modra  <amodra@gmail.com>
49844         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49845         64-bit int/double union.
49846         (_FPU_SETCW): Likewise.
49847         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49848         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49850 2013-10-04  Alan Modra  <amodra@gmail.com>
49852         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49853         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49855 2013-10-04  Alan Modra  <amodra@gmail.com>
49857         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49858         use vector int constants.
49859         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49861 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49863         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49864         array with long long.
49865         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49866         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49867         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49868         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49869         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49870         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49871         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49872         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49873         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49874         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49875         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49876         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49877         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49879 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49881         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49882         (__signbit): Likewise.  Correct for little-endian.
49883         (__signbitl): Call __signbit.
49884         (lrint): Correct for little-endian.
49885         (lrintf): Call lrint.
49887 2013-10-04  Alan Modra  <amodra@gmail.com>
49889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49890         union 32-bit int array member with 64-bit int array.
49891         (t515, tm256): Double rather than long double.
49892         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49894 2013-10-04  Alan Modra  <amodra@gmail.com>
49896         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49897         Delete.
49898         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49900         version of math_ldbl.h.
49902 2013-10-04  Alan Modra  <amodra@gmail.com>
49904         [BZ #15734], [BZ #15735]
49905         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49906         all uses of ieee875 long double macros and unions.  Simplify test
49907         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49908         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49909         normalize after ldbl_extract_mantissa, and don't add hidden bit
49910         already handled.  Don't treat low word of ieee854 mantissa like
49911         low word of IBM long double and mask off bit when testing for
49912         zero.
49913         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49914         all uses of ieee875 long double macros and unions.  Simplify tests
49915         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49916         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49917         two1022, instead use their values.  Recognise that tests for large
49918         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49920         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49921         test for 0.0L and nan.  Correct negation.
49922         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49923         ieee875 long double macros and unions.  Correct output for large
49924         magnitude x.  Correct absolute value calculation.
49925         (__erfcl): Likewise.
49926         * math/libm-test.inc: Add tests for errors discovered in IBM long
49927         double versions of fmodl, remainderl, erfl and erfcl.
49929 2013-10-04  Alan Modra  <amodra@gmail.com>
49931         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49932         all uses of ieee854 long double macros and unions.  Simplify tests
49933         for long doubles that are fully specified by the high double.
49934         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49935         Likewise.
49936         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49937         Remove dead code too.
49938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49939         (__ieee754_ynl): Likewise.
49940         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49941         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49943         Remove dead code too.
49944         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49945         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49946         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49947         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49948         Simplify.
49949         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49950         Simplify.
49951         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49952         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49954         Comment on variable precision.
49955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49957         Likewise.
49958         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49962         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49964 2013-10-04  Alan Modra  <amodra@gmail.com>
49966         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49967         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49968         all uses of ieee854 long double macros and unions.
49969         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49974         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49975         Likewise.
49976         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49977         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49978         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49979         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49980         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49981         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49982         Simplify sign and nan test too.
49983         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49984         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49985         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49986         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49987         Likewise.
49988         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49989         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49990         Likewise.
49991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49992         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49993         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49994         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49995         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49998 2013-10-04  Alan Modra  <amodra@gmail.com>
50000         * stdio-common/printf_size.c (__printf_size): Don't use
50001         union ieee854_long_double in fpnum union.
50002         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50003         signbit macro to retrieve sign from long double.
50004         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50005         retrieve sign from long double.
50006         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50007         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50008         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50009         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50010         * math/test-misc.c (main): Don't use union ieee854_long_double.
50012 2013-10-04  Alan Modra  <amodra@gmail.com>
50014         [BZ #15680]
50015         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50016         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50017         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50018         calculation.  Remove unnecessary test for denormal exponent.
50019         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50020         Correct handling of denormals.  Avoid undefined shift behaviour.
50021         Correct normalisation of low mantissa when low double is denormal.
50022         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50023         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50024         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50025         Correct normalisation of low mantissa.  Test for overflow of high
50026         mantissa and normalise.
50027         (ldbl_nearbyint): Use more readable constant for two52.
50028         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50029         (__mpn_construct_long_double): Fix test for overflow of high
50030         mantissa and correct normalisation.  Avoid undefined shift.
50032 2013-10-04  Alan Modra  <amodra@gmail.com>
50034         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50035         (union ibm_extended_long_double): Define as an array of ieee754_double.
50036         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50037         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50038         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50039         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50040         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50041         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50043         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50044         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50045         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50046         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50048 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50050         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50051         page size instead of calling getpagesize.
50053         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50054         (LOCFILE_ALIGN_MASK): Likewise.
50055         (LOCFILE_ALIGN_UP): Likewise.
50056         (LOCFILE_ALIGNED_P): Likewise.
50057         * locale/programs/ld-collate.c (collate_output): Use the new
50058         macros instead of __alignof__ (int32_t).
50059         * locale/weight.h (findidx): Likewise.
50061 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50063         [BZ #431]
50064         * manual/string.texi: Fix strncat and wcsncat.
50066 2013-10-03  Brooks Moses  <bmoses@google.com>
50068         [BZ #15915]
50069         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50070         * Makerules: ...here, and adjust associated comments.
50072 2013-10-02  Will Newton  <will.newton@linaro.org>
50074         * malloc/Makefile: Add tst-pvalloc.
50075         * malloc/tst-pvalloc.c: New file.
50077 2013-10-02  Will Newton  <will.newton@linaro.org>
50079         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50080         improve test coverage.
50082 2013-10-02  Will Newton  <will.newton@linaro.org>
50084         * malloc/Makefile: Add tst-posix_memalign.
50085         * malloc/tst-posix_memalign.c: New file.
50087 2013-10-01  Eric Blake  <eblake@redhat.com>
50089         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50090         Use __THROWNL rather than __THROW on static functions.
50092 2013-09-30  Petr Machata  <pmachata@redhat.com>
50094         * elf/elf.h (R_AARCH64_ABS16): New macro.
50095         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50096         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50097         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50098         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50099         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50100         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50101         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50102         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50103         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50104         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50105         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50106         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50107         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50108         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50109         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50110         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50111         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50112         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50113         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50114         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50115         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50116         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50117         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50118         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50119         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50120         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50121         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50122         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50123         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50124         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50125         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50126         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50127         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50128         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50129         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50130         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50131         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50132         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50133         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50134         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50135         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50136         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50137         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50138         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50139         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50140         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50141         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50142         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50143         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50144         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50145         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50146         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50147         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50148         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50149         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50150         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50151         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50152         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50153         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50154         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50155         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50156         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50157         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50158         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50159         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50160         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50161         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50162         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50163         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50164         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50165         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50166         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50167         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50168         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50169         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50170         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50171         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50172         (R_AARCH64_TLSDESC_LDR): Likewise.
50173         (R_AARCH64_TLSDESC_ADD): Likewise.
50174         (R_AARCH64_TLSDESC_CALL): Likewise.
50176 2013-09-30  Andreas Schwab  <schwab@suse.de>
50178         [BZ #15048]
50179         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50180         the nss database lookup.
50181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50184 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50186         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50188 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50190         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50191         ${Bash-specific parameter/pattern/string} parameter expansion.
50192         * sysdeps/unix/make-syscalls.sh: Likewise.
50194 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50196         * sysdeps/sh/stackguard-macros.h: New file.
50198 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50202         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50203         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50204         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50205         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50207 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50209         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50210         Fix thread ID register.
50212 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50214         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50215         [POSIX || UNIX98]: Require rather than permitting all symbols from
50216         <time.h>.
50217         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50218         element of struct sched_param.
50219         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50220         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50221         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50222         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50223         constant.
50225 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50227         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50228         argument calculation.
50230 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50232         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50233         Expect macro.
50234         [POSIX] (pthread_attr_t): Do not require type.
50235         [POSIX] (pthread_cond_t): Likewise.
50236         [POSIX] (pthread_condattr_t): Likewise.
50237         [POSIX] (pthread_key_t): Likewise.
50238         [POSIX] (pthread_mutex_t): Likewise.
50239         [POSIX] (pthread_mutexattr_t): Likewise.
50240         [POSIX] (pthread_once_t): Likewise.
50241         [POSIX] (pthread_t): Likewise.
50242         [POSIX-based standards] (pthread_atfork): Expect function.
50244 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50245             Richard Sandiford  <richard@codesourcery.com>
50247         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50248         (swap_endianness_p): New extern variable.
50249         (set_big_endian): New inline function.
50250         (maybe_swap_uint32): Likewise.
50251         (maybe_swap_uint32_array): Likewise.
50252         (maybe_swap_uint32_obstack): Likewise.
50253         * locale/programs/locfile.c: Include <stdbool.h>.
50254         (swap_endianness_p): New variable.
50255         (add_locale_uint32): Call maybe_swap_uint32.
50256         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50257         (write_locale_data): Call maybe_swap_uint32_array.
50258         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50259         maybe_swap_uint32.
50260         (obstack_int32_grow_fast): Likewise.
50261         (output_weightwc): Call maybe_swap_uint32_obstack.
50262         (collate_output): Likewise.
50263         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50264         (OPT_LITTLE_ENDIAN): Likewise.
50265         (options): Add --little-endian and --big-endian options.
50266         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50267         * locale/programs/locarchive.c: Include "locfile.h".
50268         (GET): New macro.
50269         (SET): Likewise.
50270         (INC): Likewise.
50271         (create_archive): Use the new macros to access fields of
50272         structures directly mapped from or written to locale archives.
50273         (oldlocrecentcmp): Likewise.
50274         (enlarge_archive): Likewise.
50275         (insert_name): Likewise.
50276         (add_alias): Likewise.
50277         (add_locale): Likewise.
50278         (delete_locales_from_archive): Likewise.
50279         (show_archive_content): Likewise.
50280         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50281         locale data.
50283 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50285         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50286         http://www.gnu.org/doc/freemanuals.texi.
50287         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50289 2013-09-24  Will Newton  <will.newton@linaro.org>
50291         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50292         macro.
50294 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50296         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50297         unsigned char.
50299 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50301         * manual/threads.texi (POSIX Threads): Fix a typo.
50303 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50305         [BZ #14547]
50306         * string/tst-strcoll-overflow.c: New test case.
50307         * string/Makefile (xtests): Add tst-strcoll-overflow.
50308         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50309         cache if string sizes may cause integer overflow.
50311         [BZ #14547]
50312         * string/strcoll_l.c (coll_seq): New members rule, idx,
50313         save_idx and back_us.
50314         (get_next_seq_nocache): New function.
50315         (do_compare_nocache): New function.
50316         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50317         when malloc fails.
50319 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50321         [BZ #15754]
50322         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50323         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50324         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50326         [BZ #15754]
50327         * elf/Makefile (tests): Add tst-ptrguard1.
50328         (tests-static): Add tst-ptrguard1-static.
50329         (tst-ptrguard1-ARGS): Define.
50330         (tst-ptrguard1-static-ARGS): Define.
50331         * elf/tst-ptrguard1.c: New file.
50332         * elf/tst-ptrguard1-static.c: New file.
50333         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50334         * sysdeps/i386/stackguard-macros.h: Likewise.
50335         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50336         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50337         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50338         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50339         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50340         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50342 2013-09-23  Hector Marco  <hecmargi@upv.es>
50343             Ismael Ripoll  <iripoll@disca.upv.es>
50344             Carlos O'Donell  <carlos@redhat.com>
50346         [BZ #15754]
50347         * sysdeps/generic/stackguard-macros.h: Define
50348         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50349         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50350         Define __pointer_chk_guard_local.
50351         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50352         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50354 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50356         [BZ #15859]
50357         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50359 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50361         * include/string.h (__ffs): Declare as hidden.
50362         * string/ffs.c (__ffs): Define as hidden.
50363         * sysdeps/i386/ffs.c (__ffs): Likewise.
50364         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50365         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50366         * sysdeps/s390/ffs.c (__ffs): Likewise.
50367         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50369 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50371         * NEWS: Mention malloc probes.
50373         * malloc/arena.c (new_heap): New memory_heap_new probe.
50374         (grow_heap): New memory_heap_more probe.
50375         (shrink_heap): New memory_heap_less probe.
50376         (heap_trim): New memory_heap_free probe.
50377         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50378         (systrim): New memory_sbrk_less probe.
50379         * manual/probes.texi: Document them.
50381         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50382         * manual/probes.texi: Document it.
50384         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50385         (__libc_realloc): Add memory_realloc_retry probe.
50386         (__libc_memalign): Add memory_memalign_retry probe.
50387         (__libc_valloc): Add memory_valloc_retry probe.
50388         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50389         (__libc_calloc): Add memory_calloc_retry probe.
50390         * manual/probes.texi: Document them.
50392         * malloc/arena.c (get_free_list): Add probe
50393         memory_arena_reuse_free_list.
50394         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50395         and memory_arena_reuse.
50396         (arena_get2) [!PER_THREAD]: Likewise.
50397         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50398         memory_arena_reuse_realloc.
50399         * manual/probes.texi: Document them.
50401         * malloc/malloc.c (__libc_free): Add
50402         memory_mallopt_free_dyn_thresholds probe.
50403         (__libc_mallopt): Add multiple memory_mallopt probes.
50404         * manual/probes.texi: Document them.
50406         * malloc/malloc.c: Include stap-probe.h.
50407         (__libc_mallopt): Add memory_mallopt probe.
50408         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50409         * manual/probes.texi: New.
50410         * manual/Makefile (chapters): Add probes.
50411         * manual/threads.texi: Set next node.
50413 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50415         [BZ #15963, #13985]
50416         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50417         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50418         Add `Chinese' to `nan' entry name.
50420 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50422         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50423         (POLYNOMIAL): Likewise.
50424         (TAYLOR_SINCOS): Likewise.
50425         (TAYLOR_SLOW): Likewise.
50426         (__sin): Use TAYLOR_SINCOS.
50427         (__cos): Likewise.
50428         (slow): Use TAYLOR_SLOW.
50429         (sloww): Likewise.
50430         (bsloww): Likewise.
50431         (csloww): Likewise.
50433 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50435         * stdlib/strtod_l.c: Fix buffer overrun.
50437 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50439         * benchtests/Makefile (bench): Add sincos.
50440         * benchtests/bench-sincos.c: New file.
50442         * math/libm-test.inc (cos_test_data): New test inputs.
50443         (sin_test_data): Likewise.
50445         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50446         macro.
50447         (__sin): Use it.
50448         (__cos): Likewise.
50449         (slow1): Likewise.
50450         (slow2): Likewise.
50451         (sloww1): Likewise.
50452         (sloww2): Likewise.
50453         (bsloww1): Likewise.
50454         (bsloww2): Likewise.
50455         (cslow2): Likewise.
50456         (csloww1): Likewise.
50457         (csloww2): Likewise.
50459         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50460         function.
50461         (__sin): Use it.
50462         (__cos): Likewise.
50464         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50465         gotos.
50466         (__cos): Likewise.
50468 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50470         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50471         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50472         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50473         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50474         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50475         * elf/cache.c (print_entry): Handle the new cache flags.
50477 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50478             Aldy Hernandez  <aldyh@redhat.com>
50480         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50481         Change condition to [_SOFT_FLOAT].
50482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50494         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50497         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50498         declaration.
50500 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50502         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50503         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50504         (__longjmp): Use LOAD_GP to load saved GPRs.
50505         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50506         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50507         (__sigsetjmp): Use SAVE_GP to save GPRs.
50509         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50510         Do not append -msoft-float.
50511         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50513 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50515         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50517 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50519         [BZ #15966]
50520         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50521         (_FPU_GETCW): Use initial "__" on variable and field names but not
50522         on macro parameter name.
50523         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50524         parentheses around reference to macro parameter.
50526 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50528         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50529         prototype.
50530         (ctype_startup): Use uint32_t in cast and sizeof for
50531         ctype->charnames.
50533 2013-09-11  Jia Liu  <proljc@gmail.com>
50535         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50536         __daddr_t_defined.
50537         [__FreeBSD__]: Likewise.
50539 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50542         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50543         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50544         (strchr): Remove __strchr_sse42 ifunc selection.
50545         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50546         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50548 2013-09-11  Will Newton  <will.newton@linaro.org>
50550         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50551         parameter to RES. Remove hardcoded 1000 value.
50552         * benchtests/bench-skeleton.c (main): Pass RES parameter
50553         to TIMING_INIT and multiply result by 1000.
50555 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50559 2013-09-11  Andreas Schwab  <schwab@suse.de>
50561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50562         if not defined.
50563         (O_TMPFILE) [__USE_GNU]: Define.
50564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50565         Define.
50567 2013-09-11  Will Newton  <will.newton@linaro.org>
50569         [BZ #15857]
50570         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50571         does not overflow.
50573 2013-09-11  Will Newton  <will.newton@linaro.org>
50575         [BZ #15856]
50576         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50577         does not overflow.
50579 2013-09-11  Will Newton  <will.newton@linaro.org>
50581         [BZ #15855]
50582         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50583         does not overflow.
50585 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50587         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50588         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50593 2013-09-10  Allan McRae  <allan@archlinux.org>
50595         [BZ #15748]
50596         * manual/arith.texi (Parsing of Floats): Clarify
50597         cross-reference.
50599         [BZ #15849]
50600         * manual/install.texi (Running make install): Mention
50601         --enable-pt-chown.
50602         * INSTALL: Regenerated.
50604 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50606         * csu/init-first.c (_init): Remove the !SHARED condition around
50607         FPU control word initialization.
50608         * elf/dl-support.c (_dl_fpu_control): New variable.
50609         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50610         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50611         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50612         * math/test-fpucw-static.c: New file.
50613         * math/test-fpucw-ieee.c: New file.
50614         * math/test-fpucw-ieee-static.c: New file.
50615         * math/Makefile (tests): Add `test-fpucw-ieee' and
50616         `$(tests-static)'.
50617         (tests-static): New variable.
50618         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50619         dependency to...
50620         [($(build-shared),yes)]
50621         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50622         ... this.
50623         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50624         New dependency.
50626 2013-09-09  Allan McRae  <allan@archlinux.org>
50628         [BZ #15939]
50629         * manual/string.texi (Collation Functions): Fix typo in
50630         strcoll example.
50631         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50633         [BZ #15893]
50634         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50636         [BZ #15892]
50637         * libio/memstream.c (open_memstream): Fix memory leak.
50638         * libio/wmemstream.c (open_wmemstream): Likewise.
50640         [BZ #15895]
50641         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50643 2013-09-09  Will Newton  <will.newton@linaro.org>
50645         * malloc/Makefile: Add tst-realloc to tests.
50646         * malloc/tst-realloc.c: New file.
50648 2013-09-09  Allan McRae  <allan@archlinux.org>
50650         [BZ #15844]
50651         * COPYING: Update from GNU website to fix FSF address.
50652         * COPYING.LIB: Likewise.
50654 2013-09-06  David S. Miller  <davem@davemloft.net>
50656         * po/zh_TW.po: Update Chinese (traditional) translation from
50657         translation project.
50659 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50660             Joseph Myers  <joseph@codesourcery.com>
50662         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50663         "localeinfo.h".
50664         (obstack_chunk_alloc): New macro.
50665         (obstack_chunk_free): Likewise.
50666         (record_offset): New function.
50667         (init_locale_data): Likewise.
50668         (align_locale_data): Likewise.
50669         (add_locale_empty): Likewise.
50670         (add_locale_raw_data): Likewise.
50671         (add_locale_raw_obstack): Likewise.
50672         (add_locale_string): Likewise.
50673         (add_locale_wstring): Likewise.
50674         (add_locale_uint32): Likewise.
50675         (add_locale_uint32_array): Likewise.
50676         (add_locale_char): Likewise.
50677         (start_locale_structure): Likewise.
50678         (end_locale_structure): Likewise.
50679         (start_locale_prelude): Likewise.
50680         (end_locale_prelude): Likewise.
50681         (write_locale_data): Take locale_file structure rather than an
50682         iovec.
50683         * locale/programs/locfile.h: Include "obstack.h".
50684         (struct locale_file): Change to store locale file contents instead
50685         of header.
50686         (init_locale_data): New prototype.
50687         (align_locale_data): Likewise.
50688         (add_locale_empty): Likewise.
50689         (add_locale_raw_data): Likewise.
50690         (add_locale_raw_obstack): Likewise.
50691         (add_locale_string): Likewise.
50692         (add_locale_wstring): Likewise.
50693         (add_locale_uint32): Likewise.
50694         (add_locale_uint32_array): Likewise.
50695         (add_locale_char): Likewise.
50696         (start_locale_structure): Likewise.
50697         (end_locale_structure): Likewise.
50698         (start_locale_prelude): Likewise.
50699         (end_locale_prelude): Likewise.
50700         (write_locale_data): Update prototype.
50701         * locale/programs/3level.h (struct TABLE): Remove result field.
50702         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50703         Use new locale_file interface.
50704         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50705         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50706         * locale/programs/ld-address.c (address_output): Use new
50707         locale_file interface.
50708         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50709         NO_ADD_LOCALE.
50710         (collate_finish): Don't call collseq_table_finalize.
50711         (collate_output): Use new locale_file interface.
50712         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50713         in file.
50714         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50715         (TABLE): Move defines earlier in file.
50716         (ELEMENT): Likewise.
50717         (DEFAULT): Likewise.
50718         (wctrans_table_add): Move macro and inline function earlier in
50719         file.
50720         (struct wctype_table): Move type earlier in file.
50721         (add_locale_wctype_table): New static prototype.
50722         (struct locale_ctype_t): Use logical types instead of struct iovec
50723         pointers for members.
50724         (ctype_output): Use new locale_file interface.
50725         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50726         new locale_file interface.
50727         (allocate_arrays): Update for use of new locale_file interface.
50728         * locale/programs/ld-identification.c (identification_output): Use
50729         new locale_file interface.
50730         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50731         * locale/programs/ld-messages.c (messages_output): Likewise.
50732         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50733         * locale/programs/ld-name.c (name_output): Likewise.
50734         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50735         * locale/programs/ld-paper.c (paper_output): Likewise.
50736         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50737         * locale/programs/ld-time.c (time_output): Likewise.
50739 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50741         * benchtests/Makefile: Add memrchr benchmark.
50742         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50743         benchmark as memrchr.
50744         * benchtests/bench-memrchr-ifunc.c: New file.
50745         * benchtests/bench-memrchr.c: New file.
50747 2013-09-06   Will Newton  <will.newton@linaro.org>
50749         * benchtests/Makefile (string-bench): Add memcpy.
50751 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50752             Cong Wang  <amwang@redhat.com>
50754         [BZ #15850]
50755         * sysdeps/unix/sysv/linux/bits/in.h
50756         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50757         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50758         before __USE_KERNEL_IPV6_DEFS uses.
50759         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50760         IPPROTO_BEETPH.
50761         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50762         sockaddr_in6, or ipv6_mreq.
50764 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50766         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50767         memory access for final bytes in some large inputs.
50768         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50770 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50772         * string/test-memrchr.c: New file.
50773         * string/test-memrchr-ifunc.c: New file.
50774         * string/Makefile: Add new memrchr testcase.
50776 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50778         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50779         fanotify_init returns EPERM.
50781 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50783         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50784         errors.
50785         (top level): Treat second token from macro or constant entries for
50786         allowed headers as allowed.
50787         * include/complex.h: Condition internal declarations on
50788         [!_ISOMAC].
50789         * include/fenv.h: Condition include of <stdbool.h> and internal
50790         declarations on [!_ISOMAC].
50792 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50794         [BZ #15923]
50795         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50797 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50799         * configure.in (--enable-versioning): Remove configure option.
50800         (libc_cv_asm_symver_directive): Remove configure test.
50801         (libc_cv_ld_version_script_option): Likewise.
50802         (VERSIONING): Remove variable and AC_SUBST.
50803         (DO_VERSIONING): Remove AC_DEFINE.
50804         * configure: Regenerated.
50805         * config.h.in (DO_VERSIONING): Remove macro.
50806         * Makerules [$(versioning) = yes]: Change conditionals to
50807         [$(build-shared) = yes].
50808         * config.make.in (versioning): Remove variable.
50809         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50810         [$(build-shared) = yes].
50811         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50812         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50813         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50814         [$(build-shared) = yes].
50815         * extra-lib.mk [$(versioning) = yes]: Likewise.
50816         * hurd/Makefile [$(versioning) = yes]: Likewise.
50817         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50818         [SHARED].
50819         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50820         [SHARED].
50821         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50822         [SHARED && !NO_HIDDEN].
50823         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50824         [SHARED].
50825         [SHARED && DO_VERSIONING]: Likewise..
50826         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50827         [$(build-shared) = yes].
50828         * manual/install.texi (--disable-versioning): Remove
50829         documentation.
50830         * INSTALL: Regenerated.
50831         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50832         to [SHARED].
50833         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50834         [$(build-shared) = yes].
50835         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50836         * sysdeps/i386/i686/multiarch/strstr-c.c
50837         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50838         [SHARED && !NO_HIDDEN].
50839         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50840         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50841         * sysdeps/powerpc/powerpc32/dl-machine.c
50842         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50843         * sysdeps/powerpc/powerpc32/sysdep.h
50844         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50845         to [SHARED && PIC && !NO_HIDDEN].
50846         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50847         conditional to [SHARED].
50849 2013-09-04   Will Newton  <will.newton@linaro.org>
50851         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50852         * benchtests/bench-string.h: Include bench-timing.h instead
50853         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50854         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50855         call to HP_TIMING_DIFF_INIT.
50856         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50857         instead of hp-timing.h macros.
50858         * benchtests/bench-memchr.c: Likewise.
50859         * benchtests/bench-memcmp.c: Likewise.
50860         * benchtests/bench-memcpy.c: Likewise.
50861         * benchtests/bench-memmem.c: Likewise.
50862         * benchtests/bench-memmove.c: Likewise.
50863         * benchtests/bench-memset.c: Likewise.
50864         * benchtests/bench-rawmemchr.c: Likewise.
50865         * benchtests/bench-strcasecmp.c: Likewise.
50866         * benchtests/bench-strcasestr.c: Likewise.
50867         * benchtests/bench-strcat.c: Likewise.
50868         * benchtests/bench-strchr.c: Likewise.
50869         * benchtests/bench-strcmp.c: Likewise.
50870         * benchtests/bench-strcpy.c: Likewise.
50871         * benchtests/bench-strcpy_chk.c: Likewise.
50872         * benchtests/bench-strlen.c: Likewise.
50873         * benchtests/bench-strncasecmp.c: Likewise.
50874         * benchtests/bench-strncat.c: Likewise.
50875         * benchtests/bench-strncmp.c: Likewise.
50876         * benchtests/bench-strncpy.c: Likewise.
50877         * benchtests/bench-strnlen.c: Likewise.
50878         * benchtests/bench-strpbrk.c: Likewise.
50879         * benchtests/bench-strrchr.c: Likewise.
50880         * benchtests/bench-strspn.c: Likewise.
50881         * benchtests/bench-strstr.c: Likewise.
50883 2013-09-04  Will Newton  <will.newton@linaro.org>
50885         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50887 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50889         [BZ #15427]
50890         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50891         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50892         * math/libm-test.inc (lgamma_test_data): Add more tests.
50893         * sysdeps/i386/fpu/libm-test-ulps: Update.
50894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50896 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50898         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50900         Add ifunc.
50901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50902         Add strcmp-sse2-unaligned
50903         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50905 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50907         * Versions.def (libc): Add GLIBC_2.19.
50909 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50911         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50912         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50914 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50916         [BZ #14155]
50917         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50918         intermediate calculations in recurrence.
50919         (__ieee754_ynf): Likewise.
50920         * math/libm-test.inc (jn_test_data): Do not allow spurious
50921         underflow exception.  Add more tests.
50922         (yn_test_data): Add more tests.
50923         * sysdeps/i386/fpu/libm-test-ulps: Update.
50924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50926 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50928         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50930 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50932         * csu/init-first.c: Fix then/than typos.
50933         * locale/programs/ld-collate.c: Likewise.
50934         * locale/programs/linereader.h: Likewise.
50935         * manual/charset.texi: Likewise.
50936         * manual/filesys.texi: Likewise.
50937         * manual/stdio.texi: Likewise.
50938         * manual/string.texi: Likewise.
50939         * stdlib/fmtmsg.c: Likewise.
50940         * sysdeps/i386/stpncpy.S: Likewise.
50941         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50942         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50943         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50944         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50946 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50948         * elf/dl-open.c: Fix typos.
50949         * iconvdata/gbbig5.c: Likewise.
50950         * iconvdata/iso-2022-jp.c: Likewise.
50951         * iconv/gconv_int.h: Likewise.
50952         * iconv/loop.c: Likewise.
50953         * nis/rpcsvc/nis.h: Likewise.
50954         * resolv/ns_name.c: Likewise.
50955         * stdio-common/vfscanf.c: Likewise.
50956         * streams/stropts.h: Likewise.
50957         * sunrpc/rpc_thread.c: Likewise.
50958         * sysdeps/i386/strpbrk.S: Likewise.
50959         * sysdeps/ieee754/k_standard.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50962         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50963         * sysdeps/mach/hurd/profil.c: Likewise.
50964         * sysdeps/s390/dl-procinfo.h: Likewise.
50965         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50966         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50967         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50968         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50971 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50973         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50976 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50978         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50979         aix specific files.
50980         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50981         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50982         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50983         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50984         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50985         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50986         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50987         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50989 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50990             Roland McGrath  <roland@hack.frob.com>
50992         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50993         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50995 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50997         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50998         __executable_start symbol instead of _start.
51000 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51002         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51003         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51004         Move macros to...
51005         * sysdeps/gnu/ldsodefs.h: ... this new file.
51007         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51008         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51009         instead of ELFOSABI_LINUX.
51011         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51012         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51013         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51014         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51015         Likewise.
51016         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51017         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51018         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51019         Likewise.
51020         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51021         (ibm_extended_long_double): Add ieee_nan member.
51022         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51023         (do_test): New function.
51025         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51026         TEST_TRUNC.
51027         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51028         functions, renamed from truncdfsf_test, trunctfsf_test,
51029         trunctfdf_test.
51030         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51031         functions.
51032         (do_test): Run all these.
51034 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51036         * argp/argp-help.c: Fix typos.
51037         * argp/argp-parse.c: Likewise.
51038         * debug/backtracesyms.c: Likewise.
51039         * elf/elf.h: Likewise.
51040         * malloc/malloc.c: Likewise.
51041         * nis/nis_print.c: Likewise.
51042         * resolv/res_comp.c: Likewise.
51043         * stdlib/stdlib.h: Likewise.
51044         * sunrpc/clnt_tcp.c: Likewise.
51045         * sunrpc/clnt_udp.c: Likewise.
51046         * sunrpc/clnt_unix.c: Likewise.
51047         * sysdeps/unix/bsd/ptsname.c: Likewise.
51048         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51049         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51051         Likewise.
51052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51053         Likewise.
51054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51055         Likewise.
51056         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51058 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51060         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51063 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51065         [BZ #15897]
51066         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51067         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51068         ($(objpfx)bug-dl-leaf): New rule.
51069         ($(objpfx)bug-dl-leaf.so): Likewise.
51070         ($(objpfx)bug-dl-leaf.out): Likewise.
51071         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51072         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51073         * dlfcn/bug-dl-leaf.c: New test.
51074         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51075         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51076         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51077         (dlclose): Likewise.
51078         (dlmopen): Likewise.
51080 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51082         * include/netdb.h [!_ISOMAC]:
51083         Don't include <tls.h>.
51084         (h_errno, __libc_h_errno): Move declaration and macros out of
51085         [_LIBC_REENTRANT].
51087         * include/resolv.h [_RESOLV_H_]:
51088         Don't include <tls.h>.
51089         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51090         * resolv/res_libc.c: Don't include <tls.h>.
51091         (_res): Use __attribute__ ((nocommon)) in place of
51092         __attribute__ ((section (".bss"))).
51094         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51095         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51097         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51099         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51100         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51102         * resolv/res_mkquery.c: Include <sys/time.h>.
51104         * inet/ifreq.c: Moved to ...
51105         * sysdeps/unix/ifreq.c: ... here.
51106         * inet/ifreq.c: New file, true stub version.
51108         * socket/sa_len.c: New file.
51109         * socket/Makefile (aux): Add it.
51110         * sysdeps/unix/sysv/linux/Makefile
51111         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51112         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51113         and #include <socket/sa_len.c>.
51114         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51115         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51117         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51118         * bits/socket.h: ... here.
51120         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51121         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51122         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51124 2013-08-27  Andreas Schwab  <schwab@suse.de>
51126         [BZ #15736]
51127         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51128         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51129         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51130         * string/test-strcasecmp.c (test_main): Run tests in several
51131         locales.
51132         * string/test-strncasecmp.c (test_main): Likewise.
51134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51135         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51136         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51138         (__strncasecmp_ssse3) [PIC]: Likewise.
51140 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51142         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51144         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51145         instead of explicitly declaring xdecrypt.
51146         * nis/nss_nis/nis-publickey.c: Likewise.
51148 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51150         [BZ #15890]
51151         * nscd/aicache.c: Include res_hconf.h.
51152         (addhstaiX): Initialize res_hconf.
51154 2013-08-26  Andreas Schwab  <schwab@suse.de>
51156         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51157         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51159 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51161         * nscd/aicache.c (addhstaiX): Fix indentation.
51163 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51165         * configure.ac: Quote $build_pt_chown test.
51166         * configure: Regenerated.
51168 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51170         [BZ #15532]
51171         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51172         * math/s_cexpf.c (__cexpf): Likewise.
51173         * math/s_cexpl.c (__cexpl): Likewise.
51174         * math/libm-test.inc (cexp_test_data): Correct expected return
51175         value for NaN + i0.  Add another test.
51177 2013-08-22  David S. Miller  <davem@davemloft.net>
51179         * po/ca.po: Update Catalan translation from translation project.
51180         * po/uk.po: Add Ukrainian translations from translation project.
51182 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51184         [BZ #15797]
51185         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51186         is infinite, not alongside NaN test.
51187         * math/s_fdimf.c (__fdimf): Likewise.
51188         * math/s_fdiml.c (__fdiml): Likewise.
51189         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51190         errno is unchanged.
51192 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51194         * argp/argp-help.c: Fix typos.
51195         * crypt/speeds.c: Likewise.
51196         * csu/check_fds.c: Likewise.
51197         * elf/dl-load.c: Likewise.
51198         * elf/dl-open.c: Likewise.
51199         * elf/reldep3.c: Likewise.
51200         * elf/reldep.c: Likewise.
51201         * elf/sprof.c: Likewise.
51202         * iconv/iconv_charmap.c: Likewise.
51203         * iconv/skeleton.c: Likewise.
51204         * iconv/strtab.c: Likewise.
51205         * io/lockf64.c: Likewise.
51206         * libio/libioP.h: Likewise.
51207         * resolv/gai_notify.c: Likewise.
51208         * resolv/ns_name.c: Likewise.
51209         * resolv/ns_samedomain.c: Likewise.
51210         * resolv/res_send.c: Likewise.
51211         * stdlib/random.c: Likewise.
51212         * sunrpc/rpc/xdr.h: Likewise.
51213         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51214         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51215         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51216         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51217         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51220         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51221         * sysdeps/mach/hurd/check_fds.c: Likewise.
51222         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51223         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51224         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51226         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51227         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51228         * sysdeps/pthread/aio_notify.c: Likewise.
51229         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51230         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51231         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51232         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51233         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51235 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51237         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51238         version if bit_Slow_SSE4_2 is set.
51239         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51240         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51242 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51244         [BZ #15867]
51245         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51246         trampoline stack frame information.
51247         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51248         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51249         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51250         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51251         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51252         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51253         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51254         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51255         sa_flags value.
51256         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51257         interrupting a syscall and set with option SA_SIGINFO.
51259 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #15531]
51262         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51263         argument is infinite.
51264         * math/s_cprojf.c (__cprojf): Likewise.
51265         * math/s_cprojl.c (__cprojl): Likewise.
51266         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51267         * math/libm-test.inc (cproj_test_data): Add more tests.
51269         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51271         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51272         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51273         size.  Use __ffs to determine corresponding shift.
51275 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51276             Roland McGrath  <roland@hack.frob.com>
51278         * Makefile (INSTALL): Remove trailing blank lines from output of
51279         makeinfo.
51281 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51283         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51284         Align 32 bit compat elf_greg to 8 bytes.
51286 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51288         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51290 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51292         * string/strcoll_l.c (coll_seq): New structure.
51293         (get_next_seq_cached): New function.
51294         (get_next_seq): New function.
51295         (do_compare): New function.
51296         (STRCOLL): Use GNU style definition.  Simplify implementation
51297         by using get_next_seq, get_next_seq_cached and do_compare.
51299 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51301         [BZ #14699]
51302         CVE-2013-4237
51303         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51304         member.
51305         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51306         member.
51307         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51308         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51309         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51310         conditional.
51311         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51312         GETDENTS_64BIT_ALIGNED.
51313         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51314         * manual/filesys.texi (Reading/Closing Directory): Document
51315         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51316         strongly.
51317         * manual/conf.texi (Limits for Files): Add portability note to
51318         NAME_MAX, PATH_MAX.
51319         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51321 2013-08-13  Andreas Schwab  <schwab@suse.de>
51323         [BZ #15749]
51324         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51325         of fabs.
51326         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51327         LDBL_MAX_EXP >= 16384]: Add tests for it.
51329 2013-08-12  David S. Miller  <davem@davemloft.net>
51331         * version.h (RELEASE): Set to "development".
51332         (VERSION): Set to "2.18.90".
51333         * NEWS: Add 2.19 section.
51335 2013-08-03  David S. Miller  <davem@davemloft.net>
51337         * po/ko.po: Update Korean translation from translation project.
51339 2013-08-01  David S. Miller  <davem@davemloft.net>
51341         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51342         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51343         Bilka.
51345 2013-07-30  David S. Miller  <davem@davemloft.net>
51347         * po/fr.po: Update French translation from translation project.
51349 2013-07-28  David S. Miller  <davem@davemloft.net>
51351         * po/cs.po: Update Czech translation from translation project.
51353         * po/sv.po: Update Swedish translation from translation project.
51355 2013-07-27  David S. Miller  <davem@davemloft.net>
51357         * po/eo.po: Update Esperanto translation from translation project.
51359         * po/vi.po: Update Vietnamese translation from translation project.
51361         * po/de.po: Update German translation from translation project.
51363 2013-07-26  David S. Miller  <davem@davemloft.net>
51365         * po/bg.po: Update Bulgarian translation from translation project.
51367         * po/nl.po: Update Dutch translation from translation project.
51368         * po/pl.po: Update Polish translation from translation project.
51369         * po/ru.po: Update Russian translation from translation project.
51371 2013-07-24  David S. Miller  <davem@davemloft.net>
51373         * po/libc.pot: Update.
51375 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51377         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51378         variable page size.
51379         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51380         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51381         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51383 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51385         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51387 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51388             Andreas Schwab  <schwab@suse.de>
51389             Roland McGrath  <roland@hack.frob.com>
51390             Joseph Myers  <joseph@codesourcery.com>
51391             Carlos O'Donell  <carlos@redhat.com>
51393         [BZ #15755]
51394         * config.h.in: Define HAVE_PT_CHOWN.
51395         * config.make.in (build-pt-chown): New variable.
51396         * configure.in (--enable-pt_chown): New configure option.
51397         * configure: Regenerate.
51398         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51399         build-pt-chown is enabled.
51400         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51401         pt_chown to fix pty ownership.
51402         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51403         CLOSE_ALL_FDS.
51404         * manual/install.texi (Configuring and compiling): Mention
51405         --enable-pt_chown. Add @findex for grantpt.
51406         * INSTALL: Regenerate.
51408 2013-07-20  David S. Miller  <davem@davemloft.net>
51410         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51411         difference between 32-bit and 64-bit.
51413 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51415         [BZ #15711]
51416         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51417         Avoid system header dependency with -ffreestanding.
51418         ($(objpfx)bits/syscall%d): Likewise.
51420 2013-07-13  David S. Miller  <davem@davemloft.net>
51422         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51423         underflows from atanl/atan2l due to bug 15319.
51424         (casinh_test_data): Likewise.
51426 2013-07-07  David S. Miller  <davem@davemloft.net>
51428         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51430 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51432         * sysdeps/i386/fpu/libm-test-ulps: Update.
51433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51435 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51437         * configure.in (--enable-lock-elision): Fix message text.
51438         * INSTALL: Regenerate.
51439         * configure: Regenerate.
51441 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51445 2013-07-03  Andreas Jaeger  <aj@suse.de>
51447         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51448         define.
51449         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51450         (ptrace_peeksiginfo_args): Add.
51451         (__ptrace_peeksiginfo_flags): Add.
51452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51453         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51454         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51456 2013-07-03  Allan McRae  <allan@archlinux.org>
51458         * sysdeps/i386/fpu/libm-test-ulps: Update.
51460 2013-07-02  David S. Miller  <davem@davemloft.net>
51462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51464 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51468 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51470         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51473 2013-07-02  Andi Kleen <ak@linux.intel.com>
51475         * config.h.in (ENABLE_LOCK_ELISION): Add.
51476         * configure.in (--enable-lock-elision): Add option.
51477         * manual/install.texi: Document --enable lock elision.
51478         * configure: Regenerate
51479         * INSTALL: Regenerate.
51481 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51483         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51484         SSE4.2 strcasecmp for libc.a.
51485         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51487 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51489         [BZ #13304]
51490         * soft-fp/op-common.h (_FP_FMA): New macro.
51491         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51492         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51493         (_FP_MUL_MEAT_1_imm): ... here.
51494         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51495         (_FP_MUL_MEAT_1_wide): ... here.
51496         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51497         (_FP_MUL_MEAT_1_hard): ... here.
51498         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51499         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51500         (_FP_MUL_MEAT_2_wide): ... here.
51501         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51502         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51503         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51504         (_FP_MUL_MEAT_2_gmp): ... here.
51505         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51506         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51507         (_FP_MUL_MEAT_4_wide): ... here.
51508         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51509         (_FP_MUL_MEAT_4_gmp): ... here.
51510         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51511         (_FP_WFRACBITS_DW_S): Likewise.
51512         (_FP_WFRACXBITS_DW_S): Likewise.
51513         (_FP_HIGHBIT_DW_S): Likewise.
51514         (FP_FMA_S): Likewise.
51515         (_FP_FRAC_HIGH_DW_S): Likewise.
51516         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51517         (_FP_WFRACBITS_DW_D): Likewise.
51518         (_FP_WFRACXBITS_DW_D): Likewise.
51519         (_FP_HIGHBIT_DW_D): Likewise.
51520         (FP_FMA_D): Likewise.
51521         (_FP_FRAC_HIGH_DW_D): Likewise.
51522         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51523         (_FP_WFRACBITS_DW_E): Likewise.
51524         (_FP_WFRACXBITS_DW_E): Likewise.
51525         (_FP_HIGHBIT_DW_E): Likewise.
51526         (FP_FMA_E): Likewise.
51527         (_FP_FRAC_HIGH_DW_E): Likewise.
51528         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51529         (_FP_WFRACBITS_DW_Q): Likewise.
51530         (_FP_WFRACXBITS_DW_Q): Likewise.
51531         (_FP_HIGHBIT_DW_Q): Likewise.
51532         (FP_FMA_Q): Likewise.
51533         (_FP_FRAC_HIGH_DW_Q): Likewise.
51534         * soft-fp/fmasf4.c: New file.
51535         * soft-fp/fmadf4.c: Likewise.
51536         * soft-fp/fmatf4.c: Likewise.
51538 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51541         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51542         Silvermont.
51543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51544         macro.
51545         (index_Slow_SSE4_2): Likewise.
51546         (index_Prefer_PMINUB_for_stringop): Likewise.
51547         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51548         bit_Slow_SSE4_2 is set.
51549         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51550         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51552 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51554         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51555         rtld_global._dl_hwcap2.
51556         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51557         POWER8.
51558         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51559         POWER8 feature descriptions defined in _dl_hwcap2.
51560         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51561         string handling for POWER8 feature bits.
51562         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51563         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51564         _dl_powerpc_cap_flags.
51565         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51566         * sysdeps/powerpc/rtld-global-offsets.sym
51567         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51568         _dl_hwcap2 in the rtld_global_ro structure.
51570 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51572         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51573         hardware capabilities in support of AT_HWCAP2.
51574         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51575         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51576         GLRO(dl_hwcap2).
51577         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51578         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51579         explicitly the unknown a_type display mechanism is used.
51580         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51581         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51582         struct member.
51583         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51584         to macro prototype for AT_HWCAP2 support.
51585         * sysdeps/i386/dl-procinfo.h: Likewise.
51586         * sysdeps/s390/dl-procinfo.h: Likewise.
51587         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51588         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51589         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51590         return -1 for unknown a_type display fallback.
51591         * sysdeps/sparc/dl-procinfo.h: Likewise.
51592         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51593         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51595 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51597         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51598         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51600 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51602         [BZ #12492]
51603         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51604         mprotect making __stack_prot writable.
51606 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51607             Joseph Myers  <joseph@codesourcery.com>
51609         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51610         as being properly aligned.
51612 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51614         * dlfcn/modstatic5.c: New file.
51615         * dlfcn/tststatic5.c: New file.
51616         * dlfcn/Makefile (tests): Add tststatic5.
51617         (tests-static): Likewise.
51618         (modules-names): Add modstatic5.
51619         (tststatic5-ENV): New variable.
51620         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51622         [BZ #15022]
51623         * elf/dl-support.c (_dl_main_map): New variable.
51624         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51625         (_dl_nns, _dl_load_adds): Set to 1.
51626         (_dl_initial_searchlist): Refer to _dl_main_map.
51627         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51628         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51629         call to _dl_get_origin.
51630         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51631         around call_map.
51632         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51633         * dlfcn/modstatic3.c: New file.
51634         * dlfcn/tststatic3.c: New file.
51635         * dlfcn/tststatic4.c: New file.
51636         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51637         (tests-static): Likewise.
51638         (modules-names): Add modstatic3.
51639         (tststatic3-ENV, tststatic4-ENV): New variables.
51640         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51641         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51643 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51645         * configure.in (CC): Require GCC version 4.4 or later.
51646         * configure: Regenerated.
51647         * manual/install.texi (Tools for Compilation): Update GCC version
51648         requirement.
51649         * INSTALL: Regenerated.
51651 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51653         [BZ #15674]
51654         * string/test-memcmp.c (check2): New.
51655         (main): Call check2.
51657         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51659 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51661         [BZ #15022]
51662         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51663         over to...
51664         (dl_open_worker) [!SHARED]: ... here.
51666 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51668         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51670 2013-06-25  Richard Henderson  <rth@redhat.com>
51672         * locale/programs/locarchive.c: Include <libc-internal.h>
51674 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51676         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51677         trailing whitespace removed.
51679 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51681         [BZ #10283]
51682         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51683         * locale/programs/locarchive.c: Include libc-mmap.h.
51684         (prepare_address_space): Take two new outputs (the mmap base and len).
51685         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51686         values.
51687         (create_archive): Declare new mmap base and len values for
51688         prepare_address_space, and store the result in ah.
51689         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51690         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51691         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51692         Declare new mmap base and len values for
51693         prepare_address_space, and store the result in new_ah.
51694         (open_archive): Declare new mmap base and len values for
51695         prepare_address_space, and store the result in ah.
51696         (close_archive): If ah->mmap_base is not NULL, use that and
51697         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51698         * sysdeps/generic/libc-mmap.h: New file.
51700 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51702         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51703         (ALIGN_UP): Likewise.
51704         (PTR_ALIGN_DOWN): Likewise.
51705         (PTR_ALIGN_UP): Likewise.
51707 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51709         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51710         entry mapped to PPC_PLATFORM_POWER8.
51711         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51712         POWER8.
51713         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51714         (_dl_string_platform): Add case for exporting platform position for
51715         POWER8.
51716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51717         search path to sysdeps/powerpc/powerpc32/power8 directory.
51718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51719         search path to sysdeps/powerpc/powerpc64/power8 directory.
51720         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51721         power7 directories.
51722         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51723         power7 directories.
51725 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51727         * INSTALL: Regenerate.
51729         * nscd/connections.c (nscd_init): Fix comment.
51731 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51733         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51735         [BZ #15667]
51736         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51737         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51739 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51741         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51742         DL_DST_REQ_STATIC.
51743         (DL_DST_REQ_STATIC): Remove macro.
51745 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51747         [BZ #7006]
51748         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51749         with a shift of 0 bits.
51751 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51753         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51754         $(tststatic-ENV).
51756 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51758         [BZ #15655]
51759         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51761 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51763         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51764         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51765         accepts -fno-tree-loop-distribute-patterns.
51766         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51767         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51768         recursive call.
51769         * string/memset.c (memset): Likewise.
51770         * string/test-memmove.c (simple_memmove): Disable loop transformation
51771         to library calls.
51772         * string/test-memset.c (simple_memset): Likewise.
51773         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51774         * benchtests/bench-memset.c (simple_memset): Likewise.
51775         * configure: Regenerated.
51777 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51779         * math/test-misc.c (main): Ignore fesetround failure when failures
51780         of subsequent rounding tests would be ignored.
51782         [BZ #15654]
51783         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51784         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51785         * math/fegetenv.c (__fegetenv): Return 0.
51786         * math/fegetexcept.c (fegetexcept): Return 0.
51787         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51788         FE_TONEAREST.
51789         * math/feholdexcpt.c (feholdexcept): Return 0.
51790         * math/fesetenv.c (__fesetenv): Return 0.
51791         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51792         argument FE_TONEAREST.
51793         * math/feupdateenv.c (__feupdateenv): Return 0.
51794         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51796 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51798         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51799         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51800         ($(objpfx)rtld-%.os rules): Use them.
51802 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51804         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51805         fields.
51807 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51809         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51810         length of target pattern, then descending length of dependency pattern.
51811         * configure.in (AWK): Require gawk 3.1.2 or newer.
51812         * manual/install.texi (Tools for Compilation): Say that we do.
51813         * configure: Regenerated.
51815         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51816         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51817         * scripts/sysd-rules.awk: ... this new script.
51818         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51819         than a glob-style pattern.
51821 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51823         * math/test-misc.c (main): Do not treat incorrectly rounded
51824         conversions as failure unless ROUNDING_TESTS passes.
51826 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51828         [BZ #15631]
51829         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51830         restore exception state around main square root computation, then
51831         check for inexactness explicitly.
51833         * math/libm-test.inc (fma_test_data): Add another test.
51835 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51837         * manual/threads.texi (Non-POSIX Extensions): New document
51838         node.  Document pthread_getattr_default_np and
51839         pthread_setattr_default_np.
51841         * Versions.def (libpthread): Add GLIBC_2.18.
51842         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51844         Likewise.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51846         Likewise.
51847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51848         Likewise.
51849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51850         Likewise.
51851         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51852         Likewise.
51853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51854         Likewise.
51855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51856         Likewise.
51857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51858         Likewise.
51859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51860         Likewise.
51862 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51865         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51867 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51868             H.J. Lu  <hjl.tools@gmail.com>
51870         [BZ #15627]
51871         * sysdeps/x86_64/rtld-memset.c: Remove file.
51872         * sysdeps/x86_64/rtld-memset.S: New file.
51874 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51876         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51877         (test_in_one_mode): Take arguments for whether the rounding mode
51878         is supported for each floating-point type.
51879         (do_test): Pass new arguments to test_in_one_mode using
51880         ROUNDING_TESTS.
51882 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51884         * posix/tst-waitid.c (do_test): Distinguish different instances of
51885         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51886         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51887         before entering the kernel for waitpid.
51889 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51891         * NEWS: Fix note on clock function precision.  Text by Roland
51892         McGrath.
51894 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51896         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51897         it into place only when and if the sanity check passes.
51899 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51901         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51902         output for whether conversion result is exact.  Take argument
51903         indicating whether type is IBM long double.
51904         (round_for_all): Change need_exact field to ibm_ld.
51905         * stdlib/tst-strtod-round.c (struct exactness): New type.
51906         (struct test): Change bool ld_ok field to struct exactness exact.
51907         (TEST): Update all definitions for change to field.
51908         (tests): Regenerate array contents.
51909         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51910         field value.  Check for IBM long double here.
51911         (do_test): Update calls to test_in_one_mode.
51913 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         [BZ #12515]
51916         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51917         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51919 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51921         [BZ #15605]
51922         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51923         generated by the compiler on loop optimizations.
51924         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51925         general definitions.
51927 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51929         * math/bug-nextafter.c: Include <math-tests.h>.
51930         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51931         the relevant type.
51932         * math/bug-nexttoward.c: Include <math-tests.h>.
51933         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51934         the relevant type.
51935         * math/test-misc.c: Include <math-tests.h>.
51936         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51937         the relevant type.
51939 2013-06-12  Andreas Jaeger  <aj@suse.de>
51941         * po/ia.po: Update Interlingua translation from translation
51942         project.
51944 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51946         * include/fenv.h: Include stdbool.h.
51947         (struct rm_ctx): New structure.
51948         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51949         Define macro.
51950         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51951         (SET_RESTORE_ROUNDF): Likewise.
51952         (SET_RESTORE_ROUNDL): Likewise.
51953         (SET_RESTORE_ROUND_NOEX): Likewise.
51954         (SET_RESTORE_ROUND_NOEXF): Likewise.
51955         (SET_RESTORE_ROUND_NOEXL): Likewise.
51956         (SET_RESTORE_ROUND_53BIT): Likewise.
51957         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51958         (libc_feresetround_noexf_ctx): Likewise.
51959         (libc_feresetround_noexl_ctx): Likewise.
51960         (libc_feholdsetround_53bit_ctx): Likewise.
51961         (libc_feresetround_53bit_ctx): Likewise.
51962         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51963         (libc_feholdexcept_setround_sse_ctx): New function.
51964         (libc_fesetenv_sse_ctx): Likewise.
51965         (libc_feupdateenv_sse_ctx): Likewise.
51966         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51967         (libc_feholdexcept_setround_387_ctx): Likewise.
51968         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51969         (libc_feholdsetround_387_prec_ctx): Likewise.
51970         (libc_feholdsetround_387_ctx): Likewise.
51971         (libc_feholdsetround_387_53bit_ctx): Likewise.
51972         (libc_feholdsetround_sse_ctx): Likewise.
51973         (libc_feresetround_sse_ctx): Likewise.
51974         (libc_feresetround_387_ctx): Likewise.
51975         (libc_feupdateenv_387_ctx): Likewise.
51976         (libc_feholdexcept_setroundf_ctx): Define macro.
51977         (libc_fesetenvf_ctx): Likewise.
51978         (libc_feupdateenvf_ctx): Likewise.
51979         (libc_feholdsetroundf_ctx): Likewise.
51980         (libc_feresetroundf_ctx): Likewise.
51981         (libc_feholdexcept_setround_ctx): Likewise.
51982         (libc_fesetenv_ctx): Likewise.
51983         (libc_feupdateenv_ctx): Likewise.
51984         (libc_feholdsetround_ctx): Likewise.
51985         (libc_feresetround_ctx): Likewise.
51986         (libc_feholdexcept_setroundl_ctx): Likewise.
51987         (libc_feupdateenvl_ctx): Likewise.
51988         (libc_feholdsetroundl_ctx): Likewise.
51989         (libc_feresetroundl_ctx): Likewise.
51990         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51991         (libc_feresetround_53bit_ctx): Likewise.
51993 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51995         * locale/iso-639.def: Convert to UTF-8.
51997 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51999         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52000         (EXCEPTION_TESTS_double): Likewise.
52001         (EXCEPTION_TESTS_long_double): Likewise.
52002         (EXCEPTION_TESTS): Likewise.
52003         * math/libm-test.inc (test_exceptions): Only test exceptions if
52004         EXCEPTION_TESTS (FLOAT).
52006 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52008         * benchtests/Makefile (string-bench): Add strcpy_chk and
52009         stpcpy_chk.
52010         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52011         * benchtests/bench-stpcpy_chk.c: New file.
52012         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52013         * benchtests/bench-strcpy_chk.c: New file.
52014         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52015         code.
52016         (do_test): Likewise.
52018 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52020         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52021         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52022         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52023         with tabs where appropriate.
52024         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52025         dl-procinfo.h.
52026         [PPC_PLATFORM_PPC440]: Likewise.
52027         [PPC_PLATFORM_PPC464]: Likewise.
52028         [PPC_PLATFORM_PPC476]: Likewise.
52029         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52030         ppc464, and ppc476 platform strings merging from ports/
52031         dl-procinfo.h.
52033 2013-06-11  Andreas Schwab  <schwab@suse.de>
52035         [BZ #14991]
52036         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52037         (from_ucs4_idx): Regenerate.
52038         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52039         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52040         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52041         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52042         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52043         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52044         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52045         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52046         from FROM_LOOP and TO_LOOP specific macros.
52047         (BODY): Handle combining characters.
52048         * iconvdata/BIG5HKSCS.irreversible: Update.
52049         * iconvdata/BIG5HKSCS.precomposed: New file.
52050         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52051         characters.
52052         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52054 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52056         * include/sys/time.h: Fix indentation and add copyright header.
52058         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52059         (do_test): Likewise.
52060         * string/test-memchr.c (do_one_test): Likewise.
52061         (do_test): Likewise.
52062         * string/test-memcmp.c (do_one_test): Likewise.
52063         (do_test): Likewise.
52064         * string/test-memcpy.c (do_one_test): Likewise.
52065         (do_test): Likewise.
52066         * string/test-memmem.c (do_one_test): Likewise.
52067         (do_test): Likewise.
52068         (do_random_tests): Likewise.
52069         * string/test-memmove.c (do_one_test): Likewise.
52070         (do_test): Likewise.
52071         * string/test-memset.c (do_one_test): Likewise.
52072         (do_test): Likewise.
52073         * string/test-rawmemchr.c (do_one_test): Likewise.
52074         (do_test): Likewise.
52075         * string/test-strcasecmp.c (do_one_test): Likewise.
52076         (do_test): Likewise.
52077         * string/test-strcasestr.c (do_one_test): Likewise.
52078         (do_test): Likewise.
52079         * string/test-strcat.c (do_one_test): Likewise.
52080         (do_test): Likewise.
52081         * string/test-strchr.c (do_one_test): Likewise.
52082         (do_test): Likewise.
52083         * string/test-strcmp.c (do_one_test): Likewise.
52084         (do_test): Likewise.
52085         * string/test-strcpy.c (do_one_test): Likewise.
52086         (do_test): Likewise.
52087         * string/test-string.h: Likewise.
52088         (test_init): Likewise.
52089         * string/test-strlen.c (do_one_test): Likewise.
52090         (do_test): Likewise.
52091         * string/test-strncasecmp.c (do_one_test): Likewise.
52092         (do_test): Likewise.
52093         * string/test-strncat.c (do_one_test): Likewise.
52094         (do_test): Likewise.
52095         * string/test-strncmp.c (do_one_test): Likewise.
52096         (do_test_limit): Likewise.
52097         (do_test): Likewise.
52098         * string/test-strncpy.c (do_one_test): Likewise.
52099         (do_test): Likewise.
52100         * string/test-strnlen.c (do_one_test): Likewise.
52101         (do_test): Likewise.
52102         * string/test-strpbrk.c (do_one_test): Likewise.
52103         (do_test): Likewise.
52104         * string/test-strrchr.c (do_one_test): Likewise.
52105         (do_test): Likewise.
52106         * string/test-strspn.c (do_one_test): Likewise.
52107         (do_test): Likewise.
52108         * string/test-strstr.c (do_one_test): Likewise.
52109         (do_test): Likewise.
52111         * benchtests/Makefile (string-bench): Add string benchmarks.
52112         * benchtests/bench-bcopy-ifunc.c: New file.
52113         * benchtests/bench-bcopy.c: New file.
52114         * benchtests/bench-bzero-ifunc.c: New file.
52115         * benchtests/bench-bzero.c: New file.
52116         * benchtests/bench-memccpy-ifunc.c: New file.
52117         * benchtests/bench-memccpy.c: New file.
52118         * benchtests/bench-memchr-ifunc.c: New file.
52119         * benchtests/bench-memchr.c: New file.
52120         * benchtests/bench-memcmp-ifunc.c: New file.
52121         * benchtests/bench-memcmp.c: New file.
52122         * benchtests/bench-memmem-ifunc.c: New file.
52123         * benchtests/bench-memmem.c: New file.
52124         * benchtests/bench-memmove-ifunc.c: New file.
52125         * benchtests/bench-memmove.c: New file.
52126         * benchtests/bench-mempcpy-ifunc.c: New file.
52127         * benchtests/bench-mempcpy.c: New file.
52128         * benchtests/bench-memset-ifunc.c: New file.
52129         * benchtests/bench-memset.c: New file.
52130         * benchtests/bench-rawmemchr-ifunc.c: New file.
52131         * benchtests/bench-rawmemchr.c: New file.
52132         * benchtests/bench-stpcpy-ifunc.c: New file.
52133         * benchtests/bench-stpcpy.c: New file.
52134         * benchtests/bench-stpncpy-ifunc.c: New file.
52135         * benchtests/bench-stpncpy.c: New file.
52136         * benchtests/bench-strcasecmp-ifunc.c: New file.
52137         * benchtests/bench-strcasecmp.c: New file.
52138         * benchtests/bench-strcasestr-ifunc.c: New file.
52139         * benchtests/bench-strcasestr.c: New file.
52140         * benchtests/bench-strcat-ifunc.c: New file.
52141         * benchtests/bench-strcat.c: New file.
52142         * benchtests/bench-strchr-ifunc.c: New file.
52143         * benchtests/bench-strchr.c: New file.
52144         * benchtests/bench-strchrnul-ifunc.c: New file.
52145         * benchtests/bench-strchrnul.c: New file.
52146         * benchtests/bench-strcmp-ifunc.c: New file.
52147         * benchtests/bench-strcmp.c: New file.
52148         * benchtests/bench-strcpy-ifunc.c: New file.
52149         * benchtests/bench-strcpy.c: New file.
52150         * benchtests/bench-strcspn-ifunc.c: New file.
52151         * benchtests/bench-strcspn.c: New file.
52152         * benchtests/bench-strlen-ifunc.c: New file.
52153         * benchtests/bench-strlen.c: New file.
52154         * benchtests/bench-strncasecmp-ifunc.c: New file.
52155         * benchtests/bench-strncasecmp.c: New file.
52156         * benchtests/bench-strncat-ifunc.c: New file.
52157         * benchtests/bench-strncat.c: New file.
52158         * benchtests/bench-strncmp-ifunc.c: New file.
52159         * benchtests/bench-strncmp.c: New file.
52160         * benchtests/bench-strncpy-ifunc.c: New file.
52161         * benchtests/bench-strncpy.c: New file.
52162         * benchtests/bench-strnlen-ifunc.c: New file.
52163         * benchtests/bench-strnlen.c: New file.
52164         * benchtests/bench-strpbrk-ifunc.c: New file.
52165         * benchtests/bench-strpbrk.c: New file.
52166         * benchtests/bench-strrchr-ifunc.c: New file.
52167         * benchtests/bench-strrchr.c: New file.
52168         * benchtests/bench-strspn-ifunc.c: New file.
52169         * benchtests/bench-strspn.c: New file.
52170         * benchtests/bench-strstr-ifunc.c: New file.
52171         * benchtests/bench-strstr.c: New file.
52173         * benchtests/Makefile: Disable parallel execution of targets.
52174         (string-bench): Add memcpy.
52175         (benchset): New variable to store a list of benchmark sets.
52176         (bench-func): Renamed from bench.
52177         (bench-set): New target.
52178         (bench): Depend on bench-func and bench-set.
52179         * benchtests/README: Add section on benchmark sets.
52180         * benchtests/bench-memcpy-ifunc.c: New file.
52181         * benchtests/bench-memcpy.c: New file.
52182         * benchtests/bench-string.h: New file.
52184 2013-06-11  Andreas Schwab  <schwab@suse.de>
52186         [BZ #15577]
52187         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52188         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52189         values in the triple.
52190         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52191         terminator in the group key.
52193 2013-06-11  Andreas Jaeger  <aj@suse.de>
52195         * po/zh_TW.po: Update Chinese (traditional) translation from
52196         translation project.
52198 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52200         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52201         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52202         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52203         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52204         (clock_getcpuclockid): Likewise.
52205         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52206         Add weak_alias and libc_hidden_def.
52207         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52208         * rt/clock_gettime.c (clock_gettime): Rename to
52209         __clock_gettime.  Add weak_alias and libc_hidden_def.
52210         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52211         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52212         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52213         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52214         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52215         Likewise.
52216         * rt/clock_settime.c (clock_settime): Rename to
52217         __clock_settime.  Add weak_alias and libc_hidden_def.
52218         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52220 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52222         * mach/err_boot.sub: Remove trailing whitespace.
52223         * mach/err_ipc.sub: Likewise.
52224         * mach/err_mach.sub: Likewise.
52226         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52227         (ROUNDING_TESTS_double): Likewise.
52228         (ROUNDING_TESTS_long_double): Likewise.
52229         (ROUNDING_TESTS): Likewise.
52230         * math/libm-test.inc: Include <math-tests.h>.
52231         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52232         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52233         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52234         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52236 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52238         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52239         of assigning.
52241 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52243         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52244         otherwise empty TRANS lines.
52245         * sysdeps/gnu/errlist.c: Regenerated.
52247         * catgets/gencat.c (error_print): Use (void) in function
52248         definition.
52249         * crypt/crypt_util.c (__init_des): Likewise.
52250         * crypt/speeds.c (Stop): Likewise.
52251         (main): Likewise.
52252         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52253         * inet/ruserpass.c (token): Likewise.
52254         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52255         * intl/localealias.c (extend_alias_table): Likewise.
52256         * intl/plural-exp.c (init_germanic_plural): Likewise.
52257         * libio/fcloseall.c (__fcloseall): Likewise.
52258         * libio/genops.c (_IO_flush_all): Likewise.
52259         (_IO_flush_all_linebuffered): Likewise.
52260         (_IO_cleanup): Likewise.
52261         (_IO_iter_begin): Likewise.
52262         (_IO_iter_end): Likewise.
52263         (_IO_list_lock): Likewise.
52264         (_IO_list_unlock): Likewise.
52265         (_IO_list_resetlock): Likewise.
52266         * libio/getchar.c (getchar): Likewise.
52267         * libio/getchar_u.c (getchar_unlocked): Likewise.
52268         * libio/getwchar.c (getwchar): Likewise.
52269         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52270         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52271         * login/getpt.c (__getpt): Likewise.
52272         * login/tst-utmp.c (main): Likewise.
52273         * malloc/hooks.c (__malloc_check_init): Likewise.
52274         * malloc/malloc.c (__malloc_stats): Likewise.
52275         * malloc/mtrace.c (tr_break): Likewise.
52276         (mtrace): Likewise.
52277         (muntrace): Likewise.
52278         * misc/fstab.c (endfsent): Likewise.
52279         * misc/getclktck.c (__getclktck): Likewise.
52280         * misc/getdtsz.c (__getdtablesize): Likewise.
52281         * misc/gethostid.c (gethostid): Likewise.
52282         * misc/getpagesize.c (__getpagesize): Likewise.
52283         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52284         (__get_nprocs): Likewise.
52285         (__get_phys_pages): Likewise.
52286         (__get_avphys_pages): Likewise.
52287         * misc/getttyent.c (getttyent): Likewise.
52288         (setttyent): Likewise.
52289         (endttyent): Likewise.
52290         * misc/getusershell.c (getusershell): Likewise.
52291         (endusershell): Likewise.
52292         (setusershell): Likewise.
52293         (initshells): Likewise.
52294         * misc/hsearch.c (__hdestroy): Likewise.
52295         * misc/sync.c (sync): Likewise.
52296         * misc/syslog.c (closelog_internal): Likewise.
52297         (closelog): Likewise.
52298         * misc/ttyslot.c (ttyslot): Likewise.
52299         * misc/vhangup.c (vhangup): Likewise.
52300         * posix/fork.c (__fork): Likewise.
52301         * posix/getegid.c (__getegid): Likewise.
52302         * posix/geteuid.c (__geteuid): Likewise.
52303         * posix/getgid.c (__getgid): Likewise.
52304         * posix/getpid.c (__getpid): Likewise.
52305         * posix/getppid.c (__getppid): Likewise.
52306         * posix/getuid.c (__getuid): Likewise.
52307         * posix/pause.c (pause): Likewise.
52308         * posix/setpgrp.c (setpgrp): Likewise.
52309         * posix/setsid.c (__setsid): Likewise.
52310         * posix/test-vfork.c (noop): Likewise.
52311         * resolv/gethnamaddr.c (_endhtent): Likewise.
52312         (_gethtent): Likewise.
52313         (ht_endhostent): Likewise.
52314         (gethostent): Likewise.
52315         (dns_service): Likewise.
52316         * stdlib/drand48.c (drand48): Likewise.
52317         * stdlib/lrand48.c (lrand48): Likewise.
52318         * stdlib/mrand48.c (mrand48): Likewise.
52319         * stdlib/rand.c (rand): Likewise.
52320         * stdlib/random.c (__random): Likewise.
52321         * stdlib/setenv.c (clearenv): Likewise.
52322         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52323         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52324         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52325         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52326         (__get_nprocs): Likewise.
52327         (__get_phys_pages): Likewise.
52328         (__get_avphys_pages): Likewise.
52329         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52330         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52331         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52332         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52333         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52334         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52335         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52336         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52337         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52338         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52339         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52340         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52341         * sysdeps/posix/clock.c (clock): Likewise.
52342         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52343         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52344         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52345         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52346         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52347         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52348         (__get_nprocs_conf): Likewise.
52349         (__get_phys_pages): Likewise.
52350         (__get_avphys_pages): Likewise.
52351         * time/clock.c (clock): Likewise.
52352         * time/tzset.c (__tzname_max): Likewise.
52354 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52356         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52357         (__bswap_32): Do not use "register".
52358         * crypt/crypt.c (_ufc_doit_r): Likewise.
52359         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52360         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52361         * gmon/gmon.c (__monstartup): Likewise.
52362         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52363         * hurd/hurdmalloc.c (more_memory): Likewise.
52364         (malloc): Likewise.
52365         (free): Likewise.
52366         (realloc): Likewise.
52367         (malloc_fork_prepare): Likewise.
52368         (malloc_fork_parent): Likewise.
52369         (malloc_fork_child): Likewise.
52370         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52371         (_svcauth_des): Likewise.
52372         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52373         * inet/inet_net.c (inet_network): Likewise.
52374         * inet/inet_netof.c (inet_netof): Likewise.
52375         * inet/rcmd.c (__validuser2_sa): Likewise.
52376         * io/fts.c (fts_open): Likewise.
52377         (fts_load): Likewise.
52378         (fts_close): Likewise.
52379         (fts_read): Likewise.
52380         (fts_children): Likewise.
52381         (fts_build): Likewise.
52382         (fts_stat): Likewise.
52383         (fts_sort): Likewise.
52384         (fts_alloc): Likewise.
52385         (fts_lfree): Likewise.
52386         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52387         (_IO_file_xsgetn): Likewise.
52388         (_IO_file_xsgetn_mmap): Likewise.
52389         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52390         (_IO_cookie_write): Likewise.
52391         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52392         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52393         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52394         * malloc/obstack.c (_obstack_begin): Likewise.
52395         (_obstack_begin_1): Likewise.
52396         (_obstack_newchunk): Likewise.
52397         (_obstack_allocated_p): Likewise.
52398         (obstack_free): Likewise.
52399         (_obstack_memory_used): Likewise.
52400         * misc/getttyent.c (getttynam): Likewise.
52401         (getttyent): Likewise.
52402         (skip): Likewise.
52403         (value): Likewise.
52404         * misc/getusershell.c (initshells): Likewise.
52405         * misc/syslog.c (__vsyslog_chk): Likewise.
52406         * misc/ttyslot.c (ttyslot): Likewise.
52407         * nis/nis_hash.c (__nis_hash): Likewise.
52408         * posix/fnmatch_loop.c (FCT): Likewise.
52409         * posix/getconf.c (print_all): Likewise.
52410         (main): Likewise.
52411         * posix/getopt.c (exchange): Likewise.
52412         * posix/glob.c (globfree): Likewise.
52413         (prefix_array): Likewise.
52414         (__glob_pattern_type): Likewise.
52415         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52416         (NS_GET32): Likewise.
52417         (NS_PUT16): Likewise.
52418         (NS_PUT32): Likewise.
52419         * resolv/gethnamaddr.c (getanswer): Likewise.
52420         (gethostbyname2): Likewise.
52421         (gethostbyaddr): Likewise.
52422         (_gethtent): Likewise.
52423         (_gethtbyname2): Likewise.
52424         (_gethtbyaddr): Likewise.
52425         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52426         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52427         * resolv/res_init.c (__res_vinit): Likewise.
52428         (net_mask): Likewise.
52429         * resolv/res_mkquery.c (outchar): Likewise.
52430         (PRINT): Likewise.
52431         * stdio-common/printf_fp.c (outchar): Likewise.
52432         (PRINT): Likewise.
52433         * stdio-common/printf_fphex.c (outchar): Likewise.
52434         (PRINT): Likewise.
52435         * stdio-common/printf_size.c (outchar): Likewise.
52436         (PRINT): Likewise.
52437         * stdio-common/test_rdwr.c (main): Likewise.
52438         * stdio-common/tfformat.c (matches): Likewise.
52439         * stdio-common/vfprintf.c (outchar): Likewise.
52440         (printf_unknown): Likewise.
52441         (buffered_vfprintf): Likewise.
52442         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52443         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52444         (ReadFile): Likewise.
52445         * stdlib/qsort.c (SWAP): Likewise.
52446         (_quicksort): Likewise.
52447         * stdlib/setenv.c (__add_to_environ): Likewise.
52448         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52449         * stdlib/strtol_l.c (__strtol_l): Likewise.
52450         * stdlib/tst-strtod.c (main): Likewise.
52451         * stdlib/tst-strtol.c (main): Likewise.
52452         * stdlib/tst-strtoll.c (main): Likewise.
52453         * string/bits/string2.h (__strcmp_cc): Likewise.
52454         (__strcmp_cg): Likewise.
52455         (__strcspn_c1): Likewise.
52456         (__strcspn_c2): Likewise.
52457         (__strcspn_c3): Likewise.
52458         (__strspn_c1): Likewise.
52459         (__strspn_c2): Likewise.
52460         (__strspn_c3): Likewise.
52461         (__strsep_1c): Likewise.
52462         (__strsep_2c): Likewise.
52463         (__strsep_3c): Likewise.
52464         * string/memccpy.c (__memccpy): Likewise.
52465         * string/stpcpy.c (__stpcpy): Likewise.
52466         * string/strcmp.c (strcmp): Likewise.
52467         * string/strrchr.c (strrchr): Likewise.
52468         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52469         Likewise.
52470         * sysdeps/mach/hurd/getcwd.c
52471         (_hurd_canonicalize_directory_name_internal): Likewise.
52472         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52473         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52474         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52475         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52476         Likewise, in both definitions.
52477         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52478         definitions.
52479         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52480         64] (__bswap_64): Likewise.
52481         * time/test_time.c (main): Likewise.
52482         * time/tzfile.c (__tzfile_read): Likewise.
52483         (__tzfile_compute): Likewise.
52484         * time/tzset.c (__tzset_parse_tz): Likewise.
52485         (tzset_internal): Likewise.
52486         (compute_change): Likewise.
52487         * wcsmbs/wcscat.c (__wcscat): Likewise.
52488         * wcsmbs/wcschr.c (wcschr): Likewise.
52489         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52490         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52491         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52492         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52493         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52494         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52495         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52496         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52497         * wcsmbs/wmemset.c (wmemset): Likewise.
52499 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52501         * scripts/config.guess: Update to version 2013-05-16.
52502         * scripts/config.sub: Update to version 2013-04-24.
52503         * scripts/install-sh: Update to version 2011-11-20.07.
52504         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52505         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52507 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52509         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52510         * elf/sln.c: Likewise.
52511         * hurd/hurd/ioctl.h: Likewise.
52512         * hurd/hurdmalloc.c: Likewise.
52513         * hurd/xattr.c: Likewise.
52514         * include/shlib-compat.h: Likewise.
52515         * inet/ruserpass.c: Likewise.
52516         * libio/iofgets_u.c: Likewise.
52517         * libio/iofgetws_u.c: Likewise.
52518         * locale/programs/ld-identification.c: Likewise.
52519         * locale/programs/ld-time.c: Likewise.
52520         * mach/msg-destroy.c: Likewise.
52521         * nss/nss_files/files-netgrp.c: Likewise.
52522         * resolv/res_data.c: Likewise.
52523         * soft-fp/op-1.h: Likewise.
52524         * soft-fp/op-2.h: Likewise.
52525         * soft-fp/op-4.h: Likewise.
52526         * soft-fp/op-common.h: Likewise.
52527         * stdio-common/printf_fphex.c: Likewise.
52528         * stdlib/strtod_l.c: Likewise.
52529         * sunrpc/rpc/clnt.h: Likewise.
52530         * sysdeps/generic/framestate.c: Likewise.
52531         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52532         * sysdeps/i386/bsd-setjmp.S: Likewise.
52533         * sysdeps/i386/__longjmp.S: Likewise.
52534         * sysdeps/i386/setjmp.S: Likewise.
52535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52536         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52537         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52538         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52539         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52541         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52544         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52545         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52546         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52547         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52548         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52549         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52553         * sysdeps/ieee754/support.c: Likewise.
52554         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52555         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52556         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52557         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52558         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52559         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52560         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52561         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52562         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52563         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52564         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52565         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52566         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52567         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52568         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52569         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52570         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52573 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52575         * posix/transbug.c: Remove executable mode.
52577 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52579         * crypt/speeds.c: Remove trailing whitespace.
52580         * dlfcn/default.c: Likewise.
52581         * elf/ifuncdep2.c: Likewise.
52582         * elf/ifuncmain1.c: Likewise.
52583         * elf/ifuncmain1vis.c: Likewise.
52584         * elf/testobj.h: Likewise.
52585         * elf/tst-stackguard1.c: Likewise.
52586         * gmon/sys/gmon.h: Likewise.
52587         * hurd/hurdmsg.c: Likewise.
52588         * hurd/new-fd.c: Likewise.
52589         * hurd/ports-get.c: Likewise.
52590         * iconvdata/ibm1008_420.c: Likewise.
52591         * inet/tst-getni1.c: Likewise.
52592         * inet/tst-getni2.c: Likewise.
52593         * libio/ioungetc.c: Likewise.
52594         * libio/wfiledoalloc.c: Likewise.
52595         * manual/libm-err-tab.pl: Likewise.
52596         * math/w_dremf.c: Likewise.
52597         * misc/ftruncate.c: Likewise.
52598         * posix/bug-glob2.c: Likewise.
52599         * posix/tst-pcre.c: Likewise.
52600         * posix/wait4.c: Likewise.
52601         * resolv/README: Likewise.
52602         * resolv/res_debug.h: Likewise.
52603         * resolv/tst-inet_ntop.c: Likewise.
52604         * setjmp/bug269-setjmp.c: Likewise.
52605         * soft-fp/extended.h: Likewise.
52606         * soft-fp/op-1.h: Likewise.
52607         * soft-fp/op-2.h: Likewise.
52608         * soft-fp/op-4.h: Likewise.
52609         * soft-fp/op-8.h: Likewise.
52610         * soft-fp/testit.c: Likewise.
52611         * stdio-common/bug16.c: Likewise.
52612         * stdlib/random.c: Likewise.
52613         * sunrpc/rpcsvc/rquota.x: Likewise.
52614         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52615         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52616         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52617         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52618         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52619         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52620         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52621         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52622         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52623         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52624         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52625         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52629         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52630         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52631         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52632         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52633         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52637         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52641         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52643         * sysdeps/ieee754/s_lib_version.c: Likewise.
52644         * sysdeps/mach/hurd/check_fds.c: Likewise.
52645         * sysdeps/mach/hurd/getsockname.c: Likewise.
52646         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52647         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52648         * sysdeps/powerpc/bits/link.h: Likewise.
52649         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52650         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52651         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52652         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52653         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52654         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52655         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52656         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52657         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52658         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52659         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52660         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52661         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52662         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52663         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52664         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52668         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52669         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52670         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52671         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52672         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52673         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52674         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52675         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52676         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52677         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52678         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52679         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52680         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52681         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52682         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52683         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52684         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52685         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52686         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52687         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52688         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52689         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52690         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52691         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52692         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52693         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52694         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52695         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52696         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52697         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52698         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52700         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52701         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52702         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52703         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52704         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52705         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52706         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52707         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52708         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52709         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52710         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52711         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52712         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52713         * sysdeps/powerpc/sysdep.h: Likewise.
52714         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52715         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52716         * sysdeps/sh/dl-trampoline.S: Likewise.
52717         * sysdeps/sh/memset.S: Likewise.
52718         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52719         * sysdeps/sh/strlen.S: Likewise.
52720         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52721         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52722         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52723         * sysdeps/sparc/sparc32/rem.S: Likewise.
52724         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52725         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52726         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52727         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52728         * sysdeps/sparc/sparc32/urem.S: Likewise.
52729         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52730         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52731         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52732         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52733         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52734         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52735         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52736         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52737         * sysdeps/unix/bsd/times.c: Likewise.
52738         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52739         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52743         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52744         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52745         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52746         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52747         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52748         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52749         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52750         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52751         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52752         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52753         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52754         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52755         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52756         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52757         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52758         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52759         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52760         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52761         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52762         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52763         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52764         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52765         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52766         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52767         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52768         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52769         * sysdeps/x86_64/strcspn.S: Likewise.
52771 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52773         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52774         generated file.  Regenerate properly from gen-translit.pl.
52775         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52776         locale/C-translit.h.
52778 2013-06-05  Andreas Schwab  <schwab@suse.de>
52780         [BZ #15100]
52781         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52782         week as 6 instead of -1.
52783         * time/tst-strptime.c (day_tests): Add test case.
52785 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52787         * sysdeps/generic/math_private.h
52788         (libc_feholdexcept_setround_53bit): Replace with
52789         libc_feholdsetround_53bit.
52790         (libc_feupdateenv_53bit): Replace with
52791         libc_feresetround_53bit.
52792         (SET_RESTORE_ROUND_53BIT): Adjust.
52794 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52796         * string/test-strchrnul.c: Add copyright header.
52798         * posix/tst-getaddrinfo4.c: Increase test timeout.
52800 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52802         [BZ #15536]
52803         * math/libm-test.inc (MAX_EXP): Remove
52804         (MIN_EXP): Define.
52805         (ulp): Use MIN_EXP - MANT_DIG.
52806         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52808 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52810         * po/be.po: Revert last change.
52811         * po/zh_CN.po: Likewise.
52812         * po/header.pot: Likewise.
52814 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52816         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52817         link-libc-deps to empty as target-specific variable.
52818         * Makerules (link-libc-args): New variable.
52819         (libc-for-link): Likewise.
52820         (link-libc-deps): Likewise.
52821         (lib%.so): Depend on $(link-libc-deps).  Link with
52822         $(link-libc-args).
52823         (build-module): Link with $(link-libc-args).
52824         (build-module-asneeded): Likewise.
52825         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52826         list of objects.
52827         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52828         target-specific variable.
52829         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52830         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52831         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52832         libc.
52833         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52834         libc and ld.so.
52835         ($(objpfx)libpcprofile.so): Likewise.
52836         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52837         libc_nonshared.a.
52838         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52839         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52840         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52841         $(link-libc-deps).
52842         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52843         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52844         * login/Makefile ($(objpfx)libutil.so): Likewise.
52845         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52846         * math/Makefile ($(objpfx)libm.so): Likewise.
52847         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52848         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52849         variable instead of depending directly on libc.
52850         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52851         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52852         $(link-libc-deps).
52853         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52854         libc.
52855         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52856         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52857         ($(objpfx)libanl.so): Likewise.
52858         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52859         ld.so.
52860         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52861         $(link-libc-deps).
52862         * sysdeps/i386/fpu/Makefile: Remove file.
52863         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52864         ($(objpfx)libm.so): Remove dependency on ld.so.
52866 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52868         [BZ # 15553]
52869         * nis/yp_xdr.c (XDRMAXNAME): Define.
52870         (XDRMAXRECORD): Define.
52871         (xdr_domainname): Use XDRMAXNAME.
52872         (xdr_mapname): Likewise.
52873         (xdr_peername): Likewise.
52874         (xdr_keydat): Use XDRMAXRECORD.
52875         (xdr_valdat): Likewise.
52877 2013-05-30  Jeff Law  <law@redhat.com>
52879         [BZ #14256]
52880         * manual/errno.texi (ESTALE): Update to account for more than
52881         just NFS file systems.
52882         * sysdeps/gnu/errlist.c: Regenerated.
52884 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52886         [BZ #15465]
52887         * elf/Makefile (tests): Add tst-null-argv.
52888         (modules-names):  Add tst-null-argv-lib.
52889         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52890         (tst-null-argv-ENV): Set environment for tst-null-argv.
52891         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52892         (RTLD_PROGNAME): New macro.
52893         * elf/tst-null-argv.c: New test case.
52894         * elf/tst-null-argv-lib.c: Library for test case.
52895         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52896         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52897         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52898         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52899         * elf/dl-init.c (call_init): Likewise.
52900         (_dl_init): Likewise.
52901         * elf/dl-load.c (print_search_path): Likewise.
52902         (_dl_map_object): Likewise.
52903         * elf/dl-lookup.c (do_lookup_x): Likewise.
52904         (add_dependency): Likewise.
52905         (_dl_lookup_symbol_x): Likewise.
52906         (_dl_debug_bindings): Likewise.
52907         * elf/dl-open.c (_dl_show_scope): Likewise.
52908         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52909         * elf/dl-version.c (match_symbol): Likewise.
52910         (_dl_check_map_versions): Likewise.
52911         * elf/rtld.c (dl_main): Likewise.
52912         (print_unresolved): Use RTLD_PROGNAME.
52913         (print_missing_version): Likewise.
52914         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52915         (elf_machine_rela): Likewise.
52916         * sysdeps/powerpc/powerpc32/dl-machine.c
52917         (__process_machine_rela): Likewise.
52918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52919         Likewise.
52920         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52921         Likewise.
52922         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52923         Likewise.
52924         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52926         Likewise.
52927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52928         Likewise.
52929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52931 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52933         * po/be.po: Add descriptive title.
52934         * po/zh_CN.po: Likewise.
52935         * po/header.pot: Likewise.
52937 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52939         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52940         error message.
52941         (enlarge_archive): Likewise.
52943 2013-05-28  Ben North  <ben@redfrontdoor.org>
52945         * manual/arith.texi (frexp): It is the magnitude of the return
52946         value which lies in [0.5, 1), not the return value itself.
52948 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52952 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52954         * stdio-common/bug26.c (main): Correct fscanf template.
52956         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52957         declare _dl_skip_args.
52959         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52960         Don't declare.
52962         * manual/platform.texi: Add missing @end deftypefun.
52964 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52966         [BZ #15529]
52967         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52968         bit of mantissa of 2^16382.
52969         * math/libm-test.inc (hypot_test_data): Add more tests.
52971         * math/libm-test.inc: Add drem and pow10 to list of tested
52972         functions.
52973         (pow10_test): New function.
52974         (drem_test): Likewise.
52975         (drem_test_tonearest): Likewise.
52976         (drem_test_towardzero): Likewise.
52977         (drem_test_downward): Likewise.
52978         (drem_test_upward): Likewise.
52979         (main): Call the new functions.
52981         * math/libm-test.inc (finite_test_data): Remove.
52982         (finite_test): Run tests from isfinite_test_data.
52983         (gamma_test_data): Remove.
52984         (gamma_test): Run tests from lgamma_test_data.
52985         * sysdeps/i386/fpu/libm-test-ulps: Update.
52986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52988 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52990         * manual/platform.texi: Add PowerPC PPR function set documentation.
52991         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52992         implementation.
52994 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52996         * math/libm-test.inc (MAX_EXP): Define.
52997         (ULPDIFF): Define.
52998         (ulp): New function.
52999         (check_float_internal): Use ULPDIFF.
53000         (cpow_test): Disable failing test.
53001         (check_ulp): Test ulp() implemetnation.
53002         (main): Call check_ulp before starting tests.
53004 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53006         * math/gen-libm-test.pl (generate_testfile): Do not handle
53007         START_DATA and END_DATA.
53008         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53009         END_DATA.
53010         (acos_tonearest_test_data): Likewise.
53011         (acos_towardzero_test_data): Likewise.
53012         (acos_downward_test_data): Likewise.
53013         (acos_upward_test_data): Likewise.
53014         (acosh_test_data): Likewise.
53015         (asin_test_data): Likewise.
53016         (asin_tonearest_test_data): Likewise.
53017         (asin_towardzero_test_data): Likewise.
53018         (asin_downward_test_data): Likewise.
53019         (asin_upward_test_data): Likewise.
53020         (asinh_test_data): Likewise.
53021         (atan_test_data): Likewise.
53022         (atanh_test_data): Likewise.
53023         (atan2_test_data): Likewise.
53024         (cabs_test_data): Likewise.
53025         (cacos_test_data): Likewise.
53026         (cacosh_test_data): Likewise.
53027         (carg_test_data): Likewise.
53028         (casin_test_data): Likewise.
53029         (casinh_test_data): Likewise.
53030         (catan_test_data): Likewise.
53031         (catanh_test_data): Likewise.
53032         (cbrt_test_data): Likewise.
53033         (ccos_test_data): Likewise.
53034         (ccosh_test_data): Likewise.
53035         (ceil_test_data): Likewise.
53036         (cexp_test_data): Likewise.
53037         (cimag_test_data): Likewise.
53038         (clog_test_data): Likewise.
53039         (clog10_test_data): Likewise.
53040         (conj_test_data): Likewise.
53041         (copysign_test_data): Likewise.
53042         (cos_test_data): Likewise.
53043         (cos_tonearest_test_data): Likewise.
53044         (cos_towardzero_test_data): Likewise.
53045         (cos_downward_test_data): Likewise.
53046         (cos_upward_test_data): Likewise.
53047         (cosh_test_data): Likewise.
53048         (cosh_tonearest_test_data): Likewise.
53049         (cosh_towardzero_test_data): Likewise.
53050         (cosh_downward_test_data): Likewise.
53051         (cosh_upward_test_data): Likewise.
53052         (cpow_test_data): Likewise.
53053         (cproj_test_data): Likewise.
53054         (creal_test_data): Likewise.
53055         (csin_test_data): Likewise.
53056         (csinh_test_data): Likewise.
53057         (csqrt_test_data): Likewise.
53058         (ctan_test_data): Likewise.
53059         (ctan_tonearest_test_data): Likewise.
53060         (ctan_towardzero_test_data): Likewise.
53061         (ctan_downward_test_data): Likewise.
53062         (ctan_upward_test_data): Likewise.
53063         (ctanh_test_data): Likewise.
53064         (ctanh_tonearest_test_data): Likewise.
53065         (ctanh_towardzero_test_data): Likewise.
53066         (ctanh_downward_test_data): Likewise.
53067         (ctanh_upward_test_data): Likewise.
53068         (erf_test_data): Likewise.
53069         (erfc_test_data): Likewise.
53070         (exp_test_data): Likewise.
53071         (exp_tonearest_test_data): Likewise.
53072         (exp_towardzero_test_data): Likewise.
53073         (exp_downward_test_data): Likewise.
53074         (exp_upward_test_data): Likewise.
53075         (exp10_test_data): Likewise.
53076         (exp2_test_data): Likewise.
53077         (expm1_test_data): Likewise.
53078         (fabs_test_data): Likewise.
53079         (fdim_test_data): Likewise.
53080         (finite_test_data): Likewise.
53081         (floor_test_data): Likewise.
53082         (fma_test_data): Likewise.
53083         (fma_towardzero_test_data): Likewise.
53084         (fma_downward_test_data): Likewise.
53085         (fma_upward_test_data): Likewise.
53086         (fmax_test_data): Likewise.
53087         (fmin_test_data): Likewise.
53088         (fmod_test_data): Likewise.
53089         (fpclassify_test_data): Likewise.
53090         (frexp_test_data): Likewise.
53091         (gamma_test_data): Likewise.
53092         (hypot_test_data): Likewise.
53093         (ilogb_test_data): Likewise.
53094         (isfinite_test_data): Likewise.
53095         (isgreater_test_data): Likewise.
53096         (isgreaterequal_test_data): Likewise.
53097         (isinf_test_data): Likewise.
53098         (isless_test_data): Likewise.
53099         (islessequal_test_data): Likewise.
53100         (islessgreater_test_data): Likewise.
53101         (isnan_test_data): Likewise.
53102         (isnormal_test_data): Likewise.
53103         (issignaling_test_data): Likewise.
53104         (isunordered_test_data): Likewise.
53105         (j0_test_data): Likewise.
53106         (j1_test_data): Likewise.
53107         (jn_test_data): Likewise.
53108         (ldexp_test_data): Likewise.
53109         (lgamma_test_data): Likewise.
53110         (lrint_test_data): Likewise.
53111         (lrint_tonearest_test_data): Likewise.
53112         (lrint_towardzero_test_data): Likewise.
53113         (lrint_downward_test_data): Likewise.
53114         (lrint_upward_test_data): Likewise.
53115         (llrint_test_data): Likewise.
53116         (llrint_tonearest_test_data): Likewise.
53117         (llrint_towardzero_test_data): Likewise.
53118         (llrint_downward_test_data): Likewise.
53119         (llrint_upward_test_data): Likewise.
53120         (log_test_data): Likewise.
53121         (log10_test_data): Likewise.
53122         (log1p_test_data): Likewise.
53123         (log2_test_data): Likewise.
53124         (logb_test_data): Likewise.
53125         (logb_downward_test_data): Likewise.
53126         (lround_test_data): Likewise.
53127         (llround_test_data): Likewise.
53128         (modf_test_data): Likewise.
53129         (nearbyint_test_data): Likewise.
53130         (nextafter_test_data): Likewise.
53131         (nexttoward_test_data): Likewise.
53132         (pow_test_data): Likewise.
53133         (pow_tonearest_test_data): Likewise.
53134         (pow_towardzero_test_data): Likewise.
53135         (pow_downward_test_data): Likewise.
53136         (pow_upward_test_data): Likewise.
53137         (remainder_test_data): Likewise.
53138         (remainder_tonearest_test_data): Likewise.
53139         (remainder_towardzero_test_data): Likewise.
53140         (remainder_downward_test_data): Likewise.
53141         (remainder_upward_test_data): Likewise.
53142         (remquo_test_data): Likewise.
53143         (rint_test_data): Likewise.
53144         (rint_tonearest_test_data): Likewise.
53145         (rint_towardzero_test_data): Likewise.
53146         (rint_downward_test_data): Likewise.
53147         (rint_upward_test_data): Likewise.
53148         (round_test_data): Likewise.
53149         (scalb_test_data): Likewise.
53150         (scalbn_test_data): Likewise.
53151         (scalbln_test_data): Likewise.
53152         (signbit_test_data): Likewise.
53153         (sin_test_data): Likewise.
53154         (sin_tonearest_test_data): Likewise.
53155         (sin_towardzero_test_data): Likewise.
53156         (sin_downward_test_data): Likewise.
53157         (sin_upward_test_data): Likewise.
53158         (sincos_test_data): Likewise.
53159         (sinh_test_data): Likewise.
53160         (sinh_tonearest_test_data): Likewise.
53161         (sinh_towardzero_test_data): Likewise.
53162         (sinh_downward_test_data): Likewise.
53163         (sinh_upward_test_data): Likewise.
53164         (sqrt_test_data): Likewise.
53165         (tan_test_data): Likewise.
53166         (tan_tonearest_test_data): Likewise.
53167         (tan_towardzero_test_data): Likewise.
53168         (tan_downward_test_data): Likewise.
53169         (tan_upward_test_data): Likewise.
53170         (tanh_test_data): Likewise.
53171         (tgamma_test_data): Likewise.
53172         (trunc_test_data): Likewise.
53173         (y0_test_data): Likewise.
53174         (y1_test_data): Likewise.
53175         (yn_test_data): Likewise.
53176         (significand_test_data): Likewise.
53178         * math/gen-libm-test.pl (@functions): Remove variable.
53179         (generate_testfile): Don't handle START and END lines.
53180         * math/libm-test.inc (START): New macro.
53181         (END): Likewise.
53182         (END_COMPLEX): Likewise.
53183         (acos_test): Use END macro without arguments.
53184         (acos_test_tonearest): Likewise.
53185         (acos_test_towardzero): Likewise.
53186         (acos_test_downward): Likewise.
53187         (acos_test_upward): Likewise.
53188         (acosh_test): Likewise.
53189         (asin_test): Likewise.
53190         (asin_test_tonearest): Likewise.
53191         (asin_test_towardzero): Likewise.
53192         (asin_test_downward): Likewise.
53193         (asin_test_upward): Likewise.
53194         (asinh_test): Likewise.
53195         (atan_test): Likewise.
53196         (atanh_test): Likewise.
53197         (atan2_test): Likewise.
53198         (cabs_test): Likewise.
53199         (cacos_test): Use END_COMPLEX macro without arguments.
53200         (cacosh_test): Likewise.
53201         (carg_test): Use END macro without arguments.
53202         (casin_test): Use END_COMPLEX macro without arguments.
53203         (casinh_test): Likewise.
53204         (catan_test): Likewise.
53205         (catanh_test): Likewise.
53206         (cbrt_test): Use END macro without arguments.
53207         (ccos_test): Use END_COMPLEX macro without arguments.
53208         (ccosh_test): Likewise.
53209         (ceil_test): Use END macro without arguments.
53210         (cexp_test): Use END_COMPLEX macro without arguments.
53211         (cimag_test): Use END macro without arguments.
53212         (clog_test): Use END_COMPLEX macro without arguments.
53213         (clog10_test): Likewise.
53214         (conj_test): Likewise.
53215         (copysign_test): Use END macro without arguments.
53216         (cos_test): Likewise.
53217         (cos_test_tonearest): Likewise.
53218         (cos_test_towardzero): Likewise.
53219         (cos_test_downward): Likewise.
53220         (cos_test_upward): Likewise.
53221         (cosh_test): Likewise.
53222         (cosh_test_tonearest): Likewise.
53223         (cosh_test_towardzero): Likewise.
53224         (cosh_test_downward): Likewise.
53225         (cosh_test_upward): Likewise.
53226         (cpow_test): Use END_COMPLEX macro without arguments.
53227         (cproj_test): Likewise.
53228         (creal_test): Use END macro without arguments.
53229         (csin_test): Use END_COMPLEX macro without arguments.
53230         (csinh_test): Likewise.
53231         (csqrt_test): Likewise.
53232         (ctan_test): Likewise.
53233         (ctan_test_tonearest): Likewise.
53234         (ctan_test_towardzero): Likewise.
53235         (ctan_test_downward): Likewise.
53236         (ctan_test_upward): Likewise.
53237         (ctanh_test): Likewise.
53238         (ctanh_test_tonearest): Likewise.
53239         (ctanh_test_towardzero): Likewise.
53240         (ctanh_test_downward): Likewise.
53241         (ctanh_test_upward): Likewise.
53242         (erf_test): Use END macro without arguments.
53243         (erfc_test): Likewise.
53244         (exp_test): Likewise.
53245         (exp_test_tonearest): Likewise.
53246         (exp_test_towardzero): Likewise.
53247         (exp_test_downward): Likewise.
53248         (exp_test_upward): Likewise.
53249         (exp10_test): Likewise.
53250         (exp2_test): Likewise.
53251         (expm1_test): Likewise.
53252         (fabs_test): Likewise.
53253         (fdim_test): Likewise.
53254         (finite_test): Likewise.
53255         (floor_test): Likewise.
53256         (fma_test): Likewise.
53257         (fma_test_towardzero): Likewise.
53258         (fma_test_downward): Likewise.
53259         (fma_test_upward): Likewise.
53260         (fmax_test): Likewise.
53261         (fmin_test): Likewise.
53262         (fmod_test): Likewise.
53263         (fpclassify_test): Likewise.
53264         (frexp_test): Likewise.
53265         (gamma_test): Likewise.
53266         (hypot_test): Likewise.
53267         (ilogb_test): Likewise.
53268         (isfinite_test): Likewise.
53269         (isgreater_test): Likewise.
53270         (isgreaterequal_test): Likewise.
53271         (isinf_test): Likewise.
53272         (isless_test): Likewise.
53273         (islessequal_test): Likewise.
53274         (islessgreater_test): Likewise.
53275         (isnan_test): Likewise.
53276         (isnormal_test): Likewise.
53277         (issignaling_test): Likewise.
53278         (isunordered_test): Likewise.
53279         (j0_test): Likewise.
53280         (j1_test): Likewise.
53281         (jn_test): Likewise.
53282         (ldexp_test): Likewise.
53283         (lgamma_test): Likewise.
53284         (lrint_test): Likewise.
53285         (lrint_test_tonearest): Likewise.
53286         (lrint_test_towardzero): Likewise.
53287         (lrint_test_downward): Likewise.
53288         (lrint_test_upward): Likewise.
53289         (llrint_test): Likewise.
53290         (llrint_test_tonearest): Likewise.
53291         (llrint_test_towardzero): Likewise.
53292         (llrint_test_downward): Likewise.
53293         (llrint_test_upward): Likewise.
53294         (log_test): Likewise.
53295         (log10_test): Likewise.
53296         (log1p_test): Likewise.
53297         (log2_test): Likewise.
53298         (logb_test): Likewise.
53299         (logb_test_downward): Likewise.
53300         (lround_test): Likewise.
53301         (llround_test): Likewise.
53302         (modf_test): Likewise.
53303         (nearbyint_test): Likewise.
53304         (nextafter_test): Likewise.
53305         (nexttoward_test): Likewise.
53306         (pow_test): Likewise.
53307         (pow_test_tonearest): Likewise.
53308         (pow_test_towardzero): Likewise.
53309         (pow_test_downward): Likewise.
53310         (pow_test_upward): Likewise.
53311         (remainder_test): Likewise.
53312         (remainder_test_tonearest): Likewise.
53313         (remainder_test_towardzero): Likewise.
53314         (remainder_test_downward): Likewise.
53315         (remainder_test_upward): Likewise.
53316         (remquo_test): Likewise.
53317         (rint_test): Likewise.
53318         (rint_test_tonearest): Likewise.
53319         (rint_test_towardzero): Likewise.
53320         (rint_test_downward): Likewise.
53321         (rint_test_upward): Likewise.
53322         (round_test): Likewise.
53323         (scalb_test): Likewise.
53324         (scalbn_test): Likewise.
53325         (scalbln_test): Likewise.
53326         (signbit_test): Likewise.
53327         (sin_test): Likewise.
53328         (sin_test_tonearest): Likewise.
53329         (sin_test_towardzero): Likewise.
53330         (sin_test_downward): Likewise.
53331         (sin_test_upward): Likewise.
53332         (sincos_test): Likewise.
53333         (sinh_test): Likewise.
53334         (sinh_test_tonearest): Likewise.
53335         (sinh_test_towardzero): Likewise.
53336         (sinh_test_downward): Likewise.
53337         (sinh_test_upward): Likewise.
53338         (sqrt_test): Likewise.
53339         (tan_test): Likewise.
53340         (tan_test_tonearest): Likewise.
53341         (tan_test_towardzero): Likewise.
53342         (tan_test_downward): Likewise.
53343         (tan_test_upward): Likewise.
53344         (tanh_test): Likewise.
53345         (tgamma_test): Likewise.
53346         (trunc_test): Likewise.
53347         (y0_test): Likewise.
53348         (y1_test): Likewise.
53349         (yn_test): Likewise.
53350         (significand_test): Likewise.
53352 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53354         [BZ #15381]
53355         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53357 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53359         [BZ #14894]
53360         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53361         __ppc_mdoio and __ppc_mdoom.
53362         * manual/platform.texi: Document new functions __ppc_yield,
53363         __ppc_mdoio and __ppc_mdoom.
53365 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53367         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53368         (main): Mention "tls" pseudo-hwcap is legacy.
53369         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53371 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53373         * math/gen-libm-test.pl (parse_args): Output only string of
53374         arguments as text for test name, not full call or descriptions of
53375         tests for extra outputs.
53376         (generate_testfile): Do not pass function name to parse_args.
53377         Generate this_func variable from START.
53378         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53379         field to arg_str.
53380         (struct test_ff_f_data): Likewise.
53381         (test_ff_f_data_nexttoward): Likewise.
53382         (struct test_fi_f_data): Likewise.
53383         (struct test_fl_f_data): Likewise.
53384         (struct test_if_f_data): Likewise.
53385         (struct test_fff_f_data): Likewise.
53386         (struct test_c_f_data): Likewise.
53387         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53388         (struct test_fF_f1_data): Likewise.
53389         (struct test_ffI_f1_data): Likewise.
53390         (struct test_c_c_data): Rename test_name field to arg_str.
53391         (struct test_cc_c_data): Likewise.
53392         (struct test_f_i_data): Likewise.
53393         (struct test_ff_i_data): Likewise.
53394         (struct test_f_l_data): Likewise.
53395         (struct test_f_L_data): Likewise.
53396         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53397         and extra2_name.
53398         (COMMON_TEST_SETUP): New macro.
53399         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53400         (COMMON_TEST_CLEANUP): Likewise.
53401         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53402         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53403         macros.
53404         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53405         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53406         macros.
53407         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53408         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53409         cleanup macros.
53410         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53411         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53412         macros.
53413         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53414         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53415         macros.
53416         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53417         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53418         cleanup macros.
53419         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53420         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53421         cleanup macros.
53422         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53423         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53424         cleanup macros.
53425         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53426         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53427         macros.
53428         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53429         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53430         macros.
53431         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53432         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53433         macros.
53434         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53435         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53436         cleanup macros.
53437         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53438         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53439         cleanup macros.
53440         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53441         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53442         macros.
53443         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53444         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53445         cleanup macros.
53446         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53447         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53448         macros.
53449         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53450         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53451         macros.
53452         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53453         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53454         cleanup macros.
53455         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53457 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53459         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53460         to _sifields.sigfault.
53461         (si_addr_lsb): Define new macro.
53462         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53464         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53466 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53468         [BZ #15441]
53469         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53470         returns -1.
53471         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53472         null return -1.
53473         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53474         loading the domain.
53476 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53478         * math/gen-libm-test.pl (parse_args): Do not include expected
53479         result in test name.
53480         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53481         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53482         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53483         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53484         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53487 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53489         * benchtests/Makefile: Sort function entries.
53491         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53492         tanh, asinh, acosh, atanh.
53493         * benchtests/acos-inputs: New file.
53494         * benchtests/acosh-inputs: New file.
53495         * benchtests/asin-inputs: New file.
53496         * benchtests/asinh-inputs: New file.
53497         * benchtests/atanh-inputs: New file.
53498         * benchtests/cosh-inputs: New file.
53499         * benchtests/log-inputs: New file.
53500         * benchtests/sinh-inputs: New file.
53501         * benchtests/tanh-inputs: New file.
53503 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53505         [BZ #15339]
53506         * posix/tst-getaddrinfo4.c: New test.
53507         * posix/Makefile (tests): Add it.
53509 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53511         [BZ #15339]
53512         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53513         when no services were used.
53514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53515         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53517 2013-05-21  Andreas Schwab  <schwab@suse.de>
53519         [BZ #15014]
53520         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53521         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53522         successful.
53523         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53524         redundant variable declarations and reallocation of buffer when
53525         parsing as IPv6 address.  Always set NSS status when called from
53526         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53527         buffer too small.  Correct computation of needed size.
53528         * nss/Makefile (tests): Add test-digits-dots.
53529         * nss/test-digits-dots.c: New test.
53531 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53533         * benchtests/Makefile: Remove instructions for adding
53534         benchmark tests.
53535         * benchtests/README: New file to explain how to execute and
53536         enhance the benchmark tests.
53538 2013-05-21  Andreas Schwab  <schwab@suse.de>
53540         [BZ #15493]
53541         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53542         * setjmp/tst-sigsetjmp.c: New test.
53544 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53546         * sysdeps/x86_64/memset.S (memset): New implementation.
53547         (__bzero): Likewise.
53548         (__memset_tail): New function.
53550 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53552         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53553         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53554         __memcpy_sse2_unaligned ifunc selection.
53555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53556         Add memcpy-sse2-unaligned.S.
53557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53558         Add: __memcpy_sse2_unaligned.
53560 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53562         [BZ #15490]
53563         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53564         math_force_eval before restoring floating-point envrionment.
53565         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53566         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53567         Likewise.
53568         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53569         <math_private.h>.
53570         (__nearbyintl): Use math_force_eval before restoring
53571         floating-point environment.
53572         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53574         * math/gen-libm-test.pl (special_functions): Remove.
53575         (parse_args): Don't handle TEST_extra.  Handle functions with no
53576         return value.
53577         * math/libm-test.inc (struct test_sincos_data): Replace with
53578         struct test_fFF_11_data.
53579         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53580         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53581         (sincos_test_data): Change element type to struct
53582         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53583         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53584         RUN_TEST_LOOP_sincos.
53585         * math/README.libm-test: Don't mention special handling of
53586         individual functions.
53587         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53588         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53589         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53590         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53591         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53594         * math/gen-libm-test.pl (get_variable): Remove function.
53595         (parse_args): Don't show pointer parameters to call in test
53596         names.  Use "extra output N" in test names for extra outputs
53597         rather than naming variables.
53599 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53601         [BZ #15488]
53602         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53603         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53604         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53605         double tests.
53606         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53607         disable.
53608         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53609         check_long_double.
53611         * math/gen-libm-test.pl (@tests): Remove variable.
53612         ($count): Likewise.
53613         (new_test): Remove function.
53614         (show_exceptions): New function.
53615         (special_functions): Use show_exceptions instead of new_test.
53616         (parse_args): Likewise.
53617         (generate_testfile): Pass only function name in generated call to
53618         print_max_error or print_complex_max_error.
53619         (get_ulps): Do not handle complex tests specially.
53620         (output_test): Rename to ...
53621         (get_all_ulps_for_test): ... this.  Return a string rather than
53622         printing to a file.  Require ulps to be present.
53623         (output_ulps): Generate arrays rather than #defines.
53624         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53625         (struct ulp_data): New type.
53626         (BUILD_COMPLEX_ULP): Remove macro.
53627         (compare_ulp_data): New function.
53628         (find_ulps): Likewise.
53629         (find_test_ulps): Likewise.
53630         (find_function_ulps): Likewise.
53631         (find_complex_function_ulps): Likewise.
53632         (print_max_error): Determine allowed ulps using
53633         find_function_ulps.
53634         (print_complex_max_error): Determine allowed ulps using
53635         find_complex_function_ulps.
53636         (check_float_internal): Determine max ulps using find_test_ulps.
53637         (check_float): Do not take max_ulp parameter.  Update call to
53638         check_float_internal.
53639         (check_complex): Likewise.
53640         (check_int): Do not take max_ulp parameter.
53641         (check_long): Likewise.
53642         (check_bool): Likewise.
53643         (check_longlong): Likewise.
53644         (struct test_f_f_data): Remove max_ulp field.
53645         (struct test_ff_f_data): Likewise.
53646         (struct test_ff_f_data_nexttoward): Likewise.
53647         (struct test_fi_f_data): Likewise.
53648         (struct test_fl_f_data): Likewise.
53649         (struct test_if_f_data): Likewise.
53650         (struct test_fff_f_data): Likewise.
53651         (struct test_c_f_data): Likewise.
53652         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53653         (struct test_fF_f1_data): Likewise.
53654         (struct test_ffI_f1_data): Likewise.
53655         (struct test_c_c_data): Remove max_ulp field.
53656         (struct test_cc_c_data): Likewise.
53657         (struct test_f_i_data): Likewise.
53658         (struct test_ff_i_data): Likewise.
53659         (struct test_f_l_data): Likewise.
53660         (struct test_f_L_data): Likewise.
53661         (struct test_sincos_data): Likewise.
53662         (RUN_TEST_f_f): Do not handle ulps.
53663         (RUN_TEST_LOOP_f_f): Likewise.
53664         (RUN_TEST_2_f): Likewise.
53665         (RUN_TEST_LOOP_2_f): Likewise.
53666         (RUN_TEST_fff_f): Likewise.
53667         (RUN_TEST_LOOP_fff_f): Likewise.
53668         (RUN_TEST_c_f): Likewise.
53669         (RUN_TEST_LOOP_c_f): Likewise.
53670         (RUN_TEST_f_f1): Likewise.
53671         (RUN_TEST_LOOP_f_f1): Likewise.
53672         (RUN_TEST_fF_f1): Likewise.
53673         (RUN_TEST_LOOP_fF_f1): Likewise.
53674         (RUN_TEST_fI_f1): Likewise.
53675         (RUN_TEST_LOOP_fI_f1): Likewise.
53676         (RUN_TEST_ffI_f1): Likewise.
53677         (RUN_TEST_LOOP_ffI_f1): Likewise.
53678         (RUN_TEST_c_c): Likewise.
53679         (RUN_TEST_LOOP_c_c): Likewise.
53680         (RUN_TEST_cc_c): Likewise.
53681         (RUN_TEST_LOOP_cc_c): Likewise.
53682         (RUN_TEST_f_i): Likewise.
53683         (RUN_TEST_LOOP_f_i): Likewise.
53684         (RUN_TEST_f_i_tg): Likewise.
53685         (RUN_TEST_LOOP_f_i_tg): Likewise.
53686         (RUN_TEST_ff_i_tg): Likewise.
53687         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53688         (RUN_TEST_f_b): Likewise.
53689         (RUN_TEST_LOOP_f_b): Likewise.
53690         (RUN_TEST_f_b_tg): Likewise.
53691         (RUN_TEST_LOOP_f_b_tg): Likewise.
53692         (RUN_TEST_f_l): Likewise.
53693         (RUN_TEST_LOOP_f_l): Likewise.
53694         (RUN_TEST_f_L): Likewise.
53695         (RUN_TEST_LOOP_f_L): Likewise.
53696         (RUN_TEST_sincos): Likewise.
53697         (RUN_TEST_LOOP_sincos): Likewise.
53699 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53701         [BZ #15480]
53702         [BZ #15485]
53703         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53704         main case of finite arguments, set rounding mode to FE_TONEAREST
53705         and discard exceptions.
53706         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53707         exceptions.
53708         (remainder_tonearest_test_data): New variable.
53709         (remainder_test_tonearest): New function.
53710         (remainder_towardzero_test_data): New variable.
53711         (remainder_test_towardzero): New function.
53712         (remainder_downward_test_data): New variable.
53713         (remainder_test_downward): New function.
53714         (remainder_upward_test_data): New variable.
53715         (remainder_test_upward): New function.
53716         (main): Call the new test functions.
53718         * math/libm-test.inc (struct test_f_f1_data): Remove field
53719         extra_init.
53720         (struct test_fF_f1_data): Likewise.
53721         (struct test_ffI_f1_data): Likewise.
53722         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53723         based on value of EXTRA_EXPECTED.
53724         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53725         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53726         EXTRA_VAR based on value of EXTRA_EXPECTED.
53727         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53728         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53729         EXTRA_VAR based on value of EXTRA_EXPECTED.
53730         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53731         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53732         EXTRA_VAR based on value of EXTRA_EXPECTED.
53733         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53734         * math/gen-libm-test.pl (parse_args): Don't output initializers
53735         for extra output values.
53737         * math/libm-test.inc (check_int): Expect result to be exactly
53738         equal to expected value and do not handle ulps.
53739         (check_long): Likewise.
53740         (check_longlong): Likewise.
53742         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53743         exceptions.
53744         (cimag_test_data): Likewise.
53745         (conj_test_data): Likewise.
53746         (copysign_test_data): Likewise.
53747         (cproj_test_data): Likewise.
53748         (creal_test_data): Likewise.
53749         (fabs_test_data): Likewise.
53750         (fdim_test_data): Likewise.
53751         (finite_test_data): Likewise.
53752         (floor_test_data): Likewise.
53753         (fmax_test_data): Likewise.
53754         (fmin_test_data): Likewise.
53755         (fmod_test_data): Likewise.
53756         (fpclassify_test_data): Likewise.
53757         (frexp_test_data): Likewise.
53758         (ilogb_test_data): Likewise.
53759         (isfinite_test_data): Likewise.
53760         (isgreater_test_data): Likewise.
53761         (isgreaterequal_test_data): Likewise.
53762         (isinf_test_data): Likewise.
53763         (isless_test_data): Likewise.
53764         (islessequal_test_data): Likewise.
53765         (islessgreater_test_data): Likewise.
53766         (isnan_test_data): Likewise.
53767         (isnormal_test_data): Likewise.
53768         (issignaling_test_data): Likewise.
53769         (isunordered_test_data): Likewise.
53770         (ldexp_test_data): Likewise.
53771         (lrint_test_data): Likewise.
53772         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53773         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53774         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53775         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53776         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53777         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53778         test input.
53779         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53780         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53781         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53782         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53783         that test input.
53784         (lrint_downward_test_data): Test for "inexact" exceptions.
53785         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53786         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53787         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53788         test input.
53789         (lrint_upward_test_data): Test for "inexact" exceptions.
53790         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53791         test input.
53792         (llrint_test_data): Test for "inexact" exceptions.
53793         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53794         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53795         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53796         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53797         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53798         (llrint_downward_test_data): Test for "inexact" exceptions.
53799         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53800         (llrint_upward_test_data): Test for "inexact" exceptions.
53801         (logb_test_data): Likewise.
53802         (logb_downward_test_data): Likewise.
53803         (nextafter_test_data): Likewise.
53804         (nexttoward_test_data): Likewise.
53805         (remainder_test_data): Likewise.
53806         (remquo_test_data): Likewise.
53807         (scalbn_test_data): Likewise.
53808         (scalbln_test_data): Likewise.
53809         (signbit_test_data): Likewise.
53810         (sqrt_test_data): Likewise.
53811         (significand_test_data): Likewise.
53813 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53815         [BZ #15424]
53816         * benchtests/bench-modf.c (struct args): Mark arg0 as
53817         volatile.
53818         * scripts/bench.pl: Mark members of struct args as volatile.
53820 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53822         [BZ # 15497]
53823         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53824         negative infinity on POWER6 or lower.
53825         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53827 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53829         [BZ #15442]
53830         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53831         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53832         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53833         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53834         (_FP_SETQNAN): New macro.
53835         (_FP_SETQNAN_SEMIRAW): Likewise.
53836         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53837         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53838         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53839         (FP_EXTEND): Use _FP_FRAC_SNANP.
53840         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53841         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53842         into account.
53843         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53844         New macro.
53845         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53846         Likewise.
53848 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53850         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53851         with DIVIDE_BY_ZERO_EXCEPTION.
53852         (gamma_test_data): Likewise.
53853         (lgamma_test_data): Likewise.
53854         (log_test_data): Likewise.
53855         (log10_test_data): Likewise.
53856         (log2_test_data): Likewise.
53857         (tgamma_test_data): Likewise.
53859         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53860         (acos_test_tonearest): Likewise.
53861         (acos_test_towardzero): Likewise.
53862         (acos_test_downward): Likewise.
53863         (acos_test_upward): Likewise.
53864         (acosh_test): Likewise.
53865         (asin_test): Likewise.
53866         (asin_test_tonearest): Likewise.
53867         (asin_test_towardzero): Likewise.
53868         (asin_test_downward): Likewise.
53869         (asin_test_upward): Likewise.
53870         (asinh_test): Likewise.
53871         (atan_test): Likewise.
53872         (atanh_test): Likewise.
53873         (atan2_test): Likewise.
53874         (cabs_test): Likewise.
53875         (cacos_test): Likewise.
53876         (cacosh_test): Likewise.
53877         (casin_test): Likewise.
53878         (casinh_test): Likewise.
53879         (catan_test): Likewise.
53880         (catanh_test): Likewise.
53881         (cbrt_test): Likewise.
53882         (ccos_test): Likewise.
53883         (ccosh_test): Likewise.
53884         (cexp_test): Likewise.
53885         (clog_test): Likewise.
53886         (clog10_test): Likewise.
53887         (cos_test): Likewise.
53888         (cos_test_tonearest): Likewise.
53889         (cos_test_towardzero): Likewise.
53890         (cos_test_downward): Likewise.
53891         (cos_test_upward): Likewise.
53892         (cosh_test): Likewise.
53893         (cosh_test_tonearest): Likewise.
53894         (cosh_test_towardzero): Likewise.
53895         (cosh_test_downward): Likewise.
53896         (cosh_test_upward): Likewise.
53897         (cpow_test): Likewise.
53898         (csin_test): Likewise.
53899         (csinh_test): Likewise.
53900         (csqrt_test): Likewise.
53901         (ctan_test): Likewise.
53902         (ctan_test_tonearest): Likewise.
53903         (ctan_test_towardzero): Likewise.
53904         (ctan_test_downward): Likewise.
53905         (ctan_test_upward): Likewise.
53906         (ctanh_test): Likewise.
53907         (ctanh_test_tonearest): Likewise.
53908         (ctanh_test_towardzero): Likewise.
53909         (ctanh_test_downward): Likewise.
53910         (ctanh_test_upward): Likewise.
53911         (erf_test): Likewise.
53912         (erfc_test): Likewise.
53913         (exp_test): Likewise.
53914         (exp_test_tonearest): Likewise.
53915         (exp_test_towardzero): Likewise.
53916         (exp_test_downward): Likewise.
53917         (exp_test_upward): Likewise.
53918         (exp10_test): Likewise.
53919         (exp2_test): Likewise.
53920         (expm1_test): Likewise.
53921         (fmod_test): Likewise.
53922         (gamma_test): Likewise.
53923         (hypot_test): Likewise.
53924         (j0_test): Likewise.
53925         (j1_test): Likewise.
53926         (jn_test): Likewise.
53927         (lgamma_test): Likewise.
53928         (log_test): Likewise.
53929         (log10_test): Likewise.
53930         (log1p_test): Likewise.
53931         (log2_test): Likewise.
53932         (logb_test_downward): Likewise.
53933         (pow_test): Likewise.
53934         (pow_test_tonearest): Likewise.
53935         (pow_test_towardzero): Likewise.
53936         (pow_test_downward): Likewise.
53937         (pow_test_upward): Likewise.
53938         (remainder_test): Likewise.
53939         (remquo_test): Likewise.
53940         (sin_test): Likewise.
53941         (sin_test_tonearest): Likewise.
53942         (sin_test_towardzero): Likewise.
53943         (sin_test_downward): Likewise.
53944         (sin_test_upward): Likewise.
53945         (sincos_test): Likewise.
53946         (sinh_test): Likewise.
53947         (sinh_test_tonearest): Likewise.
53948         (sinh_test_towardzero): Likewise.
53949         (sinh_test_downward): Likewise.
53950         (sinh_test_upward): Likewise.
53951         (sqrt_test): Likewise.
53952         (tan_test): Likewise.
53953         (tan_test_tonearest): Likewise.
53954         (tan_test_towardzero): Likewise.
53955         (tan_test_downward): Likewise.
53956         (tan_test_upward): Likewise.
53957         (tanh_test): Likewise.
53958         (tgamma_test): Likewise.
53959         (y0_test): Likewise.
53960         (y1_test): Likewise.
53961         (yn_test): Likewise.
53963         * math/gen-libm-test.pl (adjust_arg): Remove function.
53964         (special_function): Remove argument $in_func.  Only handle
53965         generating output for tables of tests, not inside functions.
53966         (parse_args): Likewise.
53967         (generate_testfile): Remove variable $in_func.  Update call to
53968         parse_args.
53969         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53970         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53971         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53972         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53973         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53974         (MAX_VALUE_INIT): Rename macro to max_value.
53975         (MIN_VALUE_INIT): Rename macro to min_value.
53976         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53977         (plus_zero): Remove variable.
53978         (minus_zero): Likewise.
53979         (plus_infty): Likewise.
53980         (minus_infty): Likewise.
53981         (qnan_value): Likewise.
53982         (max_value): Likewise.
53983         (min_value): Likewise.
53984         (min_subnorm_value): Likewise.
53986 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53988         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53989         uint64_t or uint32_t usage.
53990         * crypt/sha256-block.c: Likewise.
53991         * crypt/sha256-crypt.c: Likewise.
53992         * crypt/sha256.c: Likewise.
53993         * crypt/sha512-block.c: Likewise.
53994         * crypt/sha512-crypt.c: Likewise.
53995         * crypt/sha512.c: Likewise.
53996         * debug/backtrace-tst.c: Likewise.
53997         * debug/pcprofiledump.c: Likewise.
53998         * elf/cache.c: Likewise.
53999         * elf/dl-cache.c: Likewise.
54000         * elf/dl-misc.c: Likewise.
54001         * elf/dl-profile.c: Likewise.
54002         * elf/dl-support.c: Likewise.
54003         * elf/ldconfig.c: Likewise.
54004         * elf/sprof.c: Likewise.
54005         * iconv/dummy-repertoire.c: Likewise.
54006         * iconv/iconv_charmap.c: Likewise.
54007         * iconv/skeleton.c: Likewise.
54008         * iconvdata/8bit-generic.c: Likewise.
54009         * iconvdata/cp737.h: Likewise.
54010         * iconvdata/cp775.h: Likewise.
54011         * iconvdata/ibm1008.h: Likewise.
54012         * iconvdata/ibm1025.h: Likewise.
54013         * iconvdata/ibm1046.h: Likewise.
54014         * iconvdata/ibm1097.h: Likewise.
54015         * iconvdata/ibm1112.h: Likewise.
54016         * iconvdata/ibm1122.h: Likewise.
54017         * iconvdata/ibm1123.h: Likewise.
54018         * iconvdata/ibm1124.h: Likewise.
54019         * iconvdata/ibm1129.h: Likewise.
54020         * iconvdata/ibm1130.h: Likewise.
54021         * iconvdata/ibm1132.h: Likewise.
54022         * iconvdata/ibm1133.h: Likewise.
54023         * iconvdata/ibm1137.h: Likewise.
54024         * iconvdata/ibm1140.h: Likewise.
54025         * iconvdata/ibm1141.h: Likewise.
54026         * iconvdata/ibm1142.h: Likewise.
54027         * iconvdata/ibm1143.h: Likewise.
54028         * iconvdata/ibm1144.h: Likewise.
54029         * iconvdata/ibm1145.h: Likewise.
54030         * iconvdata/ibm1146.h: Likewise.
54031         * iconvdata/ibm1147.h: Likewise.
54032         * iconvdata/ibm1148.h: Likewise.
54033         * iconvdata/ibm1149.h: Likewise.
54034         * iconvdata/ibm1153.h: Likewise.
54035         * iconvdata/ibm1154.h: Likewise.
54036         * iconvdata/ibm1155.h: Likewise.
54037         * iconvdata/ibm1156.h: Likewise.
54038         * iconvdata/ibm1157.h: Likewise.
54039         * iconvdata/ibm1158.h: Likewise.
54040         * iconvdata/ibm1160.h: Likewise.
54041         * iconvdata/ibm1161.h: Likewise.
54042         * iconvdata/ibm1162.h: Likewise.
54043         * iconvdata/ibm1163.h: Likewise.
54044         * iconvdata/ibm1164.h: Likewise.
54045         * iconvdata/ibm1166.h: Likewise.
54046         * iconvdata/ibm1167.h: Likewise.
54047         * iconvdata/ibm12712.h: Likewise.
54048         * iconvdata/ibm1390.h: Likewise.
54049         * iconvdata/ibm1399.h: Likewise.
54050         * iconvdata/ibm16804.h: Likewise.
54051         * iconvdata/ibm4517.h: Likewise.
54052         * iconvdata/ibm4899.h: Likewise.
54053         * iconvdata/ibm4909.h: Likewise.
54054         * iconvdata/ibm4971.h: Likewise.
54055         * iconvdata/ibm5347.h: Likewise.
54056         * iconvdata/ibm803.h: Likewise.
54057         * iconvdata/ibm856.h: Likewise.
54058         * iconvdata/ibm901.h: Likewise.
54059         * iconvdata/ibm902.h: Likewise.
54060         * iconvdata/ibm9030.h: Likewise.
54061         * iconvdata/ibm9066.h: Likewise.
54062         * iconvdata/ibm921.h: Likewise.
54063         * iconvdata/ibm922.h: Likewise.
54064         * iconvdata/ibm9448.h: Likewise.
54065         * iconvdata/isiri-3342.h: Likewise.
54066         * iconvdata/jis0201.h: Likewise.
54067         * include/link.h: Likewise.
54068         * include/netdb.h: Likewise.
54069         * inet/check_native.c: Likewise.
54070         * inet/check_pf.c: Likewise.
54071         * inet/getipv4sourcefilter.c: Likewise.
54072         * inet/getnameinfo.c: Likewise.
54073         * inet/getsourcefilter.c: Likewise.
54074         * inet/htonl.c: Likewise.
54075         * inet/setipv4sourcefilter.c: Likewise.
54076         * inet/setsourcefilter.c: Likewise.
54077         * inet/test-inet6_opt.c: Likewise.
54078         * inet/tst-network.c: Likewise.
54079         * locale/C-collate.c: Likewise.
54080         * locale/C-ctype.c: Likewise.
54081         * locale/C-time.c: Likewise.
54082         * locale/C-translit.h: Likewise.
54083         * locale/loadarchive.c: Likewise.
54084         * locale/programs/3level.h: Likewise.
54085         * locale/programs/charmap.c: Likewise.
54086         * locale/programs/charmap.h: Likewise.
54087         * locale/programs/ld-address.c: Likewise.
54088         * locale/programs/ld-collate.c: Likewise.
54089         * locale/programs/ld-ctype.c: Likewise.
54090         * locale/programs/ld-identification.c: Likewise.
54091         * locale/programs/ld-measurement.c: Likewise.
54092         * locale/programs/ld-messages.c: Likewise.
54093         * locale/programs/ld-monetary.c: Likewise.
54094         * locale/programs/ld-name.c: Likewise.
54095         * locale/programs/ld-numeric.c: Likewise.
54096         * locale/programs/ld-paper.c: Likewise.
54097         * locale/programs/ld-telephone.c: Likewise.
54098         * locale/programs/ld-time.c: Likewise.
54099         * locale/programs/linereader.c: Likewise.
54100         * locale/programs/locale.c: Likewise.
54101         * locale/programs/locarchive.c: Likewise.
54102         * locale/programs/locfile.h: Likewise.
54103         * locale/programs/repertoire.c: Likewise.
54104         * locale/programs/simple-hash.c: Likewise.
54105         * locale/programs/simple-hash.h: Likewise.
54106         * malloc/memusage.c: Likewise.
54107         * malloc/memusagestat.c: Likewise.
54108         * nis/nis_defaults.c: Likewise.
54109         * nis/nis_hash.c: Likewise.
54110         * nis/nis_print.c: Likewise.
54111         * nis/nis_xdr.c: Likewise.
54112         * nscd/connections.c: Likewise.
54113         * nscd/hstcache.c: Likewise.
54114         * nscd/nscd_gethst_r.c: Likewise.
54115         * nscd/nscd_getserv_r.c: Likewise.
54116         * nscd/nscd_helper.c: Likewise.
54117         * nscd/servicescache.c: Likewise.
54118         * nss/makedb.c: Likewise.
54119         * nss/nss_db/db-XXX.c: Likewise.
54120         * nss/nss_db/db-initgroups.c: Likewise.
54121         * nss/nss_db/db-netgrp.c: Likewise.
54122         * nss/nss_files/files-network.c: Likewise.
54123         * nss/nss_files/files-parse.c: Likewise.
54124         * posix/bug-regex5.c: Likewise.
54125         * posix/fnmatch_loop.c: Likewise.
54126         * posix/regcomp.c: Likewise.
54127         * posix/regexec.c: Likewise.
54128         * posix/tst-rfc3484-2.c: Likewise.
54129         * posix/tst-rfc3484-3.c: Likewise.
54130         * posix/tst-rfc3484.c: Likewise.
54131         * resolv/nss_dns/dns-canon.c: Likewise.
54132         * resolv/nss_dns/dns-network.c: Likewise.
54133         * resolv/res_init.c: Likewise.
54134         * resolv/res_mkquery.c: Likewise.
54135         * resolv/tst-aton.c: Likewise.
54136         * stdlib/cxa_atexit.c: Likewise.
54137         * stdlib/cxa_finalize.c: Likewise.
54138         * stdlib/gen-fpioconst.c: Likewise.
54139         * stdlib/strtol_l.c: Likewise.
54140         * string/tst-endian.c: Likewise.
54141         * sunrpc/auth_des.c: Likewise.
54142         * sunrpc/clnt_udp.c: Likewise.
54143         * sunrpc/rtime.c: Likewise.
54144         * sunrpc/svcauth_des.c: Likewise.
54145         * sunrpc/xdr.c: Likewise.
54146         * sunrpc/xdr_intXX_t.c: Likewise.
54147         * sunrpc/xdr_rec.c: Likewise.
54148         * sysdeps/generic/ldconfig.h: Likewise.
54149         * sysdeps/generic/ldsodefs.h: Likewise.
54150         * sysdeps/generic/memusage.h: Likewise.
54151         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54154         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54160         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54161         * sysdeps/posix/getaddrinfo.c: Likewise.
54162         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54163         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54164         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54165         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54166         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54167         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54168         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54169         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54170         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54171         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54172         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54173         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54174         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54175         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54176         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54177         * sysdeps/x86_64/dl-tls.h: Likewise.
54178         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54179         * time/alt_digit.c: Likewise.
54180         * time/era.c: Likewise.
54181         * wcsmbs/tst-c16c32-1.c: Likewise.
54183 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54185         * math/libm-test.inc (struct test_sincos_data): New type.
54186         (RUN_TEST_LOOP_sincos): New macro.
54187         (sincos_test_data): New variable.
54188         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54190 2013-05-16  Richard Henderson  <rth@redhat.com>
54192         * math/atest-exp2.c (LIMB64): New macro.
54193         (CONSTSZ): New macro.
54194         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54195         (hexdig): Move ...
54196         (print_mpn_fp): ... to function scope.
54197         (read_mpn_hex): Remove.
54198         (get_log2): Remove.
54199         (exp2_mpn): Use mp_log2.
54200         (main): Use mp_exp1.
54202 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54204         * math/libm-test.inc: Remove comment about not testing "inexact"
54205         exceptions.
54206         (INEXACT_EXCEPTION): New macro.
54207         (NO_INEXACT_EXCEPTION): Likewise.
54208         (INVALID_EXCEPTION_OK): Update value.
54209         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54210         (OVERFLOW_EXCEPTION_OK): Likewise.
54211         (UNDERFLOW_EXCEPTION_OK): Likewise.
54212         (IGNORE_ZERO_INF_SIGN): Likewise.
54213         (ERRNO_UNCHANGED): Likewise.
54214         (ERRNO_EDOM): Likewise.
54215         (ERRNO_ERANGE): Likewise.
54216         (test_exceptions): Handle testing "inexact" exceptions.
54217         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54218         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54219         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54220         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54221         INEXACT_EXCEPTION.
54222         (rint_towardzero_test_data): Likewise.
54223         (rint_downward_test_data): Likewise.
54224         (rint_upward_test_data): Likewise.
54226         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54227         with OVERFLOW_EXCEPTION.
54228         (exp10_test_data): Likewise.
54229         (exp2_test_data): Likewise.
54230         (expm1_test_data): Likewise.
54231         (lgamma_test_data): Likewise.
54232         (pow_test_data): Likewise.
54233         (tgamma_test_data): Likewise.
54234         (yn_test_data): Remove duplicate test of overflow.
54236         * math/libm-test.inc (struct test_cc_c_data): New type.
54237         (RUN_TEST_LOOP_cc_c): New macro.
54238         (cpow_test_data): New variable.
54239         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54241         * math/libm-test.inc (struct test_f_L_data): New type.
54242         (RUN_TEST_LOOP_f_L): New macro.
54243         (llrint_test_data): New variable.
54244         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54245         (llrint_tonearest_test_data): New variable.
54246         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54247         (llrint_towardzero_test_data): New variable.
54248         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54249         (llrint_downward_test_data): New variable.
54250         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54251         (llrint_upward_test_data): New variable.
54252         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54253         (llround_test_data): New variable.
54254         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54256 2013-05-13  Peter Collingbourne  <pcc@google.com>
54258         * math/atest-exp2.c (get_log2): Remove const attribute.
54260 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54262         * math/libm-test.inc (struct test_f_l_data): New type.
54263         (RUN_TEST_LOOP_f_l): New macro.
54264         (lrint_test_data): New variable.
54265         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54266         (lrint_tonearest_test_data): New variable.
54267         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54268         (lrint_towardzero_test_data): New variable.
54269         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54270         (lrint_downward_test_data): New variable.
54271         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54272         (lrint_upward_test_data): New variable.
54273         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54274         (lround_test_data): New variable.
54275         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54277 2013-05-15  Peter Collingbourne  <pcc@google.com>
54279         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54280         (EXTRACT_WORDS64) Use where appropriate.
54281         (INSERT_WORDS64) Likewise.
54283         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54284         constraints with x constraints.
54285         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54287         * malloc/obstack.c (_obstack_compat): Add initializer.
54289 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54291         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54292         si_trapno and add si_addr_lsb to _sifields.sigfault.
54293         (si_trapno): Remove macro.
54294         (si_addr_lsb): Define new macro.
54295         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54297 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54299         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54300         instead of TEST_f_l.
54301         (llrint_test_tonearest): Likewise.
54302         (llrint_test_towardzero): Likewise.
54303         (llrint_test_downward): Likewise.
54304         (llrint_test_upward): Likewise.
54305         (llround_test): Likewise.
54307         * math/libm-test.inc (struct test_f_i_data): Add comment.
54308         (RUN_TEST_LOOP_f_b): New macro.
54309         (RUN_TEST_LOOP_f_b_tg): Likewise.
54310         (finite_test_data): New variable.
54311         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54312         (isfinite_test_data): New variable.
54313         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54314         (isinf_test_data): New variable.
54315         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54316         (isnan_test_data): New variable.
54317         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54318         (isnormal_test_data): New variable.
54319         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54320         (issignaling_test_data): New variable.
54321         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54322         (signbit_test_data): New variable.
54323         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54325         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54326         with INVALID_EXCEPTION.
54327         (acosh_test_data): Likewise.
54328         (asin_test_data): Likewise.
54329         (atanh_test_data): Likewise.
54330         (fmod_test_data): Likewise.
54331         (log_test_data): Likewise.
54332         (log10_test_data): Likewise.
54333         (log2_test_data): Likewise.
54334         (pow_test_data): Likewise.
54335         (sqrt_test_data): Likewise.
54336         (y0_test_data): Likewise.
54337         (y1_test_data): Likewise.
54338         (yn_test_data): Likewise.
54340         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54341         function contents.
54343         * math/libm-test.inc (struct test_ff_i_data): New type.
54344         (RUN_TEST_LOOP_ff_i_tg): New macro.
54345         (isgreater_test_data): New variable.
54346         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54347         (isgreaterequal_test_data): New variable.
54348         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54349         (isless_test_data): New variable.
54350         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54351         (islessequal_test_data): New variable.
54352         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54353         (islessgreater_test_data): New variable.
54354         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54355         (isunordered_test_data): New variable.
54356         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54358 2013-05-14  David S. Miller  <davem@davemloft.net>
54360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54362 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54364         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54366         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54367         extra_test to int.
54368         (struct test_f_i_data): Change type of max_ulp to int.
54370         * math/libm-test.inc (test_ffI_f1_data): New type.
54371         (RUN_TEST_LOOP_ffI_f1): New macro.
54372         (remquo_test_data): New variable.
54373         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54375         * setjmp/tst-setjmp-fp.c: New file.
54376         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54377         (link-libm): New variable.
54378         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54380         * math/libm-test.inc (struct test_f_i_data): New type.
54381         (RUN_TEST_LOOP_f_i): New macro.
54382         (RUN_TEST_LOOP_f_i_tg): Likewise.
54383         (fpclassify_test_data): New variable.
54384         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54385         (ilogb_test_data): New variable.
54386         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54388         * math/libm-test.inc (scalbln_test): Correct function name in END
54389         call.
54391         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54392         (RUN_TEST_LOOP_fI_f1): New macro.
54393         (frexp_test_data): New variable.
54394         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54396         * math/libm-test.inc (struct test_fF_f1_data): New type.
54397         (RUN_TEST_LOOP_fF_f1): New macro.
54398         (modf_test_data): New variable.
54399         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54401         * math/libm-test.inc (struct test_f_f1_data): New type.
54402         (RUN_TEST_LOOP_f_f1): New macro.
54403         (gamma_test_data): New variable.
54404         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54405         (lgamma_test_data): New variable.
54406         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54408 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54410         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54411         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54412         (main): Comment "tls" pseudo-hwcap.
54414 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54416         * math/libm-test.inc (struct test_fl_f_data): New type.
54417         (RUN_TEST_LOOP_fl_f): New variable.
54418         (scalbln_test_data): New variable.
54419         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54421         * math/libm-test.inc (struct test_fi_f_data): New type.
54422         (RUN_TEST_LOOP_fi_f): New macro.
54423         (ldexp_test_data): New variable.
54424         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54425         (scalbn_test_data): New variable.
54426         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54428         * math/libm-test.inc (struct test_c_f_data): New type.
54429         (RUN_TEST_LOOP_c_f): New macro.
54430         (cabs_test_data): New variable.
54431         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54432         (carg_test_data): New variable.
54433         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54434         (cimag_test_data): New variable.
54435         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54436         (creal_test_data): New variable.
54437         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54439         * math/libm-test.inc (struct test_if_f_data): New type.
54440         (RUN_TEST_LOOP_if_f): New macro.
54441         (jn_test_data): New variable.
54442         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54443         (yn_test_data): New variable.
54444         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54446         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54448 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54450         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54451         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54453 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54455         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54456         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54457         (bench-deps): Add bench-timing.h.
54458         * benchtests-bench-skeleton.c: Include bench-timing.h.
54459         (main): Use TIMING_* macros instead of clock_gettime.
54460         * benchtests/bench-timing.h: New file.
54462         [BZ #14582]
54463         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54464         Renamed from _LIB_VERSION.
54465         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54467 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54469         * math/libm-test.inc (struct test_fff_f_data): New type.
54470         (RUN_TEST_LOOP_fff_f): New macro.
54471         (fma_test_data): New variable.
54472         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54473         (fma_towardzero_test_data): New variable.
54474         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54475         (fma_downward_test_data): New variable.
54476         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54477         (fma_upward_test_data): New variable.
54478         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54480         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54481         (struct test_c_c_data): New type.
54482         (RUN_TEST_LOOP_c_c): New macro.
54483         (cacos_test_data): New variable.
54484         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54485         (cacosh_test_data): New variable.
54486         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54487         (casin_test_data): New variable.
54488         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54489         (casinh_test_data): New variable.
54490         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54491         (catan_test_data): New variable.
54492         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54493         (catanh_test_data): New variable.
54494         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54495         (ccos_test_data): New variable.
54496         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54497         (ccosh_test_data): New variable.
54498         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54499         (cexp_test_data): New variable.
54500         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54501         (clog_test_data): New variable.
54502         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54503         (clog10_test_data): New variable.
54504         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54505         (conj_test_data): New variable.
54506         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54507         (cproj_test_data): New variable.
54508         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54509         (csin_test_data): New variable.
54510         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54511         (csinh_test_data): New variable.
54512         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54513         (csqrt_test_data): New variable.
54514         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54515         (ctan_test_data): New variable.
54516         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54517         (ctan_tonearest_test_data): New variable.
54518         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54519         (ctan_towardzero_test_data): New variable.
54520         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54521         (ctan_downward_test_data): New variable.
54522         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54523         (ctan_upward_test_data): New variable.
54524         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54525         (ctanh_test_data): New variable.
54526         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54527         (ctanh_tonearest_test_data): New variable.
54528         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54529         (ctanh_towardzero_test_data): New variable.
54530         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54531         (ctanh_downward_test_data): New variable.
54532         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54533         (ctanh_upward_test_data): New variable.
54534         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54535         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54536         of BUILD_COMPLEX.
54538         * math/libm-test.inc (struct test_ff_f_data): New type.
54539         (struct test_ff_f_data_nexttoward): Likewise.
54540         (RUN_TEST_LOOP_2_f): New macro.
54541         (RUN_TEST_LOOP_ff_f): Likewise.
54542         (atan2_test_data): New variable.
54543         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54544         (copysign_test_data): New variable.
54545         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54546         (fdim_test_data): New variable.
54547         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54548         (fmax_test_data): New variable.
54549         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54550         (fmin_test_data): New variable.
54551         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54552         (fmod_test_data): New variable.
54553         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54554         (hypot_test_data): New variable.
54555         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54556         (nextafter_test_data): New variable.
54557         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54558         (nexttoward_test_data): New variable.
54559         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54560         (pow_test_data): New variable.
54561         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54562         (pow_tonearest_test_data): New variable.
54563         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54564         (pow_towardzero_test_data): New variable.
54565         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54566         (pow_downward_test_data): New variable.
54567         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54568         (pow_upward_test_data): New variable.
54569         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54570         (remainder_test_data): New variable.
54571         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54572         (scalb_test_data): New variable.
54573         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54574         * sysdeps/i386/fpu/libm-test-ulps: Update.
54576 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54578         * math/libm-test.inc (fma_test): Use max_value instead of local
54579         variable fltmax.
54580         (nextafter_test): Likewise.
54582         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54583         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54584         (acos_downward_test_data): New variable.
54585         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54586         (acos_upward_test_data): New variable.
54587         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54588         (acosh_test_data): New variable.
54589         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54590         (asin_test_data): New variable.
54591         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54592         (asin_tonearest_test_data): New variable.
54593         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54594         (asin_towardzero_test_data): New variable.
54595         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54596         (asin_downward_test_data): New variable.
54597         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54598         (asin_upward_test_data): New variable.
54599         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54600         (asinh_test_data): New variable.
54601         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54602         (atan_test_data): New variable.
54603         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54604         (atanh_test_data): New variable.
54605         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54606         (cbrt_test_data): New variable.
54607         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54608         (ceil_test_data): New variable.
54609         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54610         (cos_test_data): New variable.
54611         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54612         (cos_tonearest_test_data): New variable.
54613         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54614         (cos_towardzero_test_data): New variable.
54615         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54616         (cos_downward_test_data): New variable.
54617         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54618         (cos_upward_test_data): New variable.
54619         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54620         (cosh_test_data): New variable.
54621         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54622         (cosh_tonearest_test_data): New variable.
54623         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54624         (cosh_towardzero_test_data): New variable.
54625         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54626         (cosh_downward_test_data): New variable.
54627         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54628         (cosh_upward_test_data): New variable.
54629         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54630         (erf_test_data): New variable.
54631         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54632         (erfc_test_data): New variable.
54633         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54634         (exp_test_data): New variable.
54635         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54636         (exp_tonearest_test_data): New variable.
54637         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54638         (exp_towardzero_test_data): New variable.
54639         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54640         (exp_downward_test_data): New variable.
54641         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54642         (exp_upward_test_data): New variable.
54643         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54644         (exp10_test_data): New variable.
54645         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54646         (exp2_test_data): New variable.
54647         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54648         (expm1_test_data): New variable.
54649         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54650         (fabs_test_data): New variable.
54651         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54652         (floor_test_data): New variable.
54653         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54654         (j0_test_data): New variable.
54655         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54656         (j1_test_data): New variable.
54657         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54658         (log_test_data): New variable.
54659         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54660         (log10_test_data): New variable.
54661         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54662         (log1p_test_data): New variable.
54663         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54664         (log2_test_data): New variable.
54665         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54666         (logb_test_data): New variable.
54667         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54668         (logb_downward_test_data): New variable.
54669         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54670         (nearbyint_test_data): New variable.
54671         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54672         (rint_test_data): New variable.
54673         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54674         (rint_tonearest_test_data): New variable.
54675         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54676         (rint_towardzero_test_data): New variable.
54677         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54678         (rint_downward_test_data): New variable.
54679         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54680         (rint_upward_test_data): New variable.
54681         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54682         (round_test_data): New variable.
54683         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54684         (sin_test_data): New variable.
54685         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54686         (sin_tonearest_test_data): New variable.
54687         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54688         (sin_towardzero_test_data): New variable.
54689         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54690         (sin_downward_test_data): New variable.
54691         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54692         (sin_upward_test_data): New variable.
54693         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54694         (sinh_test_data): New variable.
54695         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54696         (sinh_tonearest_test_data): New variable.
54697         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54698         (sinh_towardzero_test_data): New variable.
54699         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54700         (sinh_downward_test_data): New variable.
54701         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54702         (sinh_upward_test_data): New variable.
54703         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54704         (sqrt_test_data): New variable.
54705         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54706         (tan_test_data): New variable.
54707         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54708         (tan_tonearest_test_data): New variable.
54709         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54710         (tan_towardzero_test_data): New variable.
54711         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54712         (tan_downward_test_data): New variable.
54713         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54714         (tan_upward_test_data): New variable.
54715         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54716         (tanh_test_data): New variable.
54717         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54718         (tgamma_test_data): New variable.
54719         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54720         (trunc_test_data): New variable.
54721         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54722         (y0_test_data): New variable.
54723         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54724         (y1_test_data): New variable.
54725         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54726         (significand_test_data): New variable.
54727         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54729 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54731         [BZ #12387]
54732         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54734 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54736         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54738 2013-05-10  Andreas Jaeger  <aj@suse.de>
54740         [BZ #15448]
54741         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54742         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54744 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54746         * math/gen-libm-test.pl (adjust_arg): New function.
54747         (special_functions): Handle generating output in both functions
54748         and arrays.
54749         (parse_args): Likewise.
54750         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54751         $in_func argument to parse_args.
54752         * math/libm-test.inc (struct test_f_f_data): New type.
54753         (IF_ROUND_INIT_): New macro.
54754         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54755         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54756         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54757         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54758         (ROUND_RESTORE_): Likewise.
54759         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54760         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54761         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54762         (ROUND_RESTORE_FE_UPWARD): Likewise.
54763         (RUN_TEST_LOOP_f_f): New macro.
54764         (acos_test_data): New variable.
54765         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54766         (acos_tonearest_test_data): New variable.
54767         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54769 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54771         * benchtests/bench-skeleton.c (startup): Fix coding style.
54773 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54775         [BZ #6809]
54776         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54777         negative infinity argument.
54778         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54779         negative infinity argument.
54780         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54781         negative infinity argument.
54782         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54783         domain errors.
54785 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54787         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54788         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54789         * iconv/iconv_prog.c (main): Likewise.
54790         * locale/programs/charmap-dir.c (charmap_readdir)
54791         (fopen_uncompressed): Likewise.
54792         * locale/programs/locfile.c (siblings_uncached)
54793         (write_locale_data): Use lstat64 instead of lstat.
54794         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54795         stat.
54797 2013-05-10  Andreas Jaeger  <aj@suse.de>
54799         [BZ #15395]
54800         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54801         localization.
54802         Include <locale.h>.
54804 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54806         * elf/dl-close.c (_dl_close_worker): Add comments.
54808 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54810         [BZ #15359]
54811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54812         high part of pi/2.
54813         (__ieee754_rem_pio2l): Update comments.
54815         [BZ #15429]
54816         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54817         high part of pi/2.
54818         (__ieee754_rem_pio2l): Update comments.
54820         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54821         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54823         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54824         M_PI_4l.
54826         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54827         (M_PI_34_LOG10El): Likewise.
54828         (M_PI2_LOG10El): Likewise.
54829         (M_PI4_LOG10El): Likewise.
54830         (M_PI_LOG10El): Likewise.
54832 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54836 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54838         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54839         (MINUS_ZERO_INIT): Likewise.
54840         (PLUS_INFTY_INIT): Likewise.
54841         (MINUS_INFTY_INIT): Likewise.
54842         (QNAN_VALUE_INIT): Likewise.
54843         (MAX_VALUE_INIT): Likewise.
54844         (MIN_VALUE_INIT): Likewise.
54845         (MIN_SUBNORM_VALUE_INIT): Likewise.
54846         (plus_zero): Initialize with PLUS_ZERO_INIT.
54847         (minus_zero): Initialize with MINUS_ZERO_INIT.
54848         (plus_infty): Initialize with PLUS_INFTY_INIT.
54849         (minus_infty): Initialize with MINUS_INFTY_INIT.
54850         (qnan_value): Initialize with QNAN_VALUE_INIT.
54851         (max_value): Initialize with MAX_VALUE_INIT.
54852         (min_value): Initialize with MIN_VALUE_INIT.
54853         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54855         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54856         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54857         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54858         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54860         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54861         (RUN_TEST_2_f): Likewise.
54862         (RUN_TEST_ff_f): Likewise.
54863         (RUN_TEST_fi_f): Likewise.
54864         (RUN_TEST_fl_f): Likewise.
54865         (RUN_TEST_fff_f): Likewise.
54866         (RUN_TEST_c_f): Likewise.
54867         (RUN_TEST_f_f1): Likewise.
54868         (RUN_TEST_fF_f1): Likewise.
54869         (RUN_TEST_fI_f1): Likewise.
54870         (RUN_TEST_ffI_f1): Likewise.
54871         (RUN_TEST_c_c): Likewise.
54872         (RUN_TEST_cc_c): Likewise.
54873         (RUN_TEST_f_i): Likewise.
54874         (RUN_TEST_f_i_tg): Likewise.
54875         (RUN_TEST_ff_i_tg): Likewise.
54876         (RUN_TEST_f_b): Likewise.
54877         (RUN_TEST_f_b_tg): Likewise.
54878         (RUN_TEST_f_l): Likewise.
54879         (RUN_TEST_f_L): Likewise.
54880         (RUN_TEST_sincos): Likewise.
54881         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54882         whether to show exceptions.  Do not include ");\n" in return
54883         value.
54884         (special_functions): Output call to RUN_TEST_sincos instead of
54885         check_float calls.  Update calls to new_test.
54886         (parse_args): Output call to single RUN_TEST_* macro instead of
54887         check_* calls and other assignments.  Update calls to new_test.
54889         [BZ #2546]
54890         [BZ #2560]
54891         [BZ #5159]
54892         [BZ #15426]
54893         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54894         input to result for tgamma overflow.
54895         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54896         (gamma_coeff): New variable.
54897         (NCOEFF): New macro.
54898         (gamma_positive): New function.
54899         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54900         underflow here.  Use gamma_positive instead of exp (lgamma) for
54901         other arguments.
54902         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54903         (gamma_coeff): New variable.
54904         (NCOEFF): New macro.
54905         (gammaf_positive): New function.
54906         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54907         underflow here.  Use gamma_positive instead of exp (lgamma) for
54908         other arguments.
54909         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54910         (gamma_coeff): New variable.
54911         (NCOEFF): New macro.
54912         (gammal_positive): New function.
54913         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54914         underflow here.  Use gamma_positive instead of exp (lgamma) for
54915         other arguments.
54916         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54917         (gamma_coeff): New variable.
54918         (NCOEFF): New macro.
54919         (gammal_positive): New function.
54920         (__ieee754_gammal_r): Handle positive infinity, overflow and
54921         underflow here.  Handle NaN the same as positive infinity.  Remove
54922         check x < 0xffffffff for negative integers.  Use gamma_positive
54923         instead of exp (lgamma) for other arguments.
54924         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54925         (gamma_coeff): New variable.
54926         (NCOEFF): New macro.
54927         (gammal_positive): New function.
54928         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54929         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54933         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54934         * sysdeps/generic/math_private.h (__gamma_productf): New
54935         prototype.
54936         (__gamma_product): Likewise.
54937         (__gamma_productl): Likewise.
54938         * math/Makefile (libm-calls): Add gamma_product.
54939         * math/libm-test.inc (tgamma_test): Add more tests.
54940         * sysdeps/i386/fpu/libm-test-ulps: Update.
54941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54943 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54945         * benchtests/bench-skeleton.c (main): Preheat CPU.
54947 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54949         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54951 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54953         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54954         and _dl_skip_args_internal.
54956 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54958         * manual/message.texi (Message Translation): Talk about users.
54959         Message to key mapping impacts design.
54961 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54963         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54965         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54967         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54968         * sysdeps/wordsize-64/glob64.c: ... here.
54970         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54971         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54972         New macros.
54974         * debug/getlogin_r_chk.c: Moved to ...
54975         * login/getlogin_r_chk.c: ... here.
54976         * debug/Makefile (routines): Move getlogin_r_chk to ...
54977         * login/Makefile (routines): ... here.
54978         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54979         * login/Versions (libc: GLIBC_2.4): ... here.
54981         * io/poll.c (__poll): Renamed from poll.
54982         Add libc_hidden_def.
54983         (poll): Define as weak alias.
54985         * debug/ptsname_r_chk.c: Moved to ...
54986         * login/ptsname_r_chk.c: ... here.
54987         * debug/Makefile (routines): Move ptsname_r_chk to ...
54988         * login/Makefile (routines): ... here.
54989         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54990         * login/Versions (libc: GLIBC_2.4): ... here.
54992         * posix/getlogin.c: Moved to ...
54993         * login/getlogin.c: ... here.
54994         * posix/getlogin_r.c: Moved to ...
54995         * login/getlogin_r.c: ... here.
54996         * posix/getlogin_r.c: Moved to ...
54997         * login/getlogin_r.c: ... here.
54998         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54999         * login/Makefile (routines): ... here.
55000         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55001         * login/Versions (libc: GLIBC_2.0): ... here.
55003         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55004         (setrlimit): Define as weak alias.
55006         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55007         Call __ names for open, ftruncate, and close.
55008         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55009         (truncate): Define as weak alias.
55011 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55013         * math/gen-libm-test.pl (parse_args): Initialize x before each
55014         test of frexp, modf and remquo.
55016         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55017         test signgam value.
55019 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55021         [BZ #15418]
55022         [BZ #15419]
55023         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55024         internal tests.
55025         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55027 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55029         * elf/dl-writev.h: New file.
55030         * elf/dl-misc.c: Include it.
55031         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55032         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55034 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55036         * math/libm-test.inc (noXFails): Remove variable.
55037         (noXPasses): Likewise.
55038         (BUILD_COMPLEX_INT): Remove macro.
55039         (print_screen): Remove xfail argument.
55040         (print_screen_max_error): Likewise.
55041         (update_stats): Likewise.
55042         (print_max_error): Likewise.  Update calls to other affected
55043         functions.
55044         (print_complex_max_error): Likewise.
55045         (test_single_exception): Update calls to print_screen.
55046         (test_single_errno): Likewise.
55047         (check_float_internal): Remove xfail argument.  Update calls to
55048         other affected functions.
55049         (check_float): Likewise.
55050         (check_complex): Likewise.
55051         (check_int): Likewise.
55052         (check_long): Likewise.
55053         (check_bool): Likewise.
55054         (check_longlong): Likewise.
55055         (main): Don't print noXFails and noXPasses.
55056         * math/gen-libm-test.pl (top level): Don't mention expected
55057         failure handling in comment.
55058         (new_test): Don't handle expected failures.
55059         (parse_args): Don't mention expected failure handling in comment.
55060         (generate_testfile): Don't handle expected failures.
55061         (parse_ulps): Likewise.
55062         (print_ulps_file): Likewise.
55063         (get_failure): Remove function.
55064         (output_test): Don't handle expected failures.
55065         * make/README.libm-test: Don't mention expected failure handling.
55067         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55068         (minus_zero): Likewise.
55069         (plus_infty): Likewise.
55070         (minus_infty): Likewise.
55071         (qnan_value): Likewise.
55072         (max_value): Likewise.
55073         (min_value): Likewise.
55074         (min_subnorm_value): Likewise.
55075         (initialize): Do not initialize those variables dynamically.
55077 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55079         * io/open.c (__open_2): Moved to ...
55080         * io/open_2.c: ... this new file.
55081         * io/open64.c (__open64_2): Moved to ...
55082         * io/open64_2.c: ... this new file.
55083         * io/openat.c (__openat_2): Moved to ...
55084         * io/openat_2.c: ... this new file.
55085         * io/openat64.c (__openat64_2): Moved to ...
55086         * io/openat64_2.c: ... this new file.
55087         * io/Makefile (routines): Add them.
55088         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55089         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55090         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55091         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55092         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55093         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55094         (__openat64): Add hidden_ver.
55095         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55096         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55098         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55099         Separately conditionalize setting of GLRO(dl_sysinfo) so
55100         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55101         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55103 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55105         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55106         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55107         definition.
55108         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55109         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55110         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55111         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55112         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55114 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55116         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55117         test signgam value.
55119         * math/libm-test.inc (hypot_test): Do not use
55120         IGNORE_ZERO_INF_SIGN.
55122 2013-05-03  Andreas Jaeger  <aj@suse.de>
55124         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55125         Linux 3.9.
55126         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55127         (PF_MAX): Adjust for VSOCK change.
55129 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55133 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55135         [BZ #15264]
55136         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55137         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55138         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55140 2013-05-02  David S. Miller  <davem@davemloft.net>
55142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55144 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55146         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55148 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55150         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55152 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55154         [BZ #14952]
55155         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55156         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55157         Use __attribute__ ((__gnu_inline__)).
55158         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55159         Don't use __attribute__ ((__gnu_inline__)).
55161 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55163         [BZ #15423]
55164         * math/s_catan.c (__catan): Handle small real or imaginary part of
55165         input specially to avoid spurious underflow.
55166         * math/s_catanf.c (__catanf): Likewise.
55167         * math/s_catanh.c (__catanh): Likewise.
55168         * math/s_catanhf.c (__catanhf): Likewise.
55169         * math/s_catanhl.c (__catanhl): Likewise.
55170         * math/s_catanl.c (__catanl): Likewise.
55171         * math/libm-test.inc (catan_test): Add more tests.
55172         (catanh_test): Likewise.
55173         * sysdeps/i386/fpu/libm-test-ulps: Update.
55174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55176 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55180 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55182         [BZ #15416]
55183         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55184         accurately for denominator in atan2.
55185         * math/s_catanf.c (__catanf): Likewise.
55186         * math/s_catanh.c (__catanh): Likewise.
55187         * math/s_catanhf.c (__catanhf): Likewise.
55188         * math/s_catanhl.c (__catanhl): Likewise.
55189         * math/s_catanl.c (__catanl): Likewise.
55190         * math/libm-test.inc (catan_test): Add more tests.
55191         (catanh_test): Likewise.
55192         * sysdeps/i386/fpu/libm-test-ulps: Update.
55193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55195 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55197         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55199         * benchtests/Makefile (bench): Remove slow benchmarks.
55200         * benchtests/atan-inputs: Add slow benchmark inputs.
55201         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55202         (BENCH_FUNC): Accept variant offset.
55203         (VARIANT): Define.
55204         * benchtests/bench-skeleton.c (main): Run benchmark for each
55205         variant.
55206         * benchtests/cos-inputs: Add slow benchmark inputs.
55207         * benchtests/exp-inputs: Likewise.
55208         * benchtests/pow-inputs: Likewise.
55209         * benchtests/sin-inputs: Likewise.
55210         * benchtests/slowatan-inputs: Remove.
55211         * benchtests/slowatan.c: Remove.
55212         * benchtests/slowcos-inputs: Remove.
55213         * benchtests/slowcos.c: Remove.
55214         * benchtests/slowexp-inputs: Remove.
55215         * benchtests/slowexp.c: Remove.
55216         * benchtests/slowpow-inputs: Remove.
55217         * benchtests/slowpow.c: Remove.
55218         * benchtests/slowsin-inputs: Remove.
55219         * benchtests/slowsin.c: Remove.
55220         * benchtests/slowtan-inputs: Remove.
55221         * benchtests/slowtan.c: Remove.
55222         * benchtests/tan-inputs: Add slow benchmark inputs.
55223         * scripts/bench.pl: Parse comments and directives.
55225         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55226         in CPPFLAGS.
55227         ($(objpfx)bench-%.c): Remove *-ITER.
55228         * benchtests/bench-modf.c: Remove definition of ITER.
55229         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55230         (main): Loop for DURATION seconds instead of fixed number of
55231         iterations.
55232         * scripts/bench.pl: Don't expect iterations in parameters.
55234 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55236         * io/fchdir.c (__fchdir): Renamed from fchdir.
55237         (fchdir): Define as weak alias.
55239 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55241         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55242         (ERRNO_EDOM): Likewise.
55243         (ERRNO_ERANGE): Likewise.
55244         (noErrnoTests): New variable.
55245         (init_max_error): Set errno to 0.
55246         (test_single_errno): New function.
55247         (test_errno): Likewise.
55248         (check_float_internal): Call test_errno.  Set errno to 0.
55249         (check_complex): Refer to errno tests in comment.
55250         (check_int): Call test_errno.  Set errno to 0.
55251         (check_long): Likewise.
55252         (check_bool): Likewise.
55253         (check_longlong): Likewise.
55254         (cos_test): Use ERRNO_* flags for errno tests instead of
55255         check_int.
55256         (expm1_test): Likewise.
55257         (fmod_test): Likewise.
55258         (ilogb_test): Likewise.
55259         (lgamma_test): Likewise.
55260         (pow_test): Likewise.
55261         (remainder_test): Likewise.
55262         (sin_test): Likewise.
55263         (tan_test): Likewise.
55264         (yn_test): Likewise.
55265         (initialize): Set errno to 0.
55266         (main): Print number of errno tests.
55267         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55269 2013-04-29  Andreas Jaeger  <aj@suse.de>
55271         [BZ #15084]
55272         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55273         and RES_USEVC.
55275         [BZ #15085]
55276         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55277         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55278         unimplemented.
55280         [BZ #15380]
55281         * stdlib/random.c (__initstate): Return NULL if
55282         __initstate fails.
55284         [BZ #15086]
55285         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55286         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55287         RES_SNGLKUPREOP.
55289 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55293 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55295         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55296         of individual tests.
55297         (casin_test): Likewise.
55298         (casinh_test): Likewise.
55300 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55302         [BZ #15409]
55303         * math/s_catan.c (__catan): Handle arguments with large real or
55304         imaginary part separately without squaring.
55305         * math/s_catanf.c (__catanf): Likewise.
55306         * math/s_catanh.c (__catanh): Likewise.
55307         * math/s_catanhf.c (__catanhf): Likewise.
55308         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55309         and redefine.
55310         (__catanhl): Handle arguments with large real or imaginary part
55311         separately without squaring.
55312         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55313         and redefine.
55314         (__catanl): Handle arguments with large real or imaginary part
55315         separately without squaring.
55316         * math/libm-test.inc (catan_test): Add more tests.
55317         (catanh_test): Likewise.
55318         * sysdeps/i386/fpu/libm-test-ulps: Update.
55319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55321 2013-04-27  Andreas Jaeger  <aj@suse.de>
55323         [BZ #15007]
55324         * stdlib/stdlib.h: Update guards for qecvt.
55325         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55326         <stdlib.h>.
55328 2013-04-27  Allan McRae  <allan@archlinux.org>
55330         * sysdeps/i386/fpu/libm-test-ulps: Update.
55332 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55334         [BZ #15406]
55335         * math/s_catan.c: Include <float.h>.
55336         (__catan): Ensure underflow exception occurs for underflowed
55337         result.
55338         * math/s_catanf.c: Include <float.h>.
55339         (__catanf): Ensure underflow exception occurs for underflowed
55340         result.
55341         * math/s_catanh.c: Include <float.h>.
55342         (__catanh): Ensure underflow exception occurs for underflowed
55343         result.
55344         * math/s_catanhf.c: Include <float.h>.
55345         (__catanhf): Ensure underflow exception occurs for underflowed
55346         result.
55347         * math/s_catanhl.c: Include <float.h>.
55348         (__catanhl): Ensure underflow exception occurs for underflowed
55349         result.
55350         * math/s_catanl.c: Include <float.h>.
55351         (__catanl): Ensure underflow exception occurs for underflowed
55352         result.
55353         * math/libm-test.inc (catan_test): Add more tests.
55354         (catanh_test): Likewise.
55356         [BZ #15405]
55357         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55358         underflowed result.
55359         * math/s_ccoshf.c (__ccoshf): Likewise.
55360         * math/s_ccoshl.c (__ccoshl): Likewise.
55361         * math/s_csin.c (__csin): Likewise.
55362         * math/s_csinf.c (__csinf): Likewise.
55363         * math/s_csinh.c (__csinh): Likewise.
55364         * math/s_csinhf.c (__csinhf): Likewise.
55365         * math/s_csinhl.c (__csinhl): Likewise.
55366         * math/s_csinl.c (__csinl): Likewise.
55367         * math/libm-test.inc (ccos_test): Add more tests.
55368         (ccosh_test): Likewise.
55369         (csin_test): Likewise.
55370         (csinh_test): Likewise.
55372 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55374         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55375         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55376         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55377         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55378         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55379         powerpc/power5+/fpu folders.
55380         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55383 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55387 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55389         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55390         additions to variable.
55391         [$(config-machine) = x86_64] (modules-names): Likewise.
55392         ($(objpfx)tst-audit3): Remove dependency.
55393         ($(objpfx)tst-audit3.out): Likewise.
55394         ($(objpfx)tst-audit4): Likewise.
55395         ($(objpfx)tst-audit4.out): Likewise.
55396         ($(objpfx)tst-audit5): Likewise.
55397         ($(objpfx)tst-audit5.out): Likewise.
55398         ($(objpfx)tst-audit6): Likewise.
55399         ($(objpfx)tst-audit6.out): Likewise.
55400         ($(objpfx)tst-audit7): Likewise.
55401         ($(objpfx)tst-audit7.out): Likewise.
55402         (tst-audit3-ENV): Remove variable.
55403         (tst-audit4-ENV): Likewise.
55404         (tst-audit5-ENV): Likewise.
55405         (tst-audit6-ENV): Likewise.
55406         (tst-audit7-ENV): Likewise.
55407         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55408         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55409         addition to variable.
55410         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55411         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55412         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55413         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55414         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55415         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55416         tst-audit3, tst-audit4 and tst-audit5.
55417         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55418         tst-audit6 and tst-audit7.
55419         [$(subdir) = elf] (modules-names): Add audit modules for those
55420         tests.
55421         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55422         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55423         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55424         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55425         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55426         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55427         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55428         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55429         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55430         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55431         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55432         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55433         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55434         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55435         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55436         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55437         Likewise.
55438         [$(subdir) = elf && $(config-cflags-avx) = yes]
55439         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55440         [$(subdir) = elf && $(config-cflags-avx) = yes]
55441         (CFLAGS-tst-auditmod4a.c): Likewise.
55442         [$(subdir) = elf && $(config-cflags-avx) = yes]
55443         (CFLAGS-tst-auditmod4b.c): Likewise.
55444         [$(subdir) = elf && $(config-cflags-avx) = yes]
55445         (CFLAGS-tst-auditmod6b.c): Likewise.
55446         [$(subdir) = elf && $(config-cflags-avx) = yes]
55447         (CFLAGS-tst-auditmod6c.c): Likewise.
55448         [$(subdir) = elf && $(config-cflags-avx) = yes]
55449         (CFLAGS-tst-auditmod7b.c): Likewise.
55450         * elf/tst-audit3.c: Move to ...
55451         * sysdeps/x86_64/tst-audit3.c: ... here.
55452         * elf/tst-audit4.c: Move to ...
55453         * sysdeps/x86_64/tst-audit4.c: ... here.
55454         * elf/tst-audit5.c: Move to ...
55455         * sysdeps/x86_64/tst-audit5.c: ... here.
55456         * elf/tst-audit6.c: Move to ...
55457         * sysdeps/x86_64/tst-audit6.c: ... here.
55458         * elf/tst-audit7.c: Move to ...
55459         * sysdeps/x86_64/tst-audit7.c: ... here.
55460         * elf/tst-auditmod3a.c: Move to ...
55461         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55462         * elf/tst-auditmod3b.c: Move to ...
55463         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55464         * elf/tst-auditmod4a.c: Move to ...
55465         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55466         * elf/tst-auditmod4b.c: Move to ...
55467         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55468         * elf/tst-auditmod5a.c: Move to ...
55469         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55470         * elf/tst-auditmod5b.c: Move to ...
55471         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55472         * elf/tst-auditmod6a.c: Move to ...
55473         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55474         * elf/tst-auditmod6b.c: Move to ...
55475         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55476         * elf/tst-auditmod6c.c: Move to ...
55477         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55478         * elf/tst-auditmod7a.c: Move to ...
55479         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55480         * elf/tst-auditmod7b.c: Move to ...
55481         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55483 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55485         [BZ #15366]
55486         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55487         define unconditionally.
55488         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55489         define unconditionally.
55490         (INT8_C, INT16_C, etc.): Likewise.
55492 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55494         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55495         __ehdr_start with hidden visibility.
55497         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55499 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55501         * math/libm-test.inc (cos_test): Use accurate hex constants.
55502         (sincost_test): Likewise.
55504 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55506         * math/libm-test.inc (catan_test): Add more tests.
55507         (catanh_test): Likewise.
55509         * math/s_catanf.c (__catanf): Use suffixed floating-point
55510         constants.
55511         * math/s_catanhf.c (__catanhf): Likewise.
55512         * math/s_catanhl.c (__catanhl): Likewise.
55513         * math/s_catanl.c (__catanl): Likewise.
55515         [BZ #15394]
55516         * math/s_catan.c (__catan): Calculate imaginary part of result
55517         with log1p not log unless computing log of number close to 0.
55518         * math/s_catanf.c (__catanf): Likewise.
55519         * math/s_catanl.c (__catanl): Likewise.
55520         * math/s_catanh.c (__catanh): Calculate real part of result with
55521         log1p not log unless computing log of number close to 0.
55522         * math/s_catanhf.c (__catanhf): Likewise.
55523         * math/s_catanhl.c (__catanhl): Likewise.
55524         * math/libm-test.inc (catan_test): Add more tests.
55525         (catanh_test): Likewise.
55526         * sysdeps/i386/fpu/libm-test-ulps: Update.
55527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55529 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55531         * benchtests/Makefile: Mention files in which fast and slow
55532         paths of math functions are implemented.
55534 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55536         * sysdeps/posix/timespec_get.c: New file.
55538 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55540         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55541         POWER.
55542         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55543         for POWER.
55544         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55545         powerpc/power5/fpu folders.
55546         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55547         * benchtests/Makefile: Add modf testcase.
55548         * benchtests/bench-modf.c: New file: Benchmark test for mo
55550 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55552         [BZ #14888]
55553         * time/Makefile (tests): Add tst-strptime-whitespace.
55554         * time/strptime_l.c (get_number): Use ISSPACE.
55555         (__strptime_internal): Likewise.
55556         * time/tst-strptime-whitespace.c: New test case.
55558 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55560         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55561         member.
55562         (_nss_files_init): Set it here.
55564 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55566         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55567         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55568         unsigned.
55570 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55572         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55574 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55576         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55577         size just once.
55579 2013-04-21  David S. Miller  <davem@davemloft.net>
55581         * po/ru.po: Update Russion translation from translation project.
55583 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55585         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55586         and setfsgid.
55588 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55590         * configure.in: Remove i386 configure warning. Remove i386 case.
55591         * configure: Regenerate.
55592         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55593         Add example to error message.
55594         * sysdeps/i386/configure: Regenerate.
55596 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55598         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55599         slowtan.
55600         * benchtests/cos-inputs: New file.
55601         * benchtests/slowcos-inputs: New file.
55602         * benchtests/slowcos.c: New file.
55603         * benchtests/slowtan-inputs: New file.
55604         * benchtests/slowtan.c: New file.
55605         * benchtests/tan-inputs: New file.
55607 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55609         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55610         considered kosher.
55612 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55614         * benchtests/Makefile: Include cppflags-iterator.mk to add
55615         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55617         * Makefile.in (bench-clean): New target.
55618         * benchtests/Makefile (bench-clean): Likewise.
55620 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55622         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55624 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55626         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55628 2013-04-15  Andreas Schwab  <schwab@suse.de>
55630         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55632         * nscd/pwdcache.c (cache_addpw): Likewise.
55633         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55634         more than recsize.
55636 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55638         * benchtests/Makefile (bench): Write all output to
55639         bench-out.tmp together.
55641 2013-04-15  Andreas Schwab  <schwab@suse.de>
55643         * nscd/nscd.c (main): Don't fork again after closing files.
55645 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55647         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55649         * benchtests/Rules (bench-deps): Collect dependencies into a
55650         single variable.  Add Makefile to dependencies.
55651         ($(objpfx)bench-%.c): Depend on bench-deps.
55653 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55654             Xavier Roche  <roche+kml2@exalead.com>
55656         [BZ #15361]
55657         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55658         just that it's a file descriptor.
55659         * manual/llio.texi (Synchronizing AIO Operations): Update description
55660         for EBADF error from aio_fsync.
55662 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55664         * Rules (bench): Move target definition...
55665         * benchtests/Makefile: ... here.
55667 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55669         * math/libm-test.inc (cos_test): Fix PI/2 test.
55670         (sincos_test): Likewise.
55671         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55672         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55674 2013-04-11  Andreas Schwab  <schwab@suse.de>
55676         [BZ #13988]
55677         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55678         accept exponent character only when digits were seen.
55679         * stdio-common/Makefile (tests): Add bug26.
55680         * stdio-common/bug26.c: New file.
55682         [BZ #14293]
55683         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55684         non-freeable.
55686 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55688         * Makeconfig (rtld-prefix): Define built linker prefix.
55689         * Rules (run-bench): Use it.
55690         * math/Makefile (run-regen-ulps): Likewise.
55692         * Rules (bench): Remove eval.
55694 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55695             Roland McGrath  <roland@hack.frob.com>
55696             Ondrej Bilka  <neleai@seznam.cz>
55698         [BZ #15346]
55699         * time/getdate.c: Include ctype.h and alloca.h.
55700         (__getdate_r): Trim leading and trailing spaces of input.
55701         * time/tst-getdate.c (tests): Add tests with leading and
55702         trailing spaces.
55704 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55706         [BZ #14280]
55707         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55708         when computing value.
55710 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55712         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55713         Use testrun.sh to run libm tests.
55715         [BZ #15309]
55716         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55718 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55720         [BZ #15264]
55721         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55725         * Makefile.in (regen-ulps): New target.
55726         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55727         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55728         [ifneq (no,$(PERL)] (regen-ulps): New target.
55729         [ifeq (no,$(PERL)] (regen-ulps): New target.
55730         * math/libm-test.inc (ulps_file_name): Define.
55731         (output_dir): New variable.
55732         (options): Add "output-dir" option.
55733         (parse_opt): Handle 'o' case.
55734         (main): If output_dir is non-NULL use it as a prefix
55735         otherwise use "".
55736         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55738 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55740         [BZ #10060, #10062]
55741         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55742         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55743         fail configure if __sync_val_compare_and_swap is not inlined.
55744         * sysdeps/i386/configure: Regenerate.
55745         * configure.in: Build for i686 when configured for i386.
55746         * configure: Regenerate.
55747         * README: Remove i386 reference.
55749 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55751         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55752         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55754 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55756         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55757         (lmsnanval): New variables.
55758         (F): Add conversion tests.
55759         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55760         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55762         * stdio-common/tstdiomisc.c (F): Properly collect individual
55763         tests' results.
55765         [BZ #14686, #15336]
55766         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55767         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55768         Instead, use input NaN values or generate a qNaN by arithmetic
55769         operation.  Also fix bugs to comply with the standard.
55770         * math/libm-test.inc (remainder_test): Add more tests.
55772         [BZ #15335, #15342]
55773         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55775         input NaN values or generate a qNaN by arithmetic operation.
55777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55778         unreachable code.
55780         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55781         definitions.
55783 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55785         [BZ #14478]
55786         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55787         underflowed result.
55788         * math/s_cexpf.c (__cexpf): Likewise.
55789         * math/s_cexpl.c (__cexpl): Likewise.
55790         * math/libm-test.inc (cexp_test): Add more tests.
55792 2013-04-03  Andreas Schwab  <schwab@suse.de>
55794         [BZ #15330]
55795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55796         order arrays from heap if bigger than alloca cutoff.
55798 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55800         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55801         (SNAN_TESTS_double): Refer to GCC PR56831.
55802         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55803         GCC PR56828.
55805 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55807         * Rules (bench): Move bench.out after the run is complete.
55809         * Rules (bench): Echo currently running benchmark.
55811         * benchtests/Makefile (bench): Add atan and slowatan.
55812         * benchtests/atan-inputs: New file.
55813         * benchtests/slowatan-inputs: New file.
55814         * benchtests/slowatan.c: New file.
55816         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55818         its value.
55820         [BZ #15305]
55821         * sysdeps/unix/sysv/linux/kernel-features.h
55822         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55823         __ASSUME_XFS_RESTRICTED_CHOWN.
55824         * sysdeps/unix/sysv/linux/pathconf.c
55825         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55826         Save and restore errno.
55828 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55830         [BZ #15327]
55831         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55832         arguments using __kernel_casinh.
55833         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55834         arguments using __kernel_casinhf.
55835         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55836         arguments using __kernel_casinhl.
55837         * math/libm-test.inc (cacosh_test): Add more tests.
55838         * sysdeps/i386/fpu/libm-test-ulps: Update.
55839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55841 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55843         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55846         * bench/Makefile (bench): Add sin and slowsin.
55847         * benchtests/sin-inputs: New file.
55848         * benchtests/slowsin-inputs: New file.
55849         * benchtests/slowsin.c: New file.
55851         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55852         (bench): Add slowexp and slowpow.
55853         (exp-ITER): Increase iterations.
55854         (pow-ITER): Likewise.
55855         * benchtests/exp-inputs: Change input.
55856         * benchtests/pow-inputs: Likewise.
55857         * benchtests/slowexp-inputs: New file.
55858         * benchtests/slowexp.c: New file.
55859         * benchtests/slowpow-inputs: New file.
55860         * benchtests/slowpow.c: New file.
55862 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55864         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55865         instructions.
55866         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55867         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55868         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55869         * benchtests/Makefile: Add rint benchtest.
55870         * benchtests/rint-inputs: Input for rint benchtest.
55872 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55874         * Versions.def (libm): Add GLIBC_2.18.
55875         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55876         hidden libm prototypes.
55877         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55878         * math/Makefile (libm-calls): Add s_issignaling.
55879         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55880         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55881         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55882         declaration.
55883         * math/math.h [__USE_GNU] (issignaling): New macro.
55884         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55885         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55887         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55888         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55889         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55890         * manual/arith.texi (issignaling): New section.
55891         * manual/libm-err-tab.pl (@all_functions): Update comment.
55892         * math/gen-libm-test.pl (parse_args): Apply special handling for
55893         issignaling.
55894         * math/libm-test.inc (print_float, issignaling_test): New
55895         functions.
55896         (check_float_internal): Add issignaling checks.
55897         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55898         default definition.
55899         * sysdeps/powerpc/math-tests.h: New file.
55900         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55901         tests.
55902         * math/test-snan.c (TEST_FUNC): Likewise.
55904 2013-03-30  David S. Miller  <davem@davemloft.net>
55906         * po/de.po: Update from translation team.
55908 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55910         [BZ #10357]
55911         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55912         imaginary part less than 1.0 and real part less than 0.5
55913         specially.
55914         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55915         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55916         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55917         (cacos_test): Add more tests.
55918         (casin_test): Likewise.
55919         (casinh_test): Likewise.
55920         * sysdeps/i386/fpu/libm-test-ulps: Update.
55921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55923 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55925         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55926         ONE with its value.
55928         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55929         (__pow_mp): Replace ONE and MONE with their values.
55930         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55931         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55932         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55933         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55934         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55935         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55937         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55939         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55940         (__pow_mp): Replace ZERO and MZERO with their values.
55941         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55942         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55943         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55945         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55946         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55947         (__sqr): Likewise.
55949         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55951         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55953 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55955         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55956         Declare with __attribute__ ((weak)).
55957         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55958         Call __call_tls_dtors only if it's not NULL.
55960 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55962         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55963         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55964         magic __ehdr_start linker symbol if it's defined.
55965         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55966         them up here if it was already done.
55968         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55969         (_dl_aux_init): Use const in cast when setting it.
55970         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55971         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55972         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55974         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55975         Declare them here.
55976         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55977         * csu/libc-tls.c: Nor here.
55978         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55980         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55981         (__libc_message): Never call vsyslog.
55983 2013-03-28  Alan Modra  <amodra@gmail.com>
55985         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55986         Define as empty.
55987         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55988         Likewise.
55990 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55992         [BZ #15214]
55993         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55994         underflow.
55995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55997 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55999         [BZ #15304]
56000         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56001         Don't add gid passed as argument.
56003         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56005 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56007         [BZ #15307]
56008         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56009         imaginary part between 1.0 and 1.5 and real part less than 0.5
56010         specially.
56011         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56012         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56013         * math/libm-test.inc (cacos_test): Add more tests.
56014         (casin_test): Likewise.
56015         (casinh_test): Likewise.
56016         * sysdeps/i386/fpu/libm-test-ulps: Update.
56017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56019 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56021         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56022         constants.
56023         (norm): Likewise.
56024         (denorm): Likewise.
56025         (__dbl_mp): Likewise.
56026         (add_magnitudes): Likewise.
56027         (sub_magnitudes): Likewise.
56028         (__add): Likewise.
56029         (__sub): Likewise.
56030         (__mul): Likewise.
56031         (__sqr): Likewise.
56032         (__inv): Likewise.
56033         (__dvd): Likewise.
56035         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56036         commented code.
56037         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56038         (__dubcos): Likewise.
56039         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56040         (__ieee754_acos): Likewise.
56041         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56042         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56043         (__exp1): Likewise.
56044         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56046         (log1): Likewise.
56047         (my_log2): Likewise.
56048         (checkint): Likewise.
56049         * sysdeps/ieee754/dbl-64/e_remainder.c
56050         (__ieee754_remainder): Likewise.
56051         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56052         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56053         (bsloww): Likewise.
56054         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56056         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56057         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56058         MANTISSA_STORE_T to store computations on mantissa.  Use
56059         macros for rounding and division.
56060         (denorm): Likewise.
56061         (__dbl_mp): Likewise.
56062         (add_magnitudes): Likewise.
56063         (sub_magnitudes): Likewise.
56064         (__mul): Likewise.
56065         (__sqr): Likewise.
56066         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56067         powers of two in terms of TWOPOW macro.
56068         (mp_no): Make type of mantissa as MANTISSA_T.
56069         [!RADIXI]: Define RADIXI.
56070         [!TWO52]: Define TWO52.
56071         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56073 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56075         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56076         llroundl symbol when building for PPC32.
56078 2013-03-24  Mark H Weaver  <mhw@netris.org>
56080         * manual/arith.texi (Normalization Functions): Fix prototypes for
56081         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56083 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56085         [BZ #13889]
56086         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56087         high value to check if expl overflow.
56088         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56089         to check for underflow and overflow.
56090         * math/libm-test.inc: Add exp test.
56092 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56094         [BZ #11120]
56095         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56096         with NOT_IN_libc.
56098 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56100         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56101         symbol.
56103 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56105         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56106         wrap blocks consisting of several statements.
56108         * sysdeps/generic/math-tests.h: New file.
56109         * sysdeps/i386/fpu/math-tests.h: Likewise.
56110         * math/test-snan.c: Include it.
56111         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56113 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56115         [BZ #15285]
56116         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56117         (__ieee754_j0l): Do not improve calculations using cos of twice
56118         input for inputs above LDBL_MAX / 2.0L.
56119         (__ieee754_y0l): Likewise.
56120         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56121         (__ieee754_j1l): Do not improve calculations using cos of twice
56122         input for inputs above LDBL_MAX / 2.0L.
56123         (__ieee754_y1l): Likewise.
56124         * math/libm-test.inc (j0_test): Add another test.
56125         (j1_test): Likewise.
56126         (y0_test): Likewise.
56127         (y1_test): Likewise.
56128         * sysdeps/i386/fpu/libm-test-ulps: Update.
56130 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56132         * Rules ($(objpfx)bench-%.c): Include code from a C source
56133         file.
56135 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56137         [BZ #15287]
56138         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56139         imaginary part 1.0 and real part less than 0.5 specially.
56140         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56141         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56142         * math/libm-test.inc (cacos_test): Add more tests.
56143         (casin_test): Likewise.
56144         (casinh_test): Likewise.
56145         * sysdeps/i386/fpu/libm-test-ulps: Update.
56146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56148 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56150         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56151         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56153 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56155         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56156         * config.make.in (config-cflags-sse4): Remove variable.
56157         (config-cflags-avx): Likewise.
56158         (config-cflags-sse2avx): Likewise.
56159         (config-cflags-novzeroupper): Likewise.
56160         (config-asflags-i686): Likewise.
56161         (have-mfma4): Likewise.
56162         (have-as-vis3): Likewise.
56163         (MIG): Likewise.
56164         * configure.in (MIG): Do not AC_SUBST.
56165         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56166         (libc_cv_cc_sse4): Do not AC_SUBST.
56167         (libc_cv_cc_avx): Likewise.
56168         (libc_cv_cc_sse2avx): Likewise.
56169         (libc_cv_cc_novzeroupper): Likewise.
56170         (libc_cv_cc_fma4): Likewise.
56171         (libc_cv_as_i686): Likewise.
56172         (libc_cv_sparc_as_vis3): Likewise.
56173         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56174         LIBC_CONFIG_VAR.
56175         (config-asflags-i686): Likewise.
56176         (config-cflags-avx): Likewise.
56177         (config-cflags-sse2avx): Likewise.
56178         (have-mfma4): Likewise.
56179         (config-cflags-novzeroupper): Likewise.
56180         * sysdeps/mach/configure.in (MIG): Likewise.
56181         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56182         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56183         LIBC_CONFIG_VAR.
56184         (config-cflags-avx): Likewise.
56185         (config-cflags-sse2avx): Likewise.
56186         (have-mfma4): Likewise.
56187         (config-cflags-novzeroupper): Likewise.
56188         * configure: Regenerated.
56189         * sysdeps/i386/configure: Likewise.
56190         * sysdeps/mach/configure: Likewise.
56191         * sysdeps/sparc/configure: Likewise.
56192         * sysdeps/x86_64/configure: Likewise.
56194 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56196         [BZ #14812]
56197         * locale/programs/localedef.c (options): Put N_ translation marker
56198         on argument names, not just descriptions.
56200 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56202         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56204 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56206         [BZ #14176]
56207         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56209 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56211         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56212         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56213         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56214         [!BEFORE_ABORT] (before_abort): New function.
56215         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56216         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56217         (writev_for_fatal): New function.
56218         (WRITEV_FOR_FATAL): New macro; call that.
56219         (backtrace_and_maps): New function.
56220         (BEFORE_ABORT): New macro; call that.
56221         (struct str_list): Type removed.
56222         (__libc_message, __libc_fatal): Functions removed.
56223         Include <sysdeps/posix/libc_fatal.c> instead.
56225 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56227         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56228         constants.
56229         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56230         double constants.
56232 2013-03-19  Andreas Schwab  <schwab@suse.de>
56234         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56235         * sysdeps/gnu/configure: Regenerate.
56237         * configure.in: Substitute libc_cv_rtlddir.
56238         * configure: Regenerate.
56239         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56240         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56241         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56242         * elf/Makefile (install-others, CFLAGS-interp.c)
56243         (ldso_install, common-ldd-rewrite): Likewise.
56244         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56245         $(inst_slibdir)/$(rtld-installed-name).
56246         * scripts/rellns-sh: Add -p option.
56247         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56248         for source.
56250 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56252         * manual/nptl.texi: Renamed to ...
56253         * manual/threads.texi: ... this.
56254         * manual/Makefile (chapters): Update.
56256 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56258         [BZ #14812]
56259         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56260         on argument names, not just descriptions.
56261         * malloc/memusagestat.c (options): Likewise.
56262         * nss/getent.c (options): Likewise.
56264 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56266         [BZ #14812]
56267         * iconv/iconv_prog.c (options): Put N_ translation marker
56268         on argument names, not just descriptions.
56269         * iconv/iconvconfig.c (options): Likewise.
56271 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56273         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56274         implementation which is faster on all x86_64 architectures.
56275         Tested on AMD, Intel Nehalem, SNB, IVB.
56276         * sysdeps/x86_64/strnlen.S: Likewise.
56278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56279         Remove all multiarch strlen and strnlen versions.
56280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56281         Remove strlen and strnlen related parts.
56283         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56284         Inline strlen part.
56285         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56287         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56288         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56289         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56290         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56291         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56292         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56294 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56296         * manual/memory.texi (Malloc Tunable Parameters):
56297         Sort parameters alphabetically. Add comments for missing entries.
56299 2013-03-17  David S. Miller  <davem@davemloft.net>
56301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56303 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56305         [BZ #15283]
56306         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56307         for arguments at most half maximum finite value.
56308         * math/libm-test.inc (j0_test): Add more tests.
56309         (j1_test): Likewise.
56310         (y0_test): Likewise.
56311         (y1_test): Likewise.
56312         * sysdeps/i386/fpu/libm-test-ulps: Update.
56313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56315         [BZ #14155]
56316         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56317         1 / x and functions P and Q for arguments above 0x1p256L.
56318         (__ieee754_y0l): Likewise.
56319         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56320         (__ieee754_y1l): Likewise.
56321         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56322         (j1_test): Likewise.
56323         (y0_test): Likewise.
56324         (y1_test): Likewise.
56326 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56328         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56329         variable.
56331 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56333         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56334         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56335         zero since it's initialized to EXEC_PAGESIZE.
56337         * sysdeps/unix/sysv/linux/ldsodefs.h
56338         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56339         * sysdeps/generic/ldsodefs.h: ... here.
56341 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56343         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56345         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56346         math/test-snan.c.
56347         * math/test-snan.c: Renamed from
56348         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56349         * math/Makefile (tests): Add test-snan.
56350         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56351         test-powerpc-snan.
56353         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56354         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56355         functions.
56356         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56357         __builtin_nan family of functions.
56358         * math/libm-test.inc (initialize): Initialize qnan_value with
56359         __builtin_nan family of functions.
56360         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56361         Remove variables.
56362         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56363         Remove functions.
56364         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56365         storage class.  Initialize qNaN_var and sNaN_var with
56366         __builtin_nan and __builtin_nans families of functions,
56367         respectively.
56369         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56370         (sqrt_test): Remove duplicate test with qNaN input.
56371         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56372         (round_test, signbit_test, significand_test): Note missing +/-Inf
56373         as well as qNaN tests.
56375         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56376         qNaN_var.  Fix a few strings, too.
56377         * math/libm-test.inc (nan_value): Rename to qnan_value.
56378         * math/gen-libm-test.pl (%beautify): Adjust to that.
56379         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56380         * math/test-misc.c (main): Likewise.
56381         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56382         to __qnan_bytes, and __qnan_union, respectively.
56383         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56384         Likewise.
56385         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56386         and lqnanval, respectively.
56387         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56388         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56389         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56390         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56392         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56393         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56394         doubles.
56396         * math/test-misc.c (main): Fix copy'n'pastos.
56397         * misc/tst-efgcvt.c (special): Likewise.
56399         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56400         Remove declarations.
56402 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56404         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56405         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56406         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56407         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56409 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56411         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56412         macro to return vdso values correctly in IFUNC implementations.
56413         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56414         Optimization by using IFUNC.
56416 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56417             Richard Henderson  <rth@redhat.com>
56418             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56420         * Makefile.in (bench): New target.
56421         * NEWS: Mention the benchmark framework.
56422         * Rules (bench): Likewise.
56423         (binaries-bench): Generate binaries for functions to
56424         benchmark.
56425         * benchtests/Makefile: New makefile for benchmark tests.
56426         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56427         programs.
56428         * benchtests/exp-inputs: New input file for EXP function.
56429         * benchtests/pow-inputs: New input file for POW function.
56430         * scripts/bench.pl: New script to generate source files for
56431         benchmark programs.
56433 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56435         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56436         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56437         computations on mantissa.  Use macros for rounding and
56438         division.
56439         (denorm): Likewise.
56440         (__dbl_mp): Likewise.
56441         (add_magnitudes): Likewise.
56442         (sub_magnitudes): Likewise.
56443         (__mul): Likewise.
56444         (__sqr): Likewise.
56445         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56446         powers of two in terms of TWOPOW macro.
56447         (mp_no): Make type of mantissa as MANTISSA_T.
56448         [!RADIXI]: Define RADIXI.
56449         [!TWO52]: Define TWO52.
56450         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56452         * manual/nptl.texi (cindex): Modify threads to pthreads.
56454 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56456         * sysdeps/x86_64/preconfigure: Regenerated.
56458 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56460         [BZ #14155]
56461         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56462         0x1p28 and above.
56463         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56464         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56465         0x1p28 and above.
56466         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56467         * math/libm-test.inc (j0_test): Do not allow one spurious
56468         underflow exception.
56469         (y1_test): Likewise.
56471 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56473         * manual/Makefile (chapters): Add nptl.
56474         * manual/debug.texi (Debugging Support): Add link to Threads
56475         chapter.
56476         * manual/nptl.texi: New file.
56478         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56480 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56482         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56483         for non-NULL pointer before the memory validity test. Pointed
56484         out by Holger Brunck <holger.brunck@keymile.com>.
56486 2013-03-13  Andreas Schwab  <schwab@suse.de>
56488         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56489         instead of .os.
56491 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56493         * timezone/zic.c: Update from tzcode 2013b.
56495 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56497         * manual/install.texi (Configuring and compiling):
56498         Mention i686 and i586.
56499         * INSTALL: Regenerate.
56501 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56503         * sysdeps/init_array/elf-init.c: New file.
56504         * csu/elf-init.c
56505         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56506         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56508         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56509         __gmon_start__ as global, but as static with a .preinit_array pointer.
56510         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56511         * sysdeps/init_array/crti.S: New file, empty except for comments.
56512         * sysdeps/init_array/crtn.S: Likewise.
56514 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56516         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56517         definining bcopy.
56518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56519         Remove Prefer_SSE_for_memop.
56520         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56521         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56522         HAS_PREFER_SSE_FOR_MEMOP.
56523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56524         memset-x86-64.
56525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56526         Remove bzero, memset ifunc support.
56527         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56528         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56529         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56530         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56532 2013-03-11  Andreas Schwab  <schwab@suse.de>
56534         [BZ #15234]
56535         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56536         by SHLIB_COMPAT.
56537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56538         (GLIBC_2.16): Remove pthread_atfork.
56540 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56542         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56543         (ptestcases.h): Likewise.
56545 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56547         * Makeconfig ($(common-objpfx)config.status): Depend on
56548         sysdeps/*/preconfigure{,.in} too.
56550 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56552         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56553         (__free_hook): Use void * instead of __malloc_ptr_t.
56554         (__malloc_hook): Likewise.
56555         (__realloc_hook): Likewise.
56556         (__memalign_hook): Likewise.
56557         (__after_morecore_hook): Likewise.
56558         * malloc/arena.c (save_malloc_hook): Likewise.
56559         (save_free_hook): Likewise.
56560         * malloc/hooks.c (malloc_hook_ini): Likewise.
56561         (realloc_hook_ini): Likewise.
56562         (memalign_hook_ini): Likewise.
56563         * malloc/malloc.c (malloc_hook_ini): Likewise.
56564         (realloc_hook_ini): Likewise.
56565         (memalign_hook_ini): Likewise.
56566         (__free_hook): Likewise.
56567         (__malloc_hook): Likewise.
56568         (__realloc_hook): Likewise.
56569         (__memalign_hook): Likewise.
56570         (__libc_malloc): Likewise.
56571         (__libc_free): Likewise.
56572         (__libc_realloc): Likewise.
56573         (__libc_memalign): Likewise.
56574         (__libc_valloc): Likewise.
56575         (__libc_pvalloc): Likewise.
56576         (__libc_calloc): Likewise.
56577         (__posix_memalign): Likewise.
56578         * malloc/morecore.c (__sbrk): Likewise.
56579         (__default_morecore): Likewise.
56581         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56583         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56584         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56585         __malloc_ptrdiff_t.
56587         * malloc/malloc.h (__malloc_size_t): Remove macro.
56588         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56589         __malloc_size_t.
56590         (old_memalign_hook): Likewise.
56591         (old_realloc_hook): Likewise.
56592         (struct hdr): Likewise.
56593         (flood): Likewise.
56594         (mallochook): Likewise.
56595         (memalignhook): Likewise.
56596         (reallochook): Likewise.
56597         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56598         (tr_old_realloc_hook): Likewise.
56599         (tr_old_memalign_hook): Likewise.
56600         (tr_mallochook): Likewise.
56601         (tr_reallochook): Likewise.
56602         (tr_memalignhook): Likewise.
56604 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56606         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56607         default_ldbl_pack and using as default implementation.
56608         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56609         implementation.
56610         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56611         redundant definition.
56612         (ldbl_insert_mantissa): Likewise.
56613         (ldbl_canonicalize): Likewise.
56614         (ldbl_nearbyint): Likewise.
56615         (ldbl_pack): Rename to ldbl_pack_ppc.
56616         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56617         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56618         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56620 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56623         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56625         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56628         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56629         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56631 2013-03-07  Andreas Jaeger  <aj@suse.de>
56633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56634         bits/mman-linux.h.
56636 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56638         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56639         Include mpa.h and declare __MPEXP.
56640         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56641         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56642         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56643         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56644         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56645         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56646         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56648         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56649         (__slowpow): Use long double EXPL and LOGL functions to
56650         compute POW.
56651         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56652         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56653         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56654         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56655         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56656         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56659         intermediate variable to calculate exponent.
56660         (__sqr): Likewise.
56661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56662         Likewise.
56663         (__sqr): Likewise.
56665         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56666         [!NO__SQR]: Define __sqr.
56667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56668         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56669         sysdeps/ieee754/dbl-64/mpa.c.
56670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56672         [BZ #12723]
56673         * posix/Makefile (tests): Add tst-pathconf.
56674         * posix/tst-pathconf.c: New test case.
56675         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56676         _PC_PIPE_BUF.
56677         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56679 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56681         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56683 2013-03-06  Andreas Jaeger  <aj@suse.de>
56685         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56686         definition via __MAP_ANONYMOUS.
56688         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56689         it's not part of Linux headers.
56691         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56692         (MAP_HUGE_MASK): Define.
56694         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56695         Define.
56696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56698         Define.
56699         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56700         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56701         Define.
56702         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56704         Define.
56705         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56707         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56708         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56709         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56710         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56711         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56712         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56714         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56715         Handle f2fs.
56717         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56718         Handle f2fs and efivarfs.
56720         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56721         f2fs.
56723         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56724         (EFIVARFS_MAGIC): Add.
56725         (F2FS_LINK_MAX): Add.
56727 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56729         * stdio-common/vfprintf.c: Replace __builtin_expect with
56730         __glibc_unlikely.
56732 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56734         [BZ #13550]
56735         * sysdeps/generic/bp-sym.h: Remove file.
56736         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56737         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56738         <bp-sym.h> and <bp-asm.h>.
56739         (__longjmp): Don't use BP_SYM.
56740         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56741         and <bp-asm.h>.
56742         (memcpy): Don't use BP_SYM.
56743         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56744         <bp-sym.h> and <bp-asm.h>.
56745         (memcpy): Don't use BP_SYM.
56746         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56747         <bp-asm.h>.
56748         (memcpy): Don't use BP_SYM.
56749         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56750         <bp-asm.h>.
56751         (memset): Don't use BP_SYM.
56752         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56753         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56754         (__bzero): Don't use BP_SYM.
56755         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56756         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56757         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56758         <bp-sym.h> and <bp-asm.h>.
56759         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56760         pointers.
56761         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56762         <bp-sym.h> and <bp-asm.h>.
56763         (memcpy): Don't use BP_SYM.
56764         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56765         <bp-sym.h> and <bp-asm.h>.
56766         (memset): Don't use BP_SYM.
56767         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56768         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56769         (__bzero): Don't use BP_SYM.
56770         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56771         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56772         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56773         <bp-sym.h> and <bp-asm.h>.
56774         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56775         pointers.
56776         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56777         <bp-sym.h> and <bp-asm.h>.
56778         (memcpy): Don't use BP_SYM.
56779         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56780         <bp-sym.h> and <bp-asm.h>.
56781         (memset): Don't use BP_SYM.
56782         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56783         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56784         (__bzero): Don't use BP_SYM.
56785         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56786         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56787         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56788         <bp-sym.h> and <bp-asm.h>.
56789         (__memchr): Don't use BP_SYM.
56790         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56791         <bp-sym.h> and <bp-asm.h>.
56792         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56793         pointers.
56794         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56795         <bp-sym.h> and <bp-asm.h>.
56796         (memcpy): Don't use BP_SYM.
56797         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56798         <bp-sym.h> and <bp-asm.h>.
56799         (__mempcpy): Don't use BP_SYM.
56800         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56801         <bp-sym.h> and <bp-asm.h>.
56802         (__memrchr): Don't use BP_SYM.
56803         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56804         <bp-sym.h> and <bp-asm.h>.
56805         (memset): Don't use BP_SYM.
56806         (__bzero): Likewise.
56807         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56808         <bp-sym.h> and <bp-asm.h>.
56809         (__rawmemchr): Don't use BP_SYM.
56810         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56811         <bp-sym.h> and <bp-asm.h>.
56812         (__STRCMP): Don't use BP_SYM.
56813         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56814         <bp-sym.h> and <bp-asm.h>.
56815         (strchr): Don't use BP_SYM.
56816         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56817         <bp-sym.h> and <bp-asm.h>.
56818         (__strchrnul): Don't use BP_SYM.
56819         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56820         <bp-sym.h> and <bp-asm.h>.
56821         (strlen): Don't use BP_SYM.
56822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56823         <bp-sym.h> and <bp-asm.h>.
56824         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56825         pointers.
56826         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56827         <bp-sym.h> and <bp-asm.h>.
56828         (__strnlen): Don't use BP_SYM.
56829         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56830         <bp-sym.h> and <bp-asm.h>.
56831         (__GI__setjmp): Don't use BP_SYM.
56832         (_setjmp): Likewise.
56833         (__sigsetjmp): Likewise.
56834         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56835         (L(start_addresses)): Don't use BP_SYM.
56836         (_start): Likewise.
56837         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56838         <bp-asm.h>.
56839         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56840         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56841         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56842         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56843         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56844         <bp-asm.h>.
56845         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56846         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56847         about bounded pointers.
56848         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56849         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56850         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56851         <bp-asm.h>.
56852         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56853         about bounded pointers.  Remove GKM FIXME comments.
56854         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56855         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56856         <bp-asm.h>.
56857         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56858         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56859         Remove GKM FIXME comments.
56860         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56861         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56862         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56863         <bp-asm.h>.
56864         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56865         about bounded pointers.  Remove GKM FIXME comment.
56866         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56867         and <bp-asm.h>.
56868         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56869         pointers.
56870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56871         <bp-sym.h> and <bp-asm.h>.
56872         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56874         <bp-sym.h> and <bp-asm.h>.
56875         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56876         comment.
56878 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56880         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56881         call free(NULL).
56883 2013-03-05  David S. Miller  <davem@davemloft.net>
56885         * po/es.po: Update from translation team.
56887 2013-03-05  Andreas Jaeger  <aj@suse.de>
56889         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56890         <bits/mman-linux.h>.
56891         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56892         is fine.
56893         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56894         <bits/mman-linux.h> to end of file.
56895         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56896         is fine.
56897         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56898         <bits/mman-linux.h> to end of file.
56899         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56900         is fine.
56901         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56902         <bits/mman-linux.h> to end of file.
56904         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56905         (MCL_CURRENT, MCL_FUTURE): Define here.
56907 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56909         [BZ #15232]
56910         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56911         attribute_hidden.
56912         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56914 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56916         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56917         fourth parameter needed for rt_sigprocmask syscall.
56918         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56919         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56920         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56921         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56922         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56923         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56925 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56927         [BZ #13550]
56928         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56929         comment about bounded pointers.
56930         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56931         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56933 2013-03-04  Andreas Jaeger  <aj@suse.de>
56935         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56936         common definitions.
56938         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56939         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56940         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56941         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56942         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56943         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56945 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56947         [BZ #15055]
56948         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56949         __ieee754_sqrl instead of __sqrl.
56951 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56953         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56954         * sysdeps/powerpc/fpu_control.h: ... here.
56955         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56956         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56957         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56958         * sysdeps/powerpc/bits/mathinline.h: ... here.
56960 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56962         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56963         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56964         to just [NEED_DL_SYSINFO_DSO].
56965         * elf/dl-support.c: Likewise.
56966         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56967         * elf/rtld.c (dl_main): Likewise.
56968         * elf/setup-vdso.h (setup_vdso): Likewise.
56969         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56970         * sysdeps/unix/sysv/linux/dl-sysdep.c
56971         (_dl_discover_osversion): Likewise.
56973 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56975         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56976         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56978 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56980         * NEWS: Mention libm performance improvements and non-x86 PI
56981         futex support.
56983         * csu/libc-start.c (__pthread_initialize_minimal): Change
56984         function arguments.
56985         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56987 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56989         [BZ #13550]
56990         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56991         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56992         <bp-sym.h> and <bp-asm.h>.
56993         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56994         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56995         and <bp-asm.h>.
56996         (memcpy): Don't use BP_SYM.
56997         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56998         <bp-asm.h>.
56999         (__mpn_add_n): Don't use BP_SYM.
57000         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57001         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57002         and <bp-asm.h>.
57003         (__mpn_addmul_1): Don't use BP_SYM.
57004         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57005         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57006         <bp-sym.h>.
57007         (_setjmp): Don't use BP_SYM.
57008         (__novmx_setjmp): Likewise.
57009         (__GI__setjmp): Likewise.
57010         (__vmx_setjmp): Likewise.
57011         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57012         <bp-sym.h>.
57013         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57014         (__bzero): Don't use BP_SYM.
57015         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57016         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57017         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57018         <bp-sym.h> and <bp-asm.h>.
57019         (memcpy): Don't use BP_SYM.
57020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57021         <bp-sym.h> and <bp-asm.h>.
57022         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57023         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57024         <bp-sym.h> and <bp-asm.h>.
57025         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57026         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57027         <bp-asm.h>.
57028         (__mpn_lshift): Don't use BP_SYM.
57029         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57030         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57031         <bp-asm.h>.
57032         (memset): Don't use BP_SYM.
57033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57035         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57036         <bp-asm.h>.
57037         (__mpn_mul_1): Don't use BP_SYM.
57038         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57039         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57040         <bp-sym.h> and <bp-asm.h>.
57041         (memcmp): Don't use BP_SYM.
57042         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57043         <bp-sym.h> and <bp-asm.h>.
57044         (memcpy): Don't use BP_SYM.
57045         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57046         <bp-sym.h> and <bp-asm.h>.
57047         (memset): Don't use BP_SYM.
57048         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57049         <bp-sym.h> and <bp-asm.h>.
57050         (strncmp): Don't use BP_SYM.
57051         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57052         <bp-sym.h> and <bp-asm.h>.
57053         (memcpy): Don't use BP_SYM.
57054         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57055         <bp-sym.h> and <bp-asm.h>.
57056         (memset): Don't use BP_SYM.
57057         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57058         <bp-sym.h> and <bp-asm.h>.
57059         (__memchr): Don't use BP_SYM.
57060         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57061         <bp-sym.h> and <bp-asm.h>.
57062         (memcmp): Don't use BP_SYM.
57063         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57064         <bp-sym.h> and <bp-asm.h>.
57065         (memcpy): Don't use BP_SYM.
57066         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57067         <bp-sym.h> and <bp-asm.h>.
57068         (__mempcpy): Don't use BP_SYM.
57069         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57070         <bp-sym.h> and <bp-asm.h>.
57071         (__memrchr): Don't use BP_SYM.
57072         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57073         <bp-sym.h> and <bp-asm.h>.
57074         (memset): Don't use BP_SYM.
57075         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57076         <bp-sym.h> and <bp-asm.h>.
57077         (__rawmemchr): Don't use BP_SYM.
57078         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57079         <bp-sym.h> and <bp-asm.h>.
57080         (__STRCMP): Don't use BP_SYM.
57081         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57082         <bp-sym.h> and <bp-asm.h>.
57083         (strchr): Don't use BP_SYM.
57084         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57085         <bp-sym.h> and <bp-asm.h>.
57086         (__strchrnul): Don't use BP_SYM.
57087         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57088         <bp-sym.h> and <bp-asm.h>.
57089         (strlen): Don't use BP_SYM.
57090         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57091         <bp-sym.h> and <bp-asm.h>.
57092         (strncmp): Don't use BP_SYM.
57093         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57094         <bp-sym.h> and <bp-asm.h>.
57095         (__strnlen): Don't use BP_SYM.
57096         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57097         <bp-asm.h>.
57098         (__mpn_rshift): Don't use BP_SYM.
57099         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57100         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57101         <bp-sym.h> and <bp-asm.h>.
57102         (__sigsetjmp): Don't use BP_SYM.
57103         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57104         (L(start_addresses)): Don't use BP_SYM.
57105         (_start): Likewise.
57106         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57107         <bp-asm.h>.
57108         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57109         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57110         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57111         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57112         <bp-asm.h>.
57113         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57114         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57115         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57116         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57117         <bp-asm.h>.
57118         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57119         comments.
57120         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57121         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57122         <bp-asm.h>.
57123         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57124         FIXME comments.
57125         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57126         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57127         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57128         <bp-asm.h>.
57129         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57130         comment.
57131         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57132         and <bp-asm.h>.
57133         (strncmp): Don't use BP_SYM,
57134         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57135         <bp-asm.h>.
57136         (__mpn_sub_n): Don't use BP_SYM.
57137         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57138         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57139         and <bp-asm.h>.
57140         (__mpn_submul_1): Don't use BP_SYM.
57141         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57143         <bp-sym.h> and <bp-asm.h>.
57144         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57146         <bp-sym.h> and <bp-asm.h>.
57147         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57148         comment.
57150 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57153         Use ZK to minimize writes to Z.
57154         (sub_magnitudes): Simplify code a bit.
57155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57156         Use ZK to minimize writes to Z.
57157         (sub_magnitudes): Simplify code a bit.
57159 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57161         * csu/gmon-start.c: Add special exception to license text.
57163 2013-02-27  Richard Henderson  <rth@redhat.com>
57165         * scripts/config.guess: Update from config.git.
57166         * scripts/config.sub: Likewise.
57168 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57170         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57172         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57174         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57176         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57178         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57180 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57182         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57183         [$(build-shared = yes].
57185 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57187         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57188         (__mul): Reduce iterations for calculating mantissa.
57190         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57191         MPTWO.
57192         (__mpranred): Likewise.
57194         [BZ #15160]
57195         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57196         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57198 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57200         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57201         Define __attribute__.
57203 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57205         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57206         unused.
57207         * posix/regex_internal.h (__attribute): Remove.
57208         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57209         (re_string_context_at): Likewise.
57210         (bitset_not): Use __attribute__ and mark function as possibly
57211         unused.
57212         (bitset_merge): Likewise.
57213         (bitset_mask): Likewise.
57214         (re_string_char_size_at): Likewise.
57215         (re_string_wchar_at): Likewise.
57216         (re_string_elem_size_at): Likewise.
57218 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57220         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57221         code.
57222         (cc32): Likewise.
57224         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57225         (__acr): Likewise.
57226         (__cpy): Likewise.
57227         (norm): Likewise.
57228         (denorm): Likewise.
57229         (__dbl_mp): Likewise.
57230         (add_magnitudes): Likewise.
57231         (sub_magnitudes): Likewise.
57232         (__mul): Likewise.
57233         (__inv): Likewise.
57235         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57236         style.
57238         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57239         style.
57241         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57242         code.
57244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57245         up changes with default code.
57246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57247         Likewise.
57249 2013-02-24  Allan McRae  <allan@archlinux.org>
57251         * manual/socket.texi (The Internet Namespace): Order menu items
57252         to match that in the file.
57254         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57255         node listing of the info page menu.
57257 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57259         [BZ #13550]
57260         * sysdeps/i386/bp-asm.h: Remove file.
57261         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57262         (PARMS): Do not use macros from bp-asm.h.
57263         (S1): Likewise.
57264         (S2): Likewise.
57265         (SIZE): Likewise.
57266         (__mpn_add_n): Do not use BP_SYM
57267         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57268         "bp-asm.h".
57269         (PARMS): Do not use macros from bp-asm.h.
57270         (S1): Likewise.
57271         (SIZE): Likewise.
57272         (__mpn_addmul_1): Do not use BP_SYM
57273         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57274         "bp-asm.h".
57275         (PARMS): Do not use macros from bp-asm.h.
57276         (SIGMSK): Likewise.
57277         (_setjmp): Likewise.  Do not use BP_SYM.
57278         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57279         "bp-asm.h".
57280         (PARMS): Do not use macros from bp-asm.h.
57281         (SIGMSK): Likewise.
57282         (setjmp): Likewise.  Do not use BP_SYM.
57283         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57284         "bp-asm.h".
57285         (PARMS): Do not use macros from bp-asm.h.
57286         (__frexp): Do not use BP_SYM.
57287         (frexp): Likewise.
57288         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57289         "bp-asm.h".
57290         (PARMS): Do not use macros from bp-asm.h.
57291         (__frexpf): Do not use BP_SYM.
57292         (frexpf): Likewise.
57293         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57294         "bp-asm.h".
57295         (PARMS): Do not use macros from bp-asm.h.
57296         (__frexpl): Do not use BP_SYM.
57297         (frexpl): Likewise.
57298         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57299         "bp-asm.h".
57300         (PARMS): Do not use macros from bp-asm.h.
57301         (__remquo): Do not use BP_SYM.
57302         (remquo): Likewise.
57303         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57304         "bp-asm.h".
57305         (PARMS): Do not use macros from bp-asm.h.
57306         (__remquof): Do not use BP_SYM.
57307         (remquof): Likewise.
57308         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57309         "bp-asm.h".
57310         (PARMS): Do not use macros from bp-asm.h.
57311         (__remquol): Do not use BP_SYM.
57312         (remquol): Likewise.
57313         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57314         "bp-asm.h".
57315         (PARMS): Do not use macros from bp-asm.h.
57316         (DEST): Likewise.
57317         (SRC): Likewise.
57318         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57319         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57320         "bp-asm.h".
57321         (PARMS): Do not use macros from bp-asm.h.
57322         (strlen): Do not use BP_SYM.
57323         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57324         "bp-asm.h".
57325         (PARMS): Do not use macros from bp-asm.h.
57326         (S1): Likewise.
57327         (S2): Likewise.
57328         (SIZE): Likewise.
57329         (__mpn_add_n): Do not use BP_SYM.
57330         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57331         "bp-asm.h".
57332         (PARMS): Do not use macros from bp-asm.h.
57333         (S1): Likewise.
57334         (SIZE): Likewise.
57335         (__mpn_addmul_1): Do not use BP_SYM.
57336         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57337         weak_alias.
57338         (bzero): Likewise.
57339         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57340         "bp-asm.h".
57341         (PARMS): Do not use macros from bp-asm.h.
57342         (S): Likewise.
57343         (SIZE): Likewise.
57344         (__mpn_lshift): Do not use BP_SYM.
57345         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57346         "bp-asm.h".
57347         (PARMS): Do not use macros from bp-asm.h.
57348         (DEST): Likewise.
57349         (SRC): Likewise.
57350         (LEN): Likewise.
57351         (memcpy): Likewise.  Do not use BP_SYM.
57352         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57353         libc_hidden_def and weak_alias.
57354         (mempcpy): Do not use BP_SYM in weak_alias.
57355         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57356         "bp-asm.h".
57357         (PARMS): Do not use macros from bp-asm.h.
57358         (DEST): Likewise.
57359         (LEN): Likewise.
57360         [!BZERO_P] (CHR): Likewise.
57361         (memset): Likewise.  Do not use BP_SYM.
57362         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57363         "bp-asm.h".
57364         (PARMS): Do not use macros from bp-asm.h.
57365         (S1): Likewise.
57366         (SIZE): Likewise.
57367         (__mpn_mul_1): Do not use BP_SYM.
57368         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57369         "bp-asm.h".
57370         (PARMS): Do not use macros from bp-asm.h.
57371         (S): Likewise.
57372         (SIZE): Likewise.
57373         (__mpn_rshift): Do not use BP_SYM.
57374         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57375         "bp-asm.h".
57376         (PARMS): Do not use macros from bp-asm.h.
57377         (STR): Likewise.
57378         (CHR): Likewise.
57379         (strchr): Likewise.  Do not use BP_SYM.
57380         (index): Do not use BP_SYM in weak_alias.
57381         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57382         "bp-asm.h".
57383         (PARMS): Do not use macros from bp-asm.h.
57384         (DEST): Likewise.
57385         (SRC): Likewise.
57386         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57387         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57388         "bp-asm.h".
57389         (PARMS): Do not use macros from bp-asm.h.
57390         (strlen): Do not use BP_SYM.
57391         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57392         "bp-asm.h".
57393         (PARMS): Do not use macros from bp-asm.h.
57394         (S1): Likewise.
57395         (S2): Likewise.
57396         (SIZE): Likewise.
57397         (__mpn_sub_n): Do not use BP_SYM.
57398         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57399         "bp-asm.h".
57400         (PARMS): Do not use macros from bp-asm.h.
57401         (S1): Likewise.
57402         (SIZE): Likewise.
57403         (__mpn_submul_1): Do not use BP_SYM.
57404         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57405         "bp-asm.h".
57406         (PARMS): Do not use macros from bp-asm.h.
57407         (S1): Likewise.
57408         (S2): Likewise.
57409         (SIZE): Likewise.
57410         (__mpn_add_n): Do not use BP_SYM.
57411         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57412         weak_alias.
57413         (bzero): Likewise.
57414         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57415         "bp-asm.h".
57416         (PARMS): Do not use macros from bp-asm.h.
57417         (BLK2): Likewise.
57418         (LEN): Likewise.
57419         (memcmp): Do not use BP_SYM.
57420         (bcmp): Do not use BP_SYM in weak_alias.
57421         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57422         "bp-asm.h".
57423         (PARMS): Do not use macros from bp-asm.h.
57424         (DEST): Likewise.
57425         (SRC): Likewise.
57426         (LEN): Likewise.
57427         (memcpy): Likewise.  Do not use BP_SYM.
57428         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57429         "bp-asm.h".
57430         (PARMS): Do not use macros from bp-asm.h.
57431         (DEST): Likewise.
57432         (SRC): Likewise.
57433         (LEN): Likewise.
57434         (memmove): Likewise.  Do not use BP_SYM.
57435         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57436         "bp-asm.h".
57437         (PARMS): Do not use macros from bp-asm.h.
57438         (DEST): Likewise.
57439         (SRC): Likewise.
57440         (LEN): Likewise.
57441         (__mempcpy): Likewise.  Do not use BP_SYM.
57442         (mempcpy): Do not use BP_SYM in weak_alias.
57443         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57444         "bp-asm.h".
57445         (PARMS): Do not use macros from bp-asm.h.
57446         (DEST): Likewise.
57447         (LEN): Likewise.
57448         [!BZERO_P] (CHR): Likewise.
57449         (memset): Likewise.  Do not use BP_SYM.
57450         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57451         "bp-asm.h".
57452         (PARMS): Do not use macros from bp-asm.h.
57453         (STR2): Likewise.
57454         (strcmp): Do not use BP_SYM.
57455         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57456         "bp-asm.h".
57457         (PARMS): Do not use macros from bp-asm.h.
57458         (STR): Likewise.
57459         (DELIM): Likewise.
57460         [USE_AS_STRTOK_R] (SAVE): Likewise.
57461         (FUNCTION): Likewise.  Do not use BP_SYM.
57462         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57463         aliases.
57464         (strtok_r): Likewise.
57465         (__GI___strtok_r): Likewise.
57466         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57467         (PARMS): Do not use macros from bp-asm.h.
57468         (S): Likewise.
57469         (SIZE): Likewise.
57470         (__mpn_lshift): Do not use BP_SYM.
57471         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57472         (PARMS): Do not use macros from bp-asm.h.
57473         (STR): Likewise.
57474         (CHR): Likewise.
57475         (__memchr): Do not use BP_SYM.
57476         (memchr): Do not use BP_SYM in weak_alias.
57477         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57478         (PARMS): Do not use macros from bp-asm.h.
57479         (BLK2): Likewise.
57480         (LEN): Likewise.
57481         (memcmp): Do not use BP_SYM.
57482         (bcmp): Do not use BP_SYM in weak_alias.
57483         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57484         (PARMS): Do not use macros from bp-asm.h.
57485         (S1): Likewise.
57486         (SIZE): Likewise.
57487         (__mpn_mul_1): Do not use BP_SYM.
57488         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57489         "bp-asm.h".
57490         (PARMS): Do not use macros from bp-asm.h.
57491         (STR): Likewise.
57492         (CHR): Likewise.
57493         (__rawmemchr): Do not use BP_SYM.
57494         (rawmemchr): Do not use BP_SYM in weak_alias.
57495         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57496         (PARMS): Do not use macros from bp-asm.h.
57497         (S): Likewise.
57498         (SIZE): Likewise.
57499         (__mpn_rshift): Do not use BP_SYM.
57500         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57501         (PARMS): Do not use macros from bp-asm.h.
57502         (SIGMSK): Likewise.
57503         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57504         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57505         (_start): Do not use BP_SYM.
57506         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57507         (PARMS): Do not use macros from bp-asm.h.
57508         (DEST): Likewise.
57509         (SRC): Likewise.
57510         (__stpcpy): Likewise.  Do not use BP_SYM.
57511         (stpcpy): Do not use BP_SYM in weak_alias.
57512         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57513         "bp-asm.h".
57514         (PARMS): Do not use macros from bp-asm.h.
57515         (DEST): Likewise.
57516         (SRC): Likewise.
57517         (LEN): Likewise.
57518         (__stpncpy): Likewise.  Do not use BP_SYM.
57519         (stpncpy): Do not use BP_SYM in weak_alias.
57520         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57521         (PARMS): Do not use macros from bp-asm.h.
57522         (STR): Likewise.
57523         (CHR): Likewise.
57524         (strchr): Likewise.  Do not use BP_SYM.
57525         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57526         "bp-asm.h".
57527         (PARMS): Do not use macros from bp-asm.h.
57528         (STR): Likewise.
57529         (CHR): Likewise.
57530         (__strchrnul): Likewise.  Do not use BP_SYM.
57531         (strchrnul): Do not use BP_SYM in weak_alias.
57532         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57533         "bp-asm.h".
57534         (PARMS): Do not use macros from bp-asm.h.
57535         (STOP): Likewise.
57536         (strcspn): Do not use BP_SYM.
57537         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57538         "bp-asm.h".
57539         (PARMS): Do not use macros from bp-asm.h.
57540         (STR): Likewise.
57541         (STOP): Likewise.
57542         (strpbrk): Likewise.  Do not use BP_SYM.
57543         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57544         "bp-asm.h".
57545         (PARMS): Do not use macros from bp-asm.h.
57546         (STR): Likewise.
57547         (CHR): Likewise.
57548         (strrchr): Likewise.  Do not use BP_SYM.
57549         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57550         (PARMS): Do not use macros from bp-asm.h.
57551         (SKIP): Likewise.
57552         (strspn): Do not use BP_SYM.
57553         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57554         (PARMS): Do not use macros from bp-asm.h.
57555         (STR): Likewise.
57556         (DELIM): Likewise.
57557         (SAVE): Likewise.
57558         (FUNCTION): Likewise.  Do not use BP_SYM.
57559         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57560         aliases.
57561         (strtok_r): Likewise.
57562         (__GI___strtok_r): Likewise.
57563         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57564         (PARMS): Do not use macros from bp-asm.h.
57565         (S1): Likewise.
57566         (S2): Likewise.
57567         (SIZE): Likewise.
57568         (__mpn_sub_n): Do not use BP_SYM.
57569         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57570         "bp-asm.h".
57571         (PARMS): Do not use macros from bp-asm.h.
57572         (S1): Likewise.
57573         (SIZE): Likewise.
57574         (__mpn_submul_1): Do not use BP_SYM.
57575         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57576         <bp-sym.h>.
57577         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57578         and <bp-asm.h>.
57579         (PARMS): Do not use macros from bp-asm.h.
57580         (FLAGS): Likewise.
57581         (PTID): Likewise.
57582         (TLS): Likewise.
57583         (CTID): Likewise.
57584         (__clone): Do not use BP_SYM.
57585         (clone): Do not use BP_SYM in weak_alias.
57586         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57587         and <bp-asm.h>.
57588         (PARMS): Do not use macros from bp-asm.h.
57589         (LEN): Likewise.
57590         (__mmap64): Do not use BP_SYM.
57591         (mmap64): Do not use BP_SYM in weak_alias.
57592         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57593         <bp-sym.h> and <bp-asm.h>.
57594         (PARMS): Do not use macros from bp-asm.h.
57595         (__posix_fadvise64_l64): Do not use BP_SYM.
57596         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57597         (PARMS): Do not use macros from bp-asm.h.
57598         (NSOPS): Likewise.
57599         (semtimedop): Do not use BP_SYM.
57600         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57601         and <bp-asm.h>.
57603 2013-02-21  Allan McRae  <allan@archlinux.org>
57605         * manual/message.texi (Charset conversion in gettext):
57606         Move @end statement to beginning of line.
57608 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57611         static.
57612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57613         Likewise.
57615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57616         (denorm): Likewise.
57617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57620 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57622         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57623         tail-call to the resolved function if pltexit isn't needed.
57625 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57628         or Y being zero as being unlikely.
57629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57630         Likewise.
57632 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57634         * manual/nss.texi (System Databases and Name Service Switch):
57635         Remove frobnicate @pxref.
57637 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57639         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57640         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57642 2013-02-20  Petr Machata  <pmachata@redhat.com>
57644         * elf/elf.h (R_ARM_TARGET1): New macro.
57645         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57646         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57647         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57648         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57649         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57650         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57651         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57652         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57653         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57654         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57655         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57656         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57657         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57658         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57659         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57660         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57661         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57662         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57663         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57664         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57665         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57666         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57667         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57668         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57669         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57670         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57671         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57672         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57673         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57674         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57675         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57676         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57677         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57678         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57679         (R_ARM_THM_GOT_BREL12): Likewise.
57680         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57681         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57682         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57683         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57684         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57685         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57686         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57687         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57688         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57690 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57692         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57693         __attribute_used__ to __attribute__ ((unused)).
57695 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57697         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57698         powerpc mpa.c.
57699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57700         comment formatting.
57701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57703 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57705         [BZ #13550]
57706         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57707         Remove macro.
57708         (ENTER): Remove both macro definitions.
57709         (LEAVE): Likewise.
57710         (CHECK_BOUNDS_LOW): Likewise.
57711         (CHECK_BOUNDS_HIGH): Likewise.
57712         (CHECK_BOUNDS_BOTH): Likewise.
57713         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57714         (RETURN_BOUNDED_POINTER): Likewise.
57715         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57716         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57717         (POP_ERRNO_LOCATION_RETURN): Likewise.
57718         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57719         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57720         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57721         macros.
57722         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57723         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57724         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57725         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57726         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57727         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57728         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57729         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57730         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57731         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57732         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57733         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57734         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57735         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57736         removed macros.
57737         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57738         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57739         macros.
57740         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57741         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57742         * sysdeps/i386/i586/memset.S (memset): Likewise.
57743         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57744         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57745         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57746         macros.
57747         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57748         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57749         Change uses of L(2) to L(out).
57750         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57751         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57752         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57753         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57754         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57755         removed macros.
57756         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57757         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57758         macros.
57759         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57760         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57761         (RETURN): Do not use macro LEAVE.
57762         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57763         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57764         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57765         * sysdeps/i386/i686/memset.S (memset): Likewise.
57766         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57767         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57768         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57769         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57770         Likewise.
57771         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57772         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57773         L(1_2) and L(1_3) into L(1).
57774         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57775         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57776         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57777         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57778         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57779         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57780         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57781         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57782         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57783         macros.
57784         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57785         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57786         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57787         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57788         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57789         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57790         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57791         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57792         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57793         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57794         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57795         * sysdeps/i386/strspn.S (strspn): Likewise.
57796         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57797         conditional code.
57798         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57799         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57800         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57801         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57802         L(1_3) into L(1_1).
57803         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57804         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57805         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57806         macros.
57807         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57809 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57811         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57812         macro.
57814 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57816         * math/atest-exp.c (exp_mpn): Remove ROUND.
57817         * math/atest-exp2.c (exp_mpn): Likewise.
57818         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57820         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57821         * stdlib/tst-tls-atexit-lib.c: Likewise.
57822         * stdlib/tst-tls-atexit.c: Likewise.
57824 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57826         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57827         and __attribute_alloc_size__.
57829 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57831         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57832         __attribute_alloc_size__.
57833         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57834         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57836 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57838         * include/programs/xmalloc.h: New file.
57839         * catgets/gencat.c: Include it.
57840         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57841         * elf/pldd.c: Likewise.
57842         * iconv/iconv_charmap.c: Likewise.
57843         * iconv/iconvconfig.c: Likewise.
57844         * iconv/strtab.c: Likewise.
57845         * locale/programs/locale.c: Likewise.
57846         * locale/programs/localedef.h: Likewise.
57847         * locale/programs/simple-hash.c: Likewise.
57848         * nscd/nscd.h: Likewise.
57849         * nss/makedb.c: Likewise.
57850         * sysdeps/generic/ldconfig.h: Likewise.
57852 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57854         * Versions.def: Add GLIBC_2.18.
57855         * include/link.h (struct link_map): New member l_tls_dtor_count.
57856         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57857         (__call_tls_dtors): Likewise.
57858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57859         __cxa_thread_atexit_impl.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57861         Likewise.
57862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57863         Likewise.
57864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57865         Likewise.
57866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57867         Likewise.
57868         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57870         Likewise.
57871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57872         Likewise.
57873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57875         Likewise.
57876         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57877         (tests): Add test case tst-tls-atexit.
57878         (modules-names): Add shared library for tst-tls-atexit.
57879         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57880         (GLIBC_PRIVATE): Add __call_tls_dtors.
57881         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57882         for libstdc++.
57883         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57884         * stdlib/tst-tls-atexit.c: New test case.
57885         * stdlib/tst-tls-atexit-lib.c: New test case.
57887         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57889         * elf/Versions (ld): Add _dl_find_dso_for_object.
57890         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57891         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57892         (dl_open_worker): Use _dl_find_dso_for_object.
57893         * elf/dl-sym.c (do_sym): Likewise.
57894         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57896 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57898         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57899         Syntactic changes only.
57900         (_dl_runtime_profile): Do a tail-call to the resolved function.
57902 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57904         [BZ #13550]
57905         * sysdeps/x86_64/bp-asm.h: Remove file.
57906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57907         <bp-sym.h> and <bp-asm.h>.
57908         (__clone): Do not use BP_SYM.
57909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57910         <bp-sym.h> and <bp-asm.h>.
57911         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57912         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57913         "bp-asm.h".
57914         (_setjmp): Do not use BP_SYM.
57915         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57916         "bp-asm.h".
57917         (setjmp): Do not use BP_SYM.
57918         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57919         libc_hidden_def.
57920         (mempcpy): Do not use BP_SYM in weak_alias.
57921         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57922         "bp-asm.h".
57923         (strchr): Do not use BP_SYM.
57924         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57925         "bp-asm.h".
57926         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57927         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57928         (_start): Do not use BP_SYM.
57929         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57930         "bp-asm.h".
57931         (strcat): Do not use BP_SYM.
57932         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57933         "bp-asm.h".
57934         (STRCMP): Do not use BP_SYM.
57935         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57936         "bp-asm.h".
57937         (STRCPY): Do not use BP_SYM.
57938         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57939         "bp-asm.h".
57940         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57941         "bp-asm.h".
57942         (FUNCTION): Do not use BP_SYM.
57943         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57944         weak_alias.
57945         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57947 2013-02-17  Andreas Jaeger  <aj@suse.de>
57949         * time/Versions: Sort entries.
57950         * string/Versions: Likewise.
57951         * resolv/Versions: Likewise.
57952         * posix/Versions: Likewise.
57953         * iconv/Versions: Likewise.
57954         * elf/Versions: Likewise.
57955         * wcsmbs/Versions: Likewise.
57957 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57959         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57960         loop termination condition.
57962         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57963         variable to calculate EZ.
57964         (__sqr): Likewise.
57966         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57967         the lower precision input.
57969 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57971         [BZ #13550]
57972         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57973         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57974         (run-via-rtld-prefix): Do not handle %-bp tests.
57975         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57976         (all-object-suffixes): Remove .ob.
57977         (bppfx): Remove variable.
57978         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57979         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57980         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57981         [$(build-bounded) = yes] (libtype.ob): Likewise.
57982         * Makerules (elide-routines.ob): Remove variable.
57983         (do-tests-clean): Do not handle *-bp.out.
57984         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57985         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57986         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57987         (tests): Do not include $(tests-bp.out).
57988         (xtests): Do not include $(xtests-bp.out).
57989         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57990         [$(build-bounded) = yes] ($(addprefix
57991         $(objpfx),$(binaries-bounded))): Remove rule.
57992         ($(objpfx)%-bp.out): Remove rule.
57993         * config.make.in (build-bounded): Remove variable.
57994         * crypt/Makefile [$(build-bounded) = yes]
57995         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57996         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57997         append to variable.
57998         [$(build-bounded) = yes] (install-lib): Likewise.
57999         [$(build-bounded) = yes] (generated): Likewise.
58000         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58001         Remove rule.
58002         * intl/Makefile [$(build-bounded) = yes]
58003         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58004         * math/Makefile [$(build-bounded) = yes]
58005         ($(tests:%=$(objpfx)%-bp): Likewise.
58006         * misc/Makefile [$(build-bounded) = yes]
58007         ($(objpfx)tst-tsearch-bp): Likewise.
58008         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58009         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58010         Remove dependency.
58011         * string/Makefile (o-objects.ob): Remove variable.
58012         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58013         (CFLAGS-.ob): Remove variable.
58014         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58015         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58016         both definitions of variable.
58017         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58018         (ASFLAGS-.ob): Remove variable.
58020 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58022         [BZ #13550]
58023         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58024         Remove __BOUNDED_POINTERS__ from condition.
58025         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58026         * string/bits/string2.h [!__NO_STRING_INLINES &&
58027         !__BOUNDED_POINTERS__]: Likewise.
58028         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58029         Likewise.
58030         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58031         Remove conditional code.
58032         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58033         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58034         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58035         condition.
58037         [BZ #13550]
58038         * csu/libc-start.c: Do not include <bp-sym.h>.
58039         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58040         * elf/dl-open.c: Do not include <bp-sym.h>.
58041         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58042         * math/fegetenv.c: Do not include <bp-sym.h>.
58043         (fegetenv): Do not use BP_SYM in versioned symbols.
58044         * nptl/sysdeps/pthread/bits/libc-lockP.h
58045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58046         <bp-sym.h>.
58047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58048         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58050         (__pthread_mutex_destroy): Likewise.
58051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58052         (__pthread_mutex_lock): Likewise.
58053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58054         (__pthread_mutex_trylock): Likewise.
58055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58056         (__pthread_mutex_unlock): Likewise.
58057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58058         (__pthread_mutexattr_init): Likewise.
58059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58060         (__pthread_mutexattr_destroy): Likewise.
58061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58062         (__pthread_mutexattr_settype): Likewise.
58063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58064         (__pthread_rwlock_init): Likewise.
58065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58066         (__pthread_rwlock_destroy): Likewise.
58067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58068         (__pthread_rwlock_rdlock): Likewise.
58069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58070         (__pthread_rwlock_tryrdlock): Likewise.
58071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58072         (__pthread_rwlock_wrlock): Likewise.
58073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58074         (__pthread_rwlock_trywrlock): Likewise.
58075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58076         (__pthread_rwlock_unlock): Likewise.
58077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58078         (__pthread_key_create): Likewise.
58079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58080         (__pthread_setspecific): Likewise.
58081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58082         (__pthread_getspecific): Likewise.
58083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58084         Likewise.
58085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58086         (_pthread_cleanup_push_defer): Likewise.
58087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58088         (_pthread_cleanup_pop_restore): Likewise.
58089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58090         (pthread_setcancelstate): Likewise.
58091         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58092         <bp-sym.h>.
58093         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58094         (memchr): Do not use BP_SYM in weak_alias.
58095         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58096         (fegetenv): Do not use BP_SYM in versioned symbols.
58097         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58098         (fesetenv): Do not use BP_SYM in versioned symbols.
58099         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58100         (feupdateenv): Do not use BP_SYM in versioned symbols.
58101         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58102         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58103         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58104         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58105         (open64): Do not use BP_SYM in weak_alias.
58106         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58107         (fegetenv): Do not use BP_SYM in versioned symbols.
58108         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58109         (fesetenv): Do not use BP_SYM in versioned symbols.
58110         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58111         (feupdateenv): Do not use BP_SYM in versioned symbols.
58112         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58113         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58114         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58115         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58116         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58117         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58119         <bp-sym.h>.
58120         (__libc_start_main): Do not use BP_SYM.
58122 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58125         redundant return line.
58126         (norm): Likewise.
58127         (denorm): Likewise.
58128         (dbl_mp): Likewise.
58129         (sub_magnitudes): Likewise.
58130         (__add): Likewise.
58131         (__sub): Likewise.
58132         (__mul): Likewise.
58133         (__inv): Likewise.
58134         (__dvd): Likewise.
58135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58136         (norm): Likewise.
58137         (denorm): Likewise.
58138         (dbl_mp): Likewise.
58139         (sub_magnitudes): Likewise.
58140         (__add): Likewise.
58141         (__sub): Likewise.
58142         (__mul): Likewise.
58143         (__inv): Likewise.
58144         (__dvd): Likewise.
58146         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58147         instead of __mul.
58148         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58149         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58150         (cc32): Likewise.
58152         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58153         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58154         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58155         of __mul for squares.
58156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58157         function
58158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58159         Likewise.
58160         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58161         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58163 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58165         [BZ #13550]
58166         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58167         code.
58168         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58169         prototype or function definition.  Rename ubp_* variables and
58170         parameters.  Remove argv definitions conditional on
58171         [__BOUNDED_POINTERS__].
58172         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58173         * elf/dl-runtime.c (_dl_fixup): Likewise.
58174         * include/set-hooks.h (RUN_HOOK): Likewise.
58175         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58176         definition.
58177         * string/strcpy.c (strcpy): Do not use __unbounded.
58178         * sysdeps/generic/frame.h (struct layout): Likewise.
58179         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58180         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58181         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58182         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58183         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58184         (__backtrace): Likewise.
58185         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58186         use __ptrvalue.
58187         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58188         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58189         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58190         Likewise.
58191         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58192         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58194         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58195         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58196         Do not use __unbounded.
58197         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58198         Rename __unboundedrlimits parameter to rlimits in prototype.
58199         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58200         Do not use __unbounded.
58201         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58202         not use __ptrvalue.
58203         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58204         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58205         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58206         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58207         __ptrvalue or __unbounded.
58208         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58209         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58210         use __unbounded.
58211         (__new_msgctl): Do not use __ptrvalue.
58212         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58213         __unbounded.
58214         (__libc_msgrcv): Do not use __ptrvalue.
58215         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58216         startup_info): Do not use __unbounded.
58217         (__libc_start_main): Likewise.  Rename ubp_* variables and
58218         parameters.  Remove argv definitions conditional on
58219         [__BOUNDED_POINTERS__].
58220         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58221         __ptrvalue.
58222         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58223         use __unbounded.
58224         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58225         or __ptrvalue.
58226         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58227         use __unbounded.
58228         (__new_shmctl): Do not use __ptrvalue.
58229         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58230         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58231         Likewise.
58232         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58234         (__libc_sigaction): Likewise.
58235         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58236         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58237         Likewise.
58238         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58240 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58242         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58244         * string/mempcpy.c: Implement by calling memcpy.
58246 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58251         evaluation.
58253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58254         values in the mantissa.
58256         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58257         minimize writes to Z.
58258         (sub_magnitudes): Simplify code a bit.
58260 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58262         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58263         from the message.  The linker prefixes all warnings with that already.
58265 2013-02-12  Andreas Schwab  <schwab@suse.de>
58267         [BZ #15078]
58268         * posix/regexec.c (extend_buffers): Add parameter min_len.
58269         (check_matching): Pass minimum needed length.
58270         (clean_state_log_if_needed): Likewise.
58271         (get_subexp): Likewise.
58272         * posix/Makefile (tests): Add bug-regex34.
58273         (bug-regex34-ENV): Define.
58274         * posix/bug-regex34.c: New file.
58276         [BZ #11561]
58277         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58278         elements compare against the byte sequence of it, not its name.
58279         * posix/Makefile (tests): Add bug-regex35.
58280         (bug-regex35-ENV): Define.
58281         * posix/bug-regex35.c: New file.
58283 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58285         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58286         comment.
58287         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58288         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58289         (CHECK_EOL): Add undef.
58291 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58293         * bits/stdlib-bsearch.h: New file.
58294         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58295         * stdlib/stdlib.h: Likewise.
58297 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58299         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58300         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58301         declaration.
58302         * manual/search.texi (Array Search Function): Add missing const in
58303         lfind prototype.
58304         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58305         declaration to use rlim_t.
58306         (Basic Scheduling Functions): Remove erroneous const from
58307         sched_getparam prototype.  Remove erroneous * from
58308         sched_get_priority_max and sched_get_priority_min prototypes.
58309         (Resource Usage): Fix summary @comment on vtimes to refer to
58310         sys/vtimes.h rather than vtimes.h.
58311         Add missing *s in vtimes prototype.
58312         (Limits on Resources): Fix ulimit prototype to return long int.
58313         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58314         prototypes to use long int rather than double.
58315         (BSD Random): Fix initstate and setstate to use char *, not void *.
58316         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58317         prototype to make second argument 'struct aiocb64 *const[]'.
58318         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58319         (Status of AIO Operations): Remove erroneous const in aio_return and
58320         aio_return64 prototypes.
58321         (Synchronizing I/O): Fix sync prototype to return void.
58322         * manual/startup.texi (Suboptions): Remove an erroneous const in
58323         getsubopt prototype.
58324         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58325         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58326         use size_t rather than int.
58327         (Scanning All Users): Likewise for getpwent_r.
58328         (Setting Groups): Add missing const to setgroups prototype.
58329         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58330         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58331         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58332         'const void *' rather than 'const char *'.
58333         (Host Address Functions): Likewise for inet_ntop.
58334         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58335         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58336         ssize_t for return value.
58337         (Sending Data): Likewise for send, sendto, sendmsg.
58338         (Socket Option Functions): Add a missing const in setsockopt prototype.
58339         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58340         use wchar_t for the argument.
58341         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58342         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58343         take no arguments.
58344         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58345         double/float/long double for second argument.
58346         Fix return types of significand, significandf, significandl.
58347         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58348         argument in fchmod prototype.
58349         (File Owner): Use uid_t and gid_t in fchown prototype.
58350         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58351         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58352         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58353         use 'const struct dirent **' as argument types to CMP function pointer
58354         argument.
58355         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58356         (File Times): Fix summary magic @comment for struct utimbuf and utime
58357         to refer to utime.h, not time.h.
58358         * manual/string.texi (Argz Functions): Add missing const in
58359         argz_extract and argz_next prototypes.
58360         (Finding Tokens in a String): Likewise for basename.
58361         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58362         (Copying and Concatenation): Fix typo in wmemmove prototype.
58363         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58364         (Signal Stack): Remove erroneous const in sigstack prototype.
58365         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58366         prototype.
58367         (Simple Calendar Time): Likewise for stime.
58368         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58369         prototype.
58370         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58371         say sys/sysctl.h instead.
58372         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58373         and vsyslog prototypes.
58375 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58377         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58378         Remove.
58380 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58382         * misc/sys/mman.h: Fix typo in mremap comment.
58384 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58386         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58387         the '\0' terminator.
58389 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58391         [BZ #13550]
58392         * debug/segfault.c: Don't include <bp-checks.h>.
58393         * sysdeps/generic/bp-checks.h: Remove file.
58394         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58395         (__GETDENTS): Don't use CHECK_N.
58396         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58397         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58398         (__getgroups): Don't use CHECK_N.
58399         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58400         (setgroups): Don't use CHECK_N.
58401         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58402         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58403         (__libc_msgrcv): Don't use CHECK_N.
58404         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58405         (__libc_msgsnd): Don't use CHECK_N.
58406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58407         <bp-checks.h>.
58408         (__libc_pread): Don't use CHECK_N.
58409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58410         include <bp-checks.h>.
58411         (__libc_pread64): Don't use CHECK_N.
58412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58413         include <bp-checks.h>.
58414         (__libc_pwrite): Don't use CHECK_N.
58415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58416         include <bp-checks.h>.
58417         (__libc_pwrite64): Don't use CHECK_N.
58418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58419         <bp-checks.h>.
58420         (__libc_pread): Don't use CHECK_N.
58421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58422         include <bp-checks.h>.
58423         (__libc_pread64): Don't use CHECK_N.
58424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58425         include <bp-checks.h>.
58426         (__libc_pwrite): Don't use CHECK_N.
58427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58428         include <bp-checks.h>.
58429         (__libc_pwrite64): Don't use CHECK_N.
58430         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58431         (do_pread): Don't use CHECK_N.
58432         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58433         (do_pread64): Don't use CHECK_N.
58434         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58435         (do_pwrite): Don't use CHECK_N.
58436         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58437         (do_pwrite64): Don't use CHECK_N.
58438         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58439         (__libc_readv): Don't use CHECK_N.
58440         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58441         (semop): Don't use CHECK_N.
58442         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58443         <bp-checks.h>.
58444         (semtimedop): Don't use CHECK_N.
58445         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58446         (__libc_pread): Don't use CHECK_N.
58447         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58448         <bp-checks.h>.
58449         (__libc_pread64): Don't use CHECK_N.
58450         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58451         <bp-checks.h>.
58452         (__libc_pwrite): Don't use CHECK_N.
58453         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58454         <bp-checks.h>.
58455         (__libc_pwrite64): Don't use CHECK_N.
58456         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58457         <bp-checks.h>.
58458         (__libc_msgrcv): Don't use CHECK_N.
58459         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58460         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58461         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58462         (__libc_writev): Don't use CHECK_N.
58464 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58466         * string/strcpy.c: Removed unused variable.
58468         * Makeconfig (+sysdep-includes): Define with := rather than =.
58469         Use an existing include/ subdir of each sysdeps dir before it.
58471 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58473         * nscd/connection.c (register_traced_file): Comment function.
58474         [HAVE_INOTIFY] (union __inev): Define.
58475         [HAVE_INOTIFY] (inotify_check_files): New function.
58476         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58477         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58478         clear_db_cache.
58479         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58481 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58483         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58484         loaded if not already and that a failure is permanent.
58486 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58488         [BZ #15006]
58489         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58490         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58492 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58494         [BZ #13550]
58495         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58496         (CHECK_1_NULL_OK): Likewise.
58497         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58498         (__fxstat): Do not use CHECK_1.
58499         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58500         <bp-checks.h>.
58501         (___fxstat64): Do not use CHECK_1.
58502         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58503         <bp-checks.h>.
58504         (__fxstatat): Do not use CHECK_1.
58505         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58506         <bp-checks.h>.
58507         (__fxstatat64): Do not use CHECK_1.
58508         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58509         <bp-checks.h>.
58510         (__fxstat): Do not use CHECK_1.
58511         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58512         <bp-checks.h>.
58513         (__fxstatat): Do not use CHECK_1.
58514         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58515         <bp-checks.h>.
58516         (__getresgid): Do not use CHECK_1.
58517         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58518         <bp-checks.h>.
58519         (__getresuid): Do not use CHECK_1.
58520         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58521         <bp-checks.h>.
58522         (__lxstat): Do not use CHECK_1.
58523         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58524         <bp-checks.h>.
58525         (__old_msgctl): Do not use CHECK_1.
58526         (__new_msgctl): Likewise.
58527         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58528         <bp-checks.h>.
58529         (__new_setrlimit): Do not use CHECK_1.
58530         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58531         <bp-checks.h>.
58532         (__old_shmctl): Do not use CHECK_1.
58533         (__new_shmctl): Likewise.
58534         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58535         <bp-checks.h>.
58536         (__xstat): Do not use CHECK_1.
58537         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58538         (__lxstat): Do not use CHECK_1.
58539         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58540         <bp-checks.h>.
58541         (___lxstat64): Do not use CHECK_1.
58542         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58543         (__old_msgctl): Do not use CHECK_1.
58544         (__new_msgctl): Likewise.
58545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58546         <bp-checks.h>.
58547         (__gettimeofday): Do not use CHECK_1.
58548         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58549         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58550         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58551         <bp-checks.h>.
58552         (__gettimeofday): Do not use CHECK_1.
58553         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58554         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58555         (__new_shmctl): Do not use CHECK_1.
58556         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58557         <bp-checks.h>.
58558         (do_sigtimedwait): Do not use CHECK_1.
58559         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58560         <bp-checks.h>.
58561         (do_sigwaitinfo): Do not use CHECK_1.
58562         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58563         <bp-checks.h>.
58564         (msgctl): Do not use CHECK_1.
58565         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58566         <bp-checks.h>.
58567         (shmctl): Do not use CHECK_1.
58568         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58569         (ustat): Do not use CHECK_1.
58570         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58571         <bp-checks.h>.
58572         (__fxstat): Do not use CHECK_1.
58573         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58574         <bp-checks.h>.
58575         (__fxstatat): Do not use CHECK_1.
58576         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58577         <bp-checks.h>.
58578         (__lxstat): Do not use CHECK_1.
58579         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58580         <bp-checks.h>.
58581         (__xstat): Do not use CHECK_1.
58582         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58583         (__xstat): Do not use CHECK_1.
58584         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58585         (___xstat64): Do not use CHECK_1.
58587         [BZ #13550]
58588         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58589         definitions.
58590         (CHECK_BOUNDS_HIGH): Likewise.
58591         * string/strcpy.c: Do not include <bp-checks.h>.
58592         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58594 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58596         * nscd/nscd-client.h (__nscd_drop_map_ref):
58597         Add __attribute__ ((unused)).
58598         * nis/nss-nisplus.h (niserr2nss): Likewise.
58600         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58601         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58603         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58604         Remove inline keyword.
58605         * include/rounding-mode.h (round_away): Likewise.
58606         * libio/wfileops.c (adjust_wide_data): Likewise.
58607         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58608         (__m128i_strloadu_tolower): Likewise.
58609         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58610         (__m128i_strloadu_tolower): Likewise.
58611         * time/mktime.c (ydhms_diff): Likewise.
58612         * locale/elem-hash.h (elem_hash): Likewise.
58613         * locale/setlocale.c (setdata): Likewise.
58614         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58615         (re_string_wchar_at): Likewise.
58616         (bitset_not, bitset_merge, bitset_mask): Likewise.
58617         [!(__GNUC__ > 3)] (inline): Remove macro.
58618         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58619         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58620         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58621         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58622         * string/memcmp.c (memcmp_bytes): Likewise.
58623         * locale/programs/locarchive.c (compute_hashval): Likewise.
58624         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58625         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58626         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58627         * nss/getent.c (print_rpc, print_protocols): Likewise.
58628         (print_passwd, print_group, print_aliases): Likewise.
58629         * nis/nss-nisplus.h (niserr2nss): Likewise.
58630         * nscd/connections.c (restart_p): Likewise.
58631         Change return type to bool.
58633 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58635         * Makeconfig (all-Depend-files): Add existing
58636         $(sorted-subdirs:=/Depend) files.
58637         (all-subdirs): Remove nss.
58638         * sysdeps/unix/inet/Subdirs: Add it here instead.
58639         * hesiod/Depend: New file.
58641         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58642         instead of calling alloca.
58644         * io/lseek.c (__lseek): Rename to __libc_lseek.
58645         Define __lseek as an alias.
58647         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58649 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58651         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58652         else clause and remove check for non-standard endianness.
58654 2013-02-04  David S. Miller  <davem@davemloft.net>
58656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58658 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58660         [BZ #13550]
58661         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58662         (__ubp_memchr): Remove prototype.
58663         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58664         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58665         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58666         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58667         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58668         Remove alias.
58669         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58670         (__ubp_memchr): Likewise.
58671         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58672         (__ubp_memchr): Likewise.
58673         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58674         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58675         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58676         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58677         CHECK_STRING.
58678         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58679         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58680         (__getcwd): Do not use CHECK_STRING.
58681         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58682         <bp-checks.h>.
58683         (__real_chown): Do not use CHECK_STRING.
58684         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58685         <bp-checks.h>.
58686         (fchownat): Do not use CHECK_STRING.
58687         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58688         CHECK_STRING.
58689         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58690         <bp-checks.h>.
58691         (__lchown): Do not use CHECK_STRING.
58692         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58693         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58694         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58695         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58697         include <bp-checks.h>.
58698         (truncate64): Do not use CHECK_STRING.
58699         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58700         <bp-checks.h>.
58701         (__real_chown): Do not use CHECK_STRING.
58702         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58703         <bp-checks.h>.
58704         (__lchown): Do not use CHECK_STRING.
58705         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58706         <bp-checks.h>.
58707         (__chown): Do not use CHECK_STRING.
58708         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58709         <bp-checks.h>.
58710         (truncate64): Do not use CHECK_STRING.
58711         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58712         Likewise.
58713         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58714         (__xmknod): Do not use CHECK_STRING.
58715         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58716         <bp-checks.h>.
58717         (__xmknodat): Do not use CHECK_STRING.
58718         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58719         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58721 2013-02-04  Andreas Schwab  <schwab@suse.de>
58723         [BZ #14142]
58724         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58725         * include/netdb.h: Likewise for h_errno.
58726         * elf/tst-stackguard1.c: Include <tls.h>.
58728 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58730         * elf/link.h (struct link_map): Extend the l_addr comment.
58731         * include/link.h (struct link_map): Likewise.
58733 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58735         [BZ #13550]
58736         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58737         (BOUNDED_1): Remove macro.
58738         * debug/backtrace.c: Don't include <bp-checks.h>.
58739         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58740         (__backtrace): Likewise.
58741         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58742         <bp-checks.h>.
58743         (__backtrace): Don't use BOUNDED_1.
58744         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58745         <bp-checks.h>.
58746         (__backtrace): Don't use BOUNDED_1.
58747         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58748         (__backtrace): Don't use BOUNDED_1.
58749         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58750         (shmat): Don't use BOUNDED_N.
58752 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58754         [BZ #13550]
58755         * sysdeps/generic/bp-start.h: Remove file.
58756         * csu/libc-start.c: Don't include <bp-start.h>.
58757         (LIBC_START_MAIN): Set up __environ directly instead of using
58758         INIT_ARGV_and_ENVIRON.
58759         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58760         <bp-start.h>.
58762         [BZ #13550]
58763         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58764         definitions.
58765         (CHECK_FCNTL): Likewise.
58766         (CHECK_N_PAGES): Likewise.
58768         [BZ #13550]
58769         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58770         definitions.
58771         (CHECK_SIGSET_NULL_OK): Likewise.
58772         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58773         <bp-checks.h>.
58774         (sigpending): Don't use CHECK_SIGSET.
58775         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58776         <bp-checks.h>.
58777         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58778         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58779         <bp-checks.h>.
58780         (do_sigsuspend): Don't use CHECK_SIGSET.
58781         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58782         use CHECK_SIGSET.
58783         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58784         (do_sigwait): Don't use CHECK_SIGSET.
58785         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58786         use CHECK_SIGSET.
58787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58788         include <bp-checks.h>.
58789         (sigpending): Don't use CHECK_SIGSET.
58790         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58791         include <bp-checks.h>.
58792         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58793         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58794         <bp-checks.h>.
58795         (sigpending): Don't use CHECK_SIGSET.
58796         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58797         <bp-checks.h>.
58798         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58800         [BZ #13550]
58801         * sysdeps/generic/bp-semctl.h: Remove file.
58802         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58803         <bp-checks.h> and <bp-semctl.h>.
58804         (__old_semctl): Don't use CHECK_SEMCTL.
58805         (__new_semctl): Likewise.
58806         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58807         and <bp-semctl.h>.
58808         (__old_semctl): Don't use CHECK_SEMCTL.
58809         (__new_semctl): Likewise.
58810         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58811         <bp-checks.h> and <bp-semctl.h>.
58812         (__old_semctl): Don't use CHECK_SEMCTL.
58813         (__new_semctl): Likewise.
58814         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58815         <bp-checks.h> and <bp-semctl.h>.
58816         (semctl): Don't use CHECK_SEMCTL.
58818         [BZ #13550]
58819         * Makerules (elide-bp-thunks): Remove variable.
58820         (elide-routines.oS): Don't use $(elide-bp-thunks).
58821         (elide-routines.os): Likewise.
58822         (elide-routines.o): Likewise.
58823         (elide-routines.op): Likewise.
58824         (elide-routines.og): Likewise.
58825         (objects): Don't use $(bp-thunks).
58826         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58827         include.
58828         (common-generated): Do not add s-proto-bp.d.
58829         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58830         (int): Likewise.
58831         (typ): Likewise.
58832         Do not generate makefile rules for bounded-pointer thunks.
58833         * sysdeps/generic/bp-thunks.h: Remove file.
58834         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58835         * sysdeps/unix/s-proto-bp.S: Likewise.
58837         [BZ #15062]
58838         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58839         parts of result separately when argument is not close to line from
58840         -i to i and one part of argument is small.
58841         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58842         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58843         * math/libm-test.inc (cacos_test): Add more tests.
58844         (casin_test): Likewise.
58845         (casinh_test): Likewise.
58846         * sysdeps/i386/fpu/libm-test-ulps: Update.
58847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58849 2013-01-31  David S. Miller  <davem@davemloft.net>
58851         * po/de.po: Update from translation team.
58853 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58855         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58857 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58859         * configure.in (_AC_PROG_CC_C89): New definition.
58860         * configure: Regenerate.
58862         * configure.in (AC_PROG_CPP): New definition.
58863         * configure: Regenerate.
58865 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58867         * debug/tst-backtrace.h: New file.
58868         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58869         (ret): Remove variable.
58870         (x): Likewise.
58871         (FAIL): Remove macro.
58872         (NO_INLINE): Likewise.
58873         (fn1): Use match function instead of strstr.
58874         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58875         (ret): Remove variable.
58876         (x): Likewise.
58877         (FAIL): Remove macro.
58878         (NO_INLINE): Likewise.
58879         (fn): Use match function instead of strstr.
58880         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58881         (ret): Remove variable.
58882         (x): Likewise.
58883         (FAIL): Remove macro.
58884         (NO_INLINE): Likewise.
58885         (handle_signal): Use match function instead of strstr.
58886         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58887         (ret): Remove variable.
58888         (x): Likewise.
58889         (FAIL): Remove macro.
58890         (NO_INLINE): Likewise.
58891         (handle_signal): Use match function instead of strstr.
58893 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58895         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58897 2013-01-23  David S. Miller  <davem@davemloft.net>
58899         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58900         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58901         argument of CAS if possible.
58902         * sysdeps/sparc/sparc64/bits/atomic.h
58903         (__arch_compare_and_exchange_val_32_acq): Likewise.
58904         (__arch_compare_and_exchange_val_64_acq): Likewise.
58906 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58908         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58909         * sysdeps/posix/ulimit.c: ... this.
58910         Include <limits.h>.
58911         * sysdeps/unix/bsd/ulimit.c: Remove file.
58913 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58915         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58916         (LDFLAGS-tst-array5): Likewise.
58918 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58920         [BZ #15036]
58921         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58922         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58923         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58924         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58926 2013-01-21  David S. Miller  <davem@davemloft.net>
58928         * sysdeps/sparc/backtrace.c: New file.
58929         * sysdeps/sparc/sparc32/backtrace.h: New file.
58930         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58931         * sysdeps/sparc/sparc64/backtrace.h: New file.
58932         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58933         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58934         -funwind-tables.
58936 2013-01-21  Andreas Schwab  <schwab@suse.de>
58938         [BZ #15020]
58939         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58940         closed its stdout.
58942 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58945         "mpa2.h".
58946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58948 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58949             Mark Mitchell  <mark@codesourcery.com>
58950             Tom de Vries  <tom@codesourcery.com>
58951             Paul Pluzhnikov  <ppluzhnikov@google.com>
58953         * debug/tst-backtrace2.c: New file.
58954         * debug/tst-backtrace3.c: Likewise.
58955         * debug/tst-backtrace4.c: Likewise.
58956         * debug/tst-backtrace5.c: Likewise.
58957         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58958         (CFLAGS-tst-backtrace3.c): Likewise.
58959         (CFLAGS-tst-backtrace4.c): Likewise.
58960         (CFLAGS-tst-backtrace5.c): Likewise.
58961         (LDFLAGS-tst-backtrace2): Likewise.
58962         (LDFLAGS-tst-backtrace3): Likewise.
58963         (LDFLAGS-tst-backtrace4): Likewise.
58964         (LDFLAGS-tst-backtrace5): Likewise.
58965         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58966         tst-backtrace4 and tst-backtrace5.
58968 2013-01-18  Anton Blanchard  <anton@samba.org>
58969             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58972         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58973         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58974         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58976         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58977         "+r" and remove output regs list as redundant.  Add explicit inline
58978         asm to specify register of return val to work around compiler codegen
58979         bug.  Remove (int) cast on return value.  Add return type parameter to
58980         use in macro so that this macro does not truncate return value for
58981         64-bit values.
58982         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58983         pass to INTERNAL_VSYSCALL_NCS.
58984         (INLINE_VSYSCALL): Add 'long int' as return type to
58985         INTERNAL_VSYSCALL_NCS macro invocation.
58986         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58987         INTERNAL_VSYSCALL_NCS macro invocation.
58988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58990 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58992         [BZ #14496]
58993         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58994         Fix application of SIMD FP exception mask.
58996         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58997         mp_no from a power of two.
58998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58999         __mpexp_twomm1.  Use __pow_mp.
59001         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59002         multiplication.
59004 2013-01-17  David S. Miller  <davem@davemloft.net>
59006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59008 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59010         [BZ #15023]
59011         * include/complex.h: Condition contents on [!_COMPLEX_H].
59012         (__kernel_casinhf): New prototype.
59013         (__kernel_casinh): Likewise.
59014         (__kernel_casinhl): Likewise.
59015         * math/Makefile (libm_calls): Add k_casinh.
59016         * math/k_casinh.c: New file.
59017         * math/k_casinhf.c: Likewise.
59018         * math/k_casinhl.c: Likewise.
59019         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59020         finite nonzero arguments.
59021         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59022         finite nonzero arguments.
59023         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59024         finite nonzero arguments.
59025         * math/s_casinh.c: Do not include <float.h>.
59026         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59027         * math/s_casinhf.c: Do not include <float.h>.
59028         (__casinhf): Move code for finite nonzero arguments to
59029         k_casinhf.c.
59030         * math/s_casinhl.c: Do not include <float.h>.
59031         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59032         redefine.
59033         (__casinhl): Move code for finite nonzero arguments to
59034         k_casinhl.c.
59035         * math/libm-test.inc (cacos_test): Add more tests.
59036         * sysdeps/i386/fpu/libm-test-ulps: Update.
59037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59039 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59041         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59042         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59043         [!HAVE_MREMAP]: Remove [defined linux] case.
59044         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59046 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59048         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59050 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59052         * elf/elf.h (R_386_SIZE32): New relocation.
59053         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59054         R_386_SIZE32.
59055         (elf_machine_rela): Likewise.
59056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59057         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59059 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59061         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59062         (FP_FAST_FMA): Do not define.
59063         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59064         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59065         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59066         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59067         !_SOFT_FLOAT]: Likewise.
59068         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59069         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59070         value.
59071         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59072         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59073         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59074         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59075         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59076         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59077         file.
59079 2013-01-16  Andreas Schwab  <schwab@suse.de>
59081         [BZ #14327]
59082         * include/stdlib.h (__mktemp): Add declaration.
59083         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59084         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59086 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59088         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59089         definitions.
59090         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59091         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59092         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59093         definitions here.
59094         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59095         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59096         definitions.
59097         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59098         and ONE.
59099         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59100         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59101         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59102         definitions.
59103         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59104         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59105         definitions.
59106         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59108         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59110 2013-01-15  David S. Miller  <davem@davemloft.net>
59112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59113         trunc{,f} to libm-sysdep_routes.
59114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59116         file.
59117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59119         file.
59120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59121         file.
59122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59124         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59125         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59126         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59127         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59128         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59129         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59132         nearbyint{,f} to libm-sysdep_routes.
59133         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59135         New file.
59136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59137         file.
59138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59139         New file.
59140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59141         file.
59142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59144         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59145         file.
59146         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59147         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59148         file.
59149         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59150         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59151         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59153         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59154         libc_feholdexcept and libc_fesetenv.
59156 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59158         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59160 2013-01-14  David S. Miller  <davem@davemloft.net>
59162         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59163         (SPARC_ASM_VIS2_IFUNC): Likewise.
59164         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59166         use of 'siam' instruction.
59167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59168         Likewise.
59169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59170         Likewise.
59171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59172         Likewise.
59173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59178         file.
59179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59180         file.
59181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59182         file.
59183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59184         file.
59185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59190         new VIS2 routines.
59191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59194         Likewise.
59195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59196         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59200         routines to libm-sysdep_routines.
59201         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59204         fdim/fdimf to libm-sysdep_routines.
59205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59206         file.
59207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59209         file.
59210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59213         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59214         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59215         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59216         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59218 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59220         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59221         to optimize copies.
59223         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59228         local variable MPTWO.
59229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59230         Likewise.
59232 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59234         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59235         GLOB_NOESCAPE.
59237 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59239         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59241 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59243         * manual/pattern.texi (glob_t): Document gl_flags.
59244         (glob64_t): Likewise.
59246 2013-01-11  David S. Miller  <davem@davemloft.net>
59248         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59249         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59250         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59251         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59252         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59253         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59254         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59255         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59256         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59257         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59258         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59259         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59260         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59262         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59263         sparc V9 rather than using V8 code.
59264         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59265         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59267         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59268         Move to...
59269         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59270         Here.
59272 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59274         [BZ #14941]
59275         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59276         not in the main loop.
59277         * configure: Regenerated.
59279 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59281         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59282         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59283         to just #else.
59284         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59285         [!__GLIBC_HAVE_LONG_LONG] case.
59286         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59287         condition to just #else.
59288         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59289         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59290         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59291         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59292         unconditional.
59293         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59294         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59295         #elif condition to just #else.
59296         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59297         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59298         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59299         #elif condition to just #else.
59301 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59303         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59304         (EF_MIPS_ARCH_64): Fix value.
59305         (EF_MIPS_ARCH_32R2): New.
59306         (EF_MIPS_ARCH_64R2): New.
59308 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59310         * Makeconfig (+link-pie-before-libc): New.
59311         (+link-pie-after-libc): Likewise.
59312         (+link-pie-tests): Likewise.
59313         (+link-pie): Rewritten.
59314         (link-before-libc): Remove $(config-LDFLAGS).
59315         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59316         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59317         (config-LDFLAGS): Renamed to ...
59318         (rtld-LDFLAGS): This.
59319         (rtld-tests-LDFLAGS): New macro.
59320         (link-libc-rpath-link): Likewise.
59321         (link-libc-tests-rpath-link): Likewise.
59322         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59323         (link-libc): Prepand $(link-libc-rpath-link).
59324         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59325         (test-program-prefix): New macro.
59326         (test-via-rtld-prefix): Likewise.
59327         (test-program-cmd): Likewise.
59328         (host-test-program-cmd): Likewise.
59329         * Makefile ($(common-objpfx)testrun.sh): Replace
59330         $(run-program-prefix) with $(test-program-prefix).
59331         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59332         $(rtld-LDFLAGS).
59333         ($(common-objpfx)shlib.lds): Likewise.
59334         (build-module-helper): Likewise.
59335         ($(common-objpfx)format.lds): Likewise.
59336         * Rules (binaries-pie-tests): New.
59337         (binaries-pie-notests): Likewise.
59338         (binaries-pie): Rewritten.
59339         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59340         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59341         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59342         (make-test-out): Replace $(host-built-program-cmd) with
59343         $(host-test-program-cmd).
59344         * config.make.in (build-hardcoded-path-in-tests): New variable.
59345         * configure.in (--enable-hardcoded-path-in-tests): New configure
59346         option.
59347         (hardcoded_path_in_tests): New AC_SUBST.
59348         * configure: Regenerated.
59349         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59350         $(built-program-cmd) with $(test-program-cmd).
59351         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59352         (test_program_cmd): This.
59353         * elf/Makefile ($(objpfx)order.out): Run test with
59354         $(test-program-prefix).
59355         ($(objpfx)order2.out): Likewise.
59356         ($(objpfx)tst-initorder.out): Likewise.
59357         ($(objpfx)tst-initorder2.out): Likewise.
59358         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59359         $(test-program-cmd).
59360         ($(objpfx)tst-array1-static.out): Likewise.
59361         ($(objpfx)tst-array2.out): Likewise.
59362         ($(objpfx)tst-array3.out): Likewise.
59363         ($(objpfx)tst-array4.out): Likewise.
59364         ($(objpfx)tst-array5.out): Likewise.
59365         ($(objpfx)tst-array5-static.out): Likewise.
59366         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59367         $(test-program-cmd).
59368         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59369         $(run-program-prefix) with $(test-program-prefix).
59370         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59371         (test_program_prefix): This.
59372         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59373         $(run-program-prefix) with $(test-program-prefix).
59374         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59375         (test_program_prefix): This.
59376         * iconvdata/tst-tables.sh: Likewise.
59377         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59378         $(run-program-prefix) with $(test-program-prefix).
59379         ($(objpfx)tst-translit.out): Likewise.
59380         ($(objpfx)tst-gettext2.out): Likewise.
59381         ($(objpfx)tst-gettext4.out): Likewise.
59382         ($(objpfx)tst-gettext6.out): Likewise.
59383         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59384         (test_program_prefix): This.
59385         * intl/tst-gettext2.sh: Likewise.
59386         * intl/tst-gettext4.sh  Likewise.
59387         * intl/tst-gettext6.sh: Likewise.
59388         * intl/tst-translit.sh: Likewise.
59389         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59390         with $(test-program-cmd).
59391         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59392         $(run-program-prefix) with $(test-program-prefix).
59393         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59394         (test_program_prefix): This.
59395         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59396         $(run-program-prefix) with $(test-program-prefix).
59397         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59398         (test_program_prefix): This.
59399         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59400         * posix/Makefile ($(objpfx)globtest.out): Replace
59401         $(run-via-rtld-prefix) and $(test-wrapper) with
59402         $(test-program-prefix) and $(test-via-rtld-prefix).
59403         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59404         $(test-program-prefix).
59405         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59406         $(host-test-program-cmd).
59407         (tst-spawn-ARGS): Likewise.
59408         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59409         $(test-program-prefix).
59410         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59411         (test_via_rtld_prefix): This.
59412         (test_wrapper): Renamed to ...
59413         (test_program_prefix): This.
59414         (run_program_prefix): Replaced by test_program_prefix.
59415         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59416         (test_program_prefix): This.
59417         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59418         with $(host-test-program-cmd).
59419         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59420         $(run-program-prefix) with $(test-program-prefix).
59421         ($(objpfx)tst-printf.out): Likewise.
59422         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59423         $(test-program-cmd).
59424         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59425         (test_program_prefix): This.
59426         * stdio-common/tst-unbputc.sh: Likewise.
59427         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59428         $(run-program-prefix) with $(test-program-prefix).
59429         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59430         (test_program_prefix): This.
59431         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59432         $(built-program-cmd) with $(test-program-cmd).
59434 2013-01-11  Andreas Jaeger  <aj@suse.de>
59436         [BZ #15003]
59437         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59438         value. Sync with Linux 3.7.
59440 2013-01-10  David S. Miller  <davem@davemloft.net>
59442         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59443         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59444         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59446 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59448         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59449         never set.
59450         * configure: Regenerated.
59452 2013-01-10  David S. Miller  <davem@davemloft.net>
59454         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59455         sparc V9 rather than using V8 code.
59456         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59457         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59459 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59461         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59462         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59463         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59464         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59465         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59466         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59467         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59468         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59469         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59470         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59471         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59472         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59473         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59474         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59475         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59476         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59477         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59478         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59479         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59480         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59481         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59482         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59483         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59484         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59485         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59486         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59487         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59489 2013-01-10  David S. Miller  <davem@davemloft.net>
59491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59493 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59495         * posix/Makefile (tests-static): New variable.
59496         (tests): Add $(tests-static).
59497         (tst-exec-static-ARGS): New variable.
59498         (tst-spawn-static-ARGS): Likewise.
59499         * posix/tst-exec-static.c: New file.
59500         * posix/tst-spawn-static.c: Likewise.
59501         * posix/tst-exec.c: Support run directly.
59502         * posix/tst-spawn.c: Likewise.
59504 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59506         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59507         long.
59508         * math/bits/mathcalls.h (llrint): Likewise.
59509         (llround): Likewise.
59510         * stdlib/stdlib.h (struct drand48_data): Likewise.
59511         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59512         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59513         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59514         Likewise.
59515         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59516         Likewise.
59517         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59518         (elf_greg_t): Likewise.
59519         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59520         (__jmp_buf): Likewise.
59521         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59522         definitions.
59523         (llrint): Likewise, for all definitions.
59524         (llrintl): Likewise.
59526         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59527         Remove [__GNUC__] condition.
59528         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59529         condition to just [__USE_ISOC99].
59530         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59532 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59534         [BZ #14200]
59535         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59536         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59537         defined.
59538         (_POSIX_V6_ILP32_OFF32): Likewise.
59539         (_XBS5_ILP32_OFF32): Likewise.
59540         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59541         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59543 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59545         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59548         doubles __mpexp_twomm1.  Adjust usage.
59549         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59550         Remove.
59552 2013-01-10  Andreas Schwab  <schwab@suse.de>
59554         [BZ #14964]
59555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59556         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59558 2013-01-09  David S. Miller  <davem@davemloft.net>
59560         [BZ #15003]
59561         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59562         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59563         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59564         (TCP_FASTOPEN): Define.
59565         (tcp_repair_opt): New structure.
59566         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59567         enum values.
59568         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59569         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59570         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59571         (tcp_cookie_transactions): New structure.
59573 2013-01-09  Anton Blanchard  <anton@samba.org>
59575         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59576         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59577         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59578         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59580 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59582         * include/features.h (__USE_ANSI): Remove.
59584 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59586         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59588         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59590 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59592         * sysdeps/s390/fpu/libm-test-ulps: Update.
59594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59596         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59597         (__acr): Likewise.
59598         (__cpy): Likewise.
59599         (norm): Likewise.
59600         (denorm): Likewise.
59601         (__mp_dbl): Likewise.
59602         (__dbl_mp): Likewise.
59603         (add_magnitudes): Likewise.
59604         (sub_magnitudes): Likewise.
59605         (__add): Likewise.
59606         (__sub): Likewise.
59607         (__mul): Likewise.
59608         (__inv): Likewise.
59609         (__dvd): Likewise.
59610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59611         (__acr): Likewise.
59612         (__cpy): Likewise.
59613         (norm): Likewise.
59614         (denorm): Likewise.
59615         (__mp_dbl): Likewise.
59616         (__dbl_mp): Likewise.
59617         (add_magnitudes): Likewise.
59618         (sub_magnitudes): Likewise.
59619         (__add): Likewise.
59620         (__sub): Likewise.
59621         (__mul): Likewise.
59622         (__inv): Likewise.
59623         (__dvd): Likewise.
59624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59625         (__acr): Likewise.
59626         (__cpy): Likewise.
59627         (norm): Likewise.
59628         (denorm): Likewise.
59629         (__mp_dbl): Likewise.
59630         (__dbl_mp): Likewise.
59631         (add_magnitudes): Likewise.
59632         (sub_magnitudes): Likewise.
59633         (__add): Likewise.
59634         (__sub): Likewise.
59635         (__mul): Likewise.
59636         (__inv): Likewise.
59637         (__dvd): Likewise.
59639 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59641         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59642         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59643         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59644         2 && __USE_EXTERN_INLINES]: Likewise.
59646 2013-01-08  Andreas Jaeger  <aj@suse.de>
59648         [BZ# 14985]
59649         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59650         Remove.
59651         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59652         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59654 2013-01-07  Anton Blanchard  <anton@samba.org>
59656         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59657         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59658         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59659         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59660         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59661         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59662         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59663         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59665         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59666         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59667         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59668         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59670         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59671         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59672         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59673         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59674         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59675         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59676         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59677         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59678         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59679         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59680         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59681         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59682         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59683         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59685         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59686         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59688         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59689         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59690         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59691         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59692         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59693         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59694         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59696         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59697         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59698         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59700 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59702         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59703         (__MALLOC_PMT): Likewise.
59704         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59705         [__GNUC__], only on [_LIBC].
59706         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59707         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59708         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59709         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59710         forward declaration.
59711         (realloc_hook_ini): Likewise.
59712         (memalign_hook_ini): Likewise.
59713         (__libc_memalign): Do not use __MALLOC_PMT in variable
59714         declaration.
59715         (__libc_valloc): Likewise.
59716         (__libc_pvalloc): Likewise.
59717         (__libc_calloc): Likewise.
59718         (__posix_memalign): Likewise.
59720         [BZ #14996]
59721         * math/s_casinh.c: Include <float.h>.
59722         (__casinh): Do not do computation with squaring and square root
59723         for large arguments.
59724         * math/s_casinhf.c: Include <float.h>.
59725         (__casinhf): Do not do computation with squaring and square root
59726         for large arguments.
59727         * math/s_casinhl.c: Include <float.h>.
59728         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59729         (__casinhl): Do not do computation with squaring and square root
59730         for large arguments.
59731         * math/libm-test.inc (casin_test): Add more tests.
59732         (casinh_test): Likewise.
59733         * sysdeps/i386/fpu/libm-test-ulps: Update.
59734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59736 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59738         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59739         (__x86_64_raw_data_cache_size): Likewise.
59740         (__x86_64_data_cache_size_half): Likewise.
59741         (__x86_64_raw_data_cache_size_half): Likewise.
59742         (__x86_64_shared_cache_size): Likewise.
59743         (__x86_64_raw_shared_cache_size): Likewise.
59744         (__x86_64_shared_cache_size_half): Likewise.
59745         (__x86_64_raw_shared_cache_size_half): Likewise.
59746         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59747         to ...
59748         (__x86_data_cache_size): This.
59749         (__x86_64_raw_data_cache_size): Renamed to ...
59750         (__x86_raw_data_cache_size): This.
59751         (__x86_64_data_cache_size_half): Renamed to ...
59752         (__x86_data_cache_size_half): This.
59753         (__x86_64_raw_data_cache_size_half): Renamed to ...
59754         (__x86_raw_data_cache_size_half): This.
59755         (__x86_64_shared_cache_size): Renamed to ...
59756         (__x86_shared_cache_size): This.
59757         (__x86_64_raw_shared_cache_size): Renamed to ...
59758         (__x86_raw_shared_cache_size): This.
59759         (__x86_64_shared_cache_size_half): Renamed to ...
59760         (__x86_shared_cache_size_half): This.
59761         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59762         (__x86_raw_shared_cache_size_half): This.
59763         * sysdeps/x86_64/memcpy.S: Updated.
59764         * sysdeps/x86_64/memset.S: Likewise.
59765         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59766         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59767         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59769 2013-01-04  David S. Miller  <davem@davemloft.net>
59771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59773 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59775         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59776         1 to avoid redefinition warning.
59777         (__USE_GNU): Don't define.
59778         (init_signaling_nan): Protoize.
59780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59782 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59784         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59786         (__cpymn): Likewise.
59787         (norm): Remove commented code.
59788         (denorm): Likewise.
59789         (__mp_dbl): Likewise.
59790         (__inv): Likewise.
59791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59792         (__cpymn): Likewise.
59793         (norm): Remove commented code.
59794         (denorm): Likewise.
59795         (__mp_dbl): Likewise.
59796         (__inv): Likewise.
59798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59799         mp_no value for 1.0 and 2.0.
59800         (norm): Use RADIXI instead of radixi.d.
59801         (denorm): Likewise.
59802         (__mul): Use 0.0 instead of zero.d.
59803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59804         mp_no value for 1.0 and 2.0.
59805         (norm): Use RADIXI instead of radixi.d.
59806         (denorm): Likewise.
59807         (__mul): Use 0.0 instead of zero.d.
59809 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59811         [BZ #14994]
59812         * math/s_casinh.c (__casinh): Reduce finite argument to first
59813         quadrant then set signs of results at the end.
59814         * math/s_casinhf.c (__casinhf): Likewise.
59815         * math/s_casinhl.c (__casinhl): Likewise.
59816         * math/libm-test.inc (casin_test): Add more tests.
59817         (casinh_test): Likewise.
59818         * sysdeps/i386/fpu/libm-test-ulps: Update.
59819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59821 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59823         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59825         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59827         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59828         declarations.
59829         (denorm): Likewise.
59830         (__mp_dbl): Likewise.
59831         (__inv): Likewise.
59833         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59834         and adjust the header comment.
59836         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59837         variable name from declaration.
59839 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59842         Initialize COMMON_CPUID_INDEX_7 element.
59843         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59844         (CPUID_RTM): Likewise.
59845         (HAS_RTM): Likewise.
59846         (COMMON_CPUID_INDEX_7): New enum.
59848 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59850         [BZ #14981]
59851         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59852         size is zero, record memory as freed.
59854 2013-01-03  Andreas Jaeger  <aj@suse.de>
59856         * po/ia.po: Add new Interlingua translation.
59858 2012-01-03  Allan McRae  <allan@archlinux.org>
59860         * locale/programs/localedef.c: Fix description of '--posix' flag.
59862 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59864         * NEWS: Update dates in second copyright notice.
59865         * README: Update copyright dates in example.
59866         * manual/libc.texinfo: Update copyright dates.
59867         * scripts/test-installation.pl: Update copyright date in --version
59868         output.
59870         * hurd/ctty-input.c: Fix copyright notice formatting.
59871         * hurd/ctty-output.c: Likewise.
59872         * hurd/dtable.c: Likewise.
59873         * hurd/hurd-raise.c: Likewise.
59874         * hurd/hurdprio.c: Likewise.
59875         * hurd/msgportdemux.c: Likewise.
59876         * misc/sys/file.h: Likewise.
59877         * misc/sys/ioctl.h: Likewise.
59878         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59879         * sysdeps/mach/hurd/chdir.c: Likewise.
59880         * sysdeps/mach/hurd/fchdir.c: Likewise.
59881         * sysdeps/mach/hurd/rename.c: Likewise.
59882         * sysdeps/mach/hurd/rmdir.c: Likewise.
59883         * sysdeps/mach/hurd/seekdir.c: Likewise.
59884         * sysdeps/mach/hurd/setsid.c: Likewise.
59885         * sysdeps/posix/wait3.c: Likewise.
59887         * All files with FSF copyright notices: Update copyright dates
59888         using scripts/update-copyrights.
59889         * intl/plural.c: Regenerated.
59890         * locale/programs/charmap-kw.h: Likewise.
59891         * locale/programs/locfile-kw.h: Likewise.
59893 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59895         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59896         four values.
59898         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59899         calculation loop and add branch prediction.
59901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59902         check access beyond bounds of m1np.
59904         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59905         MPTWO.
59906         (__inv): Remove local variable MPTWO to use the global
59907         constant.
59908         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59909         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59910         variable MPTWO.
59911         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59912         MP3HALFS static const.
59914 2013-01-01  David S. Miller  <davem@davemloft.net>
59916         * po/ca.po: Update from translation team.
59918 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59920         * scripts/update-copyrights: New file.
59921         * Makeconfig: Reformat copyright notice.
59922         * ctype/ctype.h: Likewise.
59923         * debug/swprintf_chk.c: Likewise.
59924         * elf/dl-cache.c: Likewise.
59925         * elf/dl-debug.c: Likewise.
59926         * elf/dl-object.c: Likewise.
59927         * grp/initgroups.c: Likewise.
59928         * hurd/Makefile: Likewise.
59929         * hurd/hurd/signal.h: Likewise.
59930         * hurd/hurdfault.c: Likewise.
59931         * hurd/hurdioctl.c: Likewise.
59932         * hurd/hurdlookup.c: Likewise.
59933         * hurd/intr-msg.c: Likewise.
59934         * iconv/gconv_open.c: Likewise.
59935         * libio/swprintf.c: Likewise.
59936         * locale/lc-ctype.c: Likewise.
59937         * locale/nl_langinfo.c: Likewise.
59938         * mach/Machrules: Likewise.
59939         * mach/Makefile: Likewise.
59940         * malloc/obstack.h: Likewise.
59941         * manual/Makefile: Likewise.
59942         * manual/tsort.awk: Likewise.
59943         * misc/bits/stab.def: Likewise.
59944         * nis/nis_print_group_entry.c: Likewise.
59945         * nis/nis_table.c: Likewise.
59946         * nis/nss_compat/compat-pwd.c: Likewise.
59947         * nis/nss_compat/compat-spwd.c: Likewise.
59948         * po/Makefile: Likewise.
59949         * posix/fnmatch.c: Likewise.
59950         * posix/regex.h: Likewise.
59951         * resolv/Makefile: Likewise.
59952         * resolv/nss_dns/dns-network.c: Likewise.
59953         * resolv/res_hconf.c: Likewise.
59954         * scripts/gen-sorted.awk: Likewise.
59955         * soft-fp/soft-fp.h: Likewise.
59956         * stdio-common/printf.h: Likewise.
59957         * stdlib/monetary.h: Likewise.
59958         * stdlib/random.c: Likewise.
59959         * stdlib/random_r.c: Likewise.
59960         * sysdeps/generic/Makefile: Likewise.
59961         * sysdeps/gnu/Makefile: Likewise.
59962         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59963         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59964         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59966         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59969         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59970         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59971         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59972         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59973         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59974         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59975         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59976         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59977         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59978         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59980         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59981         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59982         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59983         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59984         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59985         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59986         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59987         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59988         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59989         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59990         * sysdeps/mach/hurd/errnos.awk: Likewise.
59991         * sysdeps/mach/hurd/fork.c: Likewise.
59992         * sysdeps/mach/hurd/getcwd.c: Likewise.
59993         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59994         * sysdeps/mach/hurd/mmap.c: Likewise.
59995         * sysdeps/mach/hurd/utimes.c: Likewise.
59996         * sysdeps/mach/hurd/xmknod.c: Likewise.
59997         * sysdeps/posix/profil.c: Likewise.
59998         * sysdeps/posix/readdir_r.c: Likewise.
59999         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60000         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60001         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60002         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60004         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60005         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60006         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60008         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60009         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60010         * sysdeps/pthread/lio_listio.c: Likewise.
60011         * sysdeps/sparc/dl-procinfo.h: Likewise.
60012         * sysdeps/unix/i386/sysdep.S: Likewise.
60013         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60014         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60015         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60016         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60018         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60019         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60020         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60021         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60022         * sysdeps/wordsize-32/divdi3.c: Likewise.
60023         * time/sys/time.h: Likewise.
60024         * wcsmbs/Makefile: Likewise.
60026 2013-01-01  David S. Miller  <davem@davemloft.net>
60028         * po/fr.po: Update from translation team.
60030         * catgets/gencat.c: Update copyright year.
60031         * csu/version.c: Likewise.
60032         * debug/catchsegv.sh: Likewise.
60033         * debug/pcprofiledump.c: Likewise.
60034         * debug/xtrace.sh: Likewise.
60035         * elf/ldconfig.c: Likewise.
60036         * elf/ldd.bash.in: Likewise.
60037         * elf/pldd.c: Likewise.
60038         * elf/sotruss.ksh: Likewise.
60039         * elf/sprof.c: Likewise.
60040         * iconv/iconv_prog.c: Likewise.
60041         * iconv/iconvconfig.c: Likewise.
60042         * locale/programs/locale.c: Likewise.
60043         * locale/programs/localedef.c: Likewise.
60044         * login/programs/pt_chown.c: Likewise.
60045         * malloc/memusage.sh: Likewise.
60046         * malloc/memusagestat.c: Likewise.
60047         * malloc/mtrace.pl: Likewise.
60048         * nscd/nscd.c: Likewise.
60049         * nss/getent.c: Likewise.
60050         * nss/makedb.c: Likewise.
60051         * posix/getconf.c: Likewise.
60053 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60055         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60056         numbers.
60058 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60060         * math/bits/mathcalls.h (modf): Use __nonnull.
60062 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60064         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60065         (split): Use macro CN instead of the bare value.
60066         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60067         could be used.
60068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60069         instead of the bare value.
60070         (power1): Likewise.
60072 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60075         __ATAN_TWOM.
60076         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60078         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60079         their values.
60080         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60081         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60082         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60083         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60085 2012-12-28  Andreas Jaeger  <aj@suse.de>
60087         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60088         values are from Linux 3.7.
60090         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60091         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60093 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60095         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60096         TRUE case.
60098         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60099         (norm): Likewise.
60100         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60101         variables with preprocessor constants.
60102         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60103         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60104         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60106 2012-12-27  Bruno Haible  <bruno@clisp.org>
60108         [BZ #14317]
60109         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60110         only if needed.
60112 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60115         and use variable directly.
60116         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60118         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60119         MPONE.
60120         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60122         variable MPONE.
60123         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60125         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60126         include directive.  Remove local variable MPONE.
60127         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60128         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60129         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60131 2012-12-25  David S. Miller  <davem@davemloft.net>
60133         * version.h (RELEASE): Set to "development".
60134         (VERSION): Set to "2.17.90".
60135         * NEWS: Add 2.18 section.
60137 2012-12-21  David S. Miller  <davem@davemloft.net>
60139         * po/hr.po: Update from translation team.
60141 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60143         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60145 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60147         * NEWS:  Mention new memcpy for MIPS.
60149 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60151         * manual/contrib.texi (Contributors): Spelling correction.
60153 2012-12-15  David S. Miller  <davem@davemloft.net>
60155         * po/ru.po: Update from translation team.
60157 2012-12-13  David S. Miller  <davem@davemloft.net>
60159         * NEWS: Mention IFUNC testsuite enhancements.
60161         * po/pl.po: Update from translation team.
60162         * po/bg.po: Likewise.
60164         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60165         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60167 2012-12-11  David S. Miller  <davem@davemloft.net>
60169         * po/sv.po: Update from translation team.
60171         * po/vi.po: Update from translation team.
60173         * po/cs.po: Update from translation team.
60175         * po/de.po: Update from translation team.
60176         * po/eo.po: Likewise.
60177         * po/nl.po: Likewise.
60179 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60181         [BZ #14246]
60182         * manual/argp.texi (Argp Helper Functions): Move node to follow
60183         Argp Parsing State.
60185         [BZ #14872]
60186         * manual/conf.texi (Limits on File System Capacity): Mention if
60187         terminating null is included in the max size.
60189 2012-12-10  Andreas Jaeger  <aj@suse.de>
60191         * po/cs.po: Update from translation team.
60193 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60195         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60196         void pointer and cast to uintptr_t.
60197         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60198         path.
60199         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60200         * sysdeps/s390/s390-64/memset.S: Likewise.
60202 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60204         [BZ #14833]
60205         * menual/message.texi (Message Translation): Fix typos.
60206         (Helper programs for gettext): Likewise.
60208 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60210         [BZ #14898]
60211         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60212         Change to -1.
60214 2012-12-07  David S. Miller  <davem@davemloft.net>
60216         * po/libc.pot: Update.
60218 2012-12-07  Richard Henderson  <rth@redhat.com>
60220         [BZ #10114]
60221         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60222         normal/normal case to before the switch.
60223         (_FP_DIV): Likewise.
60225 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60226             Mike Frysinger  <vapier@gentoo.org>
60228         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60229         check for __NR_fadvise64_64.
60231 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60233         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60234         0, not just to plain "0" as a statement.
60235         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60236         with cw.
60238 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60240         * NEWS: Use sourceware.org in Bugzilla URL.
60242 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60245         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60247         * stdio-common/tst-put-error.c (do_test): Add newline to the
60248         padded test to ensure flush.
60250 2012-12-05  Jeff Law  <law@redhat.com>
60252         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60254 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60256         * README: Don't refer to ports add-on as distributed separately.
60257         Mention AArch64 in list of systems supported in the ports add-on.
60259         * LICENSES: Add more non-FSF copyright and license notices.
60261         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60262         ((unused)).
60264         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60266         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60267         10000 as width of padded output.
60269 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60271         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60273         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60274         variable LX with __attribute__ ((unused)).
60275         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60276         Likewise.
60277         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60280         with __attribute__ ((unused)).
60282 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60284         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60286 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60288         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60289         (CFLAGS-nldbl-acos.c): New variable.
60290         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60291         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60292         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60293         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60294         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60295         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60296         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60297         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60298         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60299         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60300         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60301         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60302         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60303         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60304         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60305         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60306         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60307         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60308         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60309         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60310         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60311         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60312         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60313         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60314         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60315         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60316         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60317         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60318         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60319         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60320         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60321         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60322         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60323         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60324         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60325         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60326         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60327         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60328         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60329         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60330         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60331         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60332         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60333         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60334         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60335         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60336         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60337         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60338         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60339         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60340         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60341         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60342         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60343         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60344         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60345         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60346         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60347         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60348         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60349         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60350         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60351         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60352         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60353         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60354         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60355         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60356         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60357         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60358         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60359         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60360         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60361         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60362         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60363         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60364         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60365         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60366         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60367         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60368         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60369         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60370         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60371         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60372         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60373         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60374         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60375         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60376         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60377         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60378         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60379         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60380         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60381         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60382         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60383         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60384         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60385         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60386         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60389         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60391         [BZ #14914]
60392         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60393         whole low double instead of just low 47 bits when splitting values
60394         into two parts.
60396 2012-12-03  Allan McRae  <allan@archlinux.org>
60398         * manual/stdio.texi (Predefined Printf Handlers): Remove
60399         @hsep and @vsep usage.
60401 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60403         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60404         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60406 2012-12-03  Jeff Law  <law@redhat.com>
60408         * time/sys/time.h (settimeofday): Do not mark TV argument
60409         as __nonnull.
60411 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60413         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60414         when currently writing and seek to current position when not.
60415         * libio/Makefile (tests): Remove bug-fclose1.
60416         * libio/bug-fclose1.c: Delete.
60418 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60420         * manual/arith.texi (feenableexcept): Fix typo.
60421         (fedisableexcept): Likewise.
60423 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60425         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60426         second, differently-typed declaration, rather than a cast.
60428 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60430         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60431         * include/rpc/svc.h: ... here.
60433 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60435         [BZ #13013]
60436         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60437         depending n and resplen2 to catch cases where answer
60438         equals answerp2.
60440 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60442         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60443         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60445 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60449 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60451         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60453 2012-11-28  Jeff Law  <law@redhat.com>
60455         [BZ #13761]
60456         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60457         dataset_temporary.  Track alloca usage into alloca_used.
60458         If dataset is large allocate and release it via malloc/free.
60460 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60462         [BZ #14197]
60463         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60465 2012-11-28  David S. Miller  <davem@davemloft.net>
60467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60469 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60471         [BZ #14803]
60472         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60473         of pi/2 rounded to nearest to 64 bits.
60474         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60475         nearest to 64 bits.
60476         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60477         bits.
60479 2012-11-28  Jeff Law <law@redhat.com>
60480             Martin Osvald <mosvald@redhat.com>
60482         [BZ #14889]
60483         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60484         * sunrpc/svc.c: Include time.h.
60485         (__svc_accept_failed): New function.
60486         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60487         any reason other than EINTR, call __svc_accept_failed.
60488         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60489         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60491 2012-11-28  Andreas Schwab  <schwab@suse.de>
60493         * scripts/abilist.awk: Also handle indirect functions in .opd
60494         section.
60496 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60498         [BZ #13881]
60499         * sysdeps/x86/fpu/powl_helper.c: New file.
60500         * sysdeps/x86/fpu/Makefile: Likewise.
60501         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60502         (p3): New object.
60503         (__ieee754_powl): Use __powl_helper for finite arguments except
60504         integer exponents below 8.
60505         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60506         (p3): New object.
60507         (__ieee754_powl): Use __powl_helper for finite arguments except
60508         integer exponents below 8.
60509         * math/libm-test.inc (pow_test): Add more tests and enable some
60510         previously disabled tests.
60511         * sysdeps/i386/fpu/libm-test-ulps: Update.
60512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60514 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60515             Carlos O'Donell  <carlos_odonell@mentor.com>
60517         * nss/makedb.c (is_prime): Assert that input is odd and greater
60518         than 4.  Note that fact in a comment too.
60519         (next_prime): Add 4 to input.
60521 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60523         [BZ #11741]
60524         * libio/Makefile (tests): Add test case tst-fwrite-error.
60525         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60526         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60527         * libio/tst-fwrite-error.c: New test case.
60529 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60531         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60532         before casting to void *.
60533         * include/libc-internal.h (__pointer_type): New macro.
60534         (__integer_if_pointer_type_sub): Likewise.
60535         (__integer_if_pointer_type): Likewise.
60536         (cast_to_integer): Likewise.
60537         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60538         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60539         before casting to atomic64_t.
60540         (atomic_exchange_acq): Likewise.
60541         (__arch_exchange_and_add_body): Likewise.
60542         (__arch_add_body): Likewise.
60543         (atomic_add_negative): Likewise.
60544         (atomic_add_zero): Likewise.
60546 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60548         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60549         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60550         (add_fdes): Likewise.
60551         (linear_search_fdes): Likewise.
60552         (binary_search_unencoded_fdes): Likewise.
60554 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60556         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60558 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60560         * configure.in: Autodetect C++ header directories.
60561         * configure: Regenerated.
60563 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60565         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60567 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60571 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60573         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60574         LDBL_MANT_DIG == 106]: Disable some tests.
60575         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60576         Likewise.
60577         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60578         Likewise.
60580         [BZ #14871]
60581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60582         input for small inputs.  Return +/- pi/2 for large inputs.
60583         * math/libm-test.inc (atan_test): Add more tests.
60585         * sysdeps/generic/unwind-dw2-fde-glibc.c
60586         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60587         __attribute__ ((unused)).
60589         [BZ #14645]
60590         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60591         x * y if x and y are nonzero and z is zero.
60593         [BZ #14811]
60594         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60595         nonzero exponents with absolute value below 0x1p-117 to +/-
60596         0x1p-117.
60598         [BZ #14869]
60599         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60600         up arguments below 2**-450, not just those below 2**-500.
60601         * math/libm-test.inc (hypot_test): Add another test.
60603         [BZ #14868]
60604         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60605         Return a+b for ratio over 2**120, not 2**60.
60606         * math/libm-test.inc (hypot_test): Add another test.
60608         * math/libm-test.inc (clog_test): Use
60609         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60610         (clog10_test): Likewise.
60612         [BZ #6778]
60613         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60615 2012-11-22  Andreas Schwab  <schwab@suse.de>
60617         * sysdeps/i386/fpu/libm-test-ulps: Update.
60619 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60621         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60622         printf output with newline.
60624 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60626         [BZ #14865]
60627         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60628         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60629         -z nodlopen, -z initfirst and -z execstack support.
60630         * configure: Regenerated.
60632         * elf/elf.h (DF_1_NODIRECT): New macro.
60633         (DF_1_IGNMULDEF): Likewise.
60634         (DF_1_NOKSYMS): Likewise.
60635         (DF_1_NOHDR): Likewise.
60636         (DF_1_EDITED): Likewise.
60637         (DF_1_NORELOC): Likewise.
60638         (DF_1_SYMINTPOSE): Likewise.
60639         (DF_1_GLOBAUDIT): Likewise.
60640         (DF_1_SINGLETON): Likewise.
60641         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60642         DT_1_SUPPORTED_MASK bits.
60643         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60645 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60647         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60649 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60651         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60652         macro.
60654         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60655         (sendmmsg): Move declarations...
60656         * socket/sys/socket.h: ... here.
60657         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60658         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60659         include it from...
60660         * socket/recvmmsg.c: ... this new file.
60661         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60662         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60663         definition of __sendmmsg hidden.
60664         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60665         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60666         Move ENOSYS stub into and include it from...
60667         * socket/sendmmsg.c: ... this new file.
60668         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60669         (sysdep_routines): Move recvmmsg and sendmmsg...
60670         * socket/Makefile (routines): ... here.
60671         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60672         (GLIBC_PRIVATE): Add __sendmmsg.
60673         * include/sys/socket.h (__sendmmsg): Add declarations.
60674         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60675         sendmmsg.
60677 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60679         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60680         variable I1 with __attribute__ ((unused)).
60681         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60683 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60685         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60686         DUMMY variables with __attribute__ ((unused)).
60688         * bits/byteswap.h: Include <bits/types.h>.
60689         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60691 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60693         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60694         string_t.  Do not manually set errno.
60695         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60696         length with __strnlen.  Make sure to both set errno and return it on
60697         failure.
60699 2012-11-19  David S. Miller  <davem@davemloft.net>
60701         With help from Joseph Myers.
60702         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60703         very large arguments properly.
60704         * math/libm-test.inc (atan_test): New tests.
60705         (atan2_test): New tests.
60706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60709 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60711         [BZ #14856]
60712         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60713         Define to 3.
60715         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60716         [POSIX] (EADDRNOTAVAIL): Likewise.
60717         [POSIX] (EAFNOSUPPORT): Likewise.
60718         [POSIX] (EALREADY): Likewise.
60719         [POSIX] (ECONNABORTED): Likewise.
60720         [POSIX] (ECONNREFUSED): Likewise.
60721         [POSIX] (ECONNRESET): Likewise.
60722         [POSIX] (EDESTADDRREQ): Likewise.
60723         [POSIX] (EDQUOT): Likewise.
60724         [POSIX] (EHOSTUNREACH): Likewise.
60725         [POSIX] (EIDRM): Likewise.
60726         [POSIX] (EISCONN): Likewise.
60727         [POSIX] (ELOOP): Likewise.
60728         [POSIX] (EMULTIHOP): Likewise.
60729         [POSIX] (ENETDOWN): Likewise.
60730         [POSIX] (ENETUNREACH): Likewise.
60731         [POSIX] (ENOBUFS): Likewise.
60732         [POSIX] (ENODATA): Likewise.
60733         [POSIX] (ENOLINK): Likewise.
60734         [POSIX] (ENOMSG): Likewise.
60735         [POSIX] (ENOPROTOOPT): Likewise.
60736         [POSIX] (ENOSR): Likewise.
60737         [POSIX] (ENOSTR): Likewise.
60738         [POSIX] (ENOTCONN): Likewise.
60739         [POSIX] (ENOTSOCK): Likewise.
60740         [POSIX] (EOPNOTSUPP): Likewise.
60741         [POSIX] (EOVERFLOW): Likewise.
60742         [POSIX] (EPROTO): Likewise.
60743         [POSIX] (EPROTONOSUPPORT): Likewise.
60744         [POSIX] (EPROTOTYPE): Likewise.
60745         [POSIX] (ESTALE): Likewise.
60746         [POSIX] (ETIME): Likewise.
60747         [POSIX] (ETXTBSY): Likewise.
60748         [POSIX] (EWOULDBLOCK): Likewise.
60749         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60750         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60751         [POSIX] (SEEK_CUR): Likewise.
60752         [POSIX] (SEEK_END): Likewise.
60753         [POSIX || UNIX98] (mode_t): Do not require.
60754         [POSIX] (off_t): Likewise.
60755         [POSIX] (pid_t): Likewise.
60756         [POSIX] (sys/stat.h): Do not allow header.
60757         [POSIX] (unistd.h): Likewise.
60758         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60759         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60760         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60761         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60762         require.
60763         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60764         sigevent): Specify elements.
60765         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60766         entry.
60767         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60768         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60770         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60771         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60772         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60773         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60774         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60775         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60776         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60777         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60778         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60779         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60780         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60781         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60782         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60783         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60784         Likewise.
60785         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60786         Likewise.
60787         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60788         Likewise.
60789         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60790         Likewise.
60791         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60792         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60793         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60794         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60795         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60796         Specify lower bound on value.
60797         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60798         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60799         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60800         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60801         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60802         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60803         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60804         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60805         value.
60806         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60807         as optional.
60808         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60809         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60810         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60811         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60812         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60813         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60814         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60815         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60816         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60817         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60818         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60819         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60820         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60821         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60822         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60823         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60824         entry.
60825         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60826         optional.
60827         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60828         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60829         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60830         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60831         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60832         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60833         Likewise.
60834         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60835         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60836         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60837         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60838         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60839         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60840         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60841         as optional.
60842         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60843         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60844         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60845         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60846         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60847         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60848         specify as optional.
60849         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60850         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60851         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60852         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60853         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60854         [XPG3] (NL_LANGMAX): Likewise.
60855         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60856         [POSIX || XPG3] (NL_NMAX): Likewise.
60857         [POSIX || XPG3] (NL_SETMAX): Likewise.
60858         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60859         [XPG3] (NZERO): Likewise.
60860         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60861         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60862         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60863         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60864         (REG_ERANGE): Expect.
60865         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60866         optional-constant.
60867         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60868         Use (void) in prototype.
60869         [POSIX] (*_t): Allow.
60870         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60871         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60872         (WRDE_BADVAL): Expect.
60874         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60875         expect.
60876         [XPG3 || XPG4] (O_RSYNC): Likewise.
60877         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60878         Likewise.
60879         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60880         [XPG3 || XPG4] (sigqueue): Likewise.
60881         [XPG3 || XPG4] (sigtimedwait): Likewise.
60882         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60883         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60884         [XPG3 || XPG4] (vsnprintf): Likewise.
60885         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60886         Likewise.
60887         [XPG3 || XPG4] (blksize_t): Likewise.
60888         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60889         Likewise.
60890         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60891         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60892         [XPG3 || XPG4] (struct itimerspec): Likewise.
60893         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60894         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60895         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60896         [XPG3 || XPG4] (clockid_t): Likewise.
60897         [XPG3 || XPG4] (timer_t): Likewise.
60898         [XPG3 || XPG4] (clock_getres): Likewise.
60899         [XPG3 || XPG4] (clock_gettime): Likewise.
60900         [XPG3 || XPG4] (clock_settime): Likewise.
60901         [XPG3 || XPG4] (nanosleep): Likewise.
60902         [XPG3 || XPG4] (timer_create): Likewise.
60903         [XPG3 || XPG4] (timer_delete): Likewise.
60904         [XPG3 || XPG4] (timer_gettime): Likewise.
60905         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60906         [XPG3 || XPG4] (timer_settime): Likewise.
60907         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60908         [XPG3 || XPG4] (getlogin_r): Likewise.
60909         [XPG3 || XPG4] (pread): Likewise.
60910         [XPG3 || XPG4] (pthread_atfork): Likewise.
60911         [XPG3 || XPG4] (pwrite): Likewise.
60913         [BZ #14835]
60914         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60915         <bits/siginfo.h>.
60917 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60919         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60920         finalizing MALLSTREAM.
60922         * sysdeps/mach/hurd/syncfs.c: New file.
60924 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60926         [BZ #14719]
60927         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60928         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60929         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60930         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60931         (_nss_dns_gethostbyname4_r): Likewise.
60932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60933         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60935 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60937         [BZ #13763]
60938         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60940 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60942         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60943         * elf/cache.c (print_entry): Print ",AArch64" for
60944         FLAG_AARCH64_LIB64
60946         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60947         * elf/cache.c (print_entry): Print ",hard-float" for
60948         FLAG_ARM_LIBHF.
60950 2012-11-18  David S. Miller  <davem@davemloft.net>
60952         With help from Joseph Myers.
60953         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60954         cutoff to 2**-13.
60955         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60956         cutoff to 2**-25.
60957         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60958         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60959         small.
60960         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60961         * math/libm-test.inc (y0_test): New tests.
60962         (y1_test): New tests.
60963         * sysdeps/i386/fpu/libm-test-ulps: Update.
60964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60967 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60969         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60970         64-bit targets.
60971         * configure: Regenerated.
60973 2012-11-17  David S. Miller  <davem@davemloft.net>
60975         [BZ #14811]
60976         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60977         nonzero exponents with absolute value below 0x1p-128 to +/-
60978         0x1p-128.
60980 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60982         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60984         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60986         * posix/getconf-speclist.c: New file.
60987         * posix/posix-envs.def: Likewise.
60988         * posix/confstr.c (START_ENV_GROUP): New macro.
60989         (END_ENV_GROUP): Likewise.
60990         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60991         (KNOWN_PRESENT_ENV_STRING): Likewise.
60992         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60993         (UNKNOWN_ENVIRONMENT): Likewise.
60994         (confstr): Include posix-envs.def instead of handling
60995         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60996         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60997         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60998         (END_ENV_GROUP): Likewise.
60999         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61000         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61001         (UNKNOWN_ENVIRONMENT): Likewise.
61002         (__sysconf): Include posix-envs.def instead of handling associated
61003         cases directly here.
61004         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61005         preprocessing getconf-speclist.c rather than running getconf or
61006         generating empty file.
61008 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61010         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61012 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61014         [BZ #14672]
61015         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61017 2012-11-16  David S. Miller  <davem@davemloft.net>
61019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61020         smaller than LDBL_EPSILON/2.0L, just return xm1.
61022 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61024         * elf/tst-array1.c (init): Set constructor priority to 1000.
61025         (fini): Set destructor priority to 1000.
61026         * elf/tst-array2dep.c: Likewise.
61028 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61030         [BZ #11741]
61031         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61032         (_IO_new_file_xsputn): Also return EOF if none of the input
61033         data was written when overflow failed.
61034         * libio/iopadn.c (_IO_padn): Likewise.
61035         * libio/iowpadn.c (_IO_wpadn): Likewise.
61036         * stdio-common/tst-put-error.c: Add copyright notice.
61037         (do_test): Add case for printing padded string.
61038         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61039         _IO_padn returned error.
61040         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61041         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61042         return EOF.
61044 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61046         * libio/libioP.h: Add comment note that the references to C++
61047         bits are now obsolete.
61049 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61051         * math/libm-test.inc (check_complex): Use asprintf.
61053 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61055         * debug/pcprofiledump.c (print_version): Update copyright year.
61056         * malloc/memusagestat.c (print_version): Likewise.
61058 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61060         [BZ #14831]
61061         * elf/Makefile (tests): Add tst-audit8.
61062         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61063         ($(objpfx)tst-audit8.out): New target.
61064         (tst-audit8-ENV): New variable.
61065         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61066         audit if l_reloc_result is NULL.
61067         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61068         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61069         * elf/tst-audit8.c: New file.
61071 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61073         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61074         * misc/Makefile (CFLAGS-select.c): Define.
61075         * posix/Makefile (CFLAGS-pause.c): Define.
61077 2012-11-13  David S. Miller  <davem@davemloft.net>
61079         * crypt/Makefile: Move test targets after toplevel Rules
61080         inclusion.  Grab any necessary sysdep routines when linking.
61081         * crypt/md5.c (md5_process_block): Remove define, we will always
61082         name it __md5_process_block.
61083         (md5_finish_ctx): Update md5_process_block call.
61084         (md5_stream): Likewise.
61085         (md5_process_bytes): Likewise.
61086         (md5_process_block): Rename to __md5_process_block and move to ...
61087         * crypt/md5-block.c: ... here.
61088         * crypt/sha256.c (sha256_process_block): Move to ...
61089         * crypt/sha256-block.c: ... here.
61090         * crypt/sha512.c (sha512_process_block): Move to ...
61091         * crypt/sha512-block.c: ... here.
61092         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61093         path.
61094         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61095         * sysdeps/sparc/sparc64/multiarch/Makefile
61096         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61097         crypt subdir.
61098         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61099         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61100         multiarch changes.
61101         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61102         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61103         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61104         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61105         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61106         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61107         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61108         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61109         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61110         file.
61111         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61112         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61113         file.
61114         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61116 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61118         * timezone/tzselect.ksh: Update from tzcode git revision
61119         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61120         * timezone/zdump.c: Likewise.
61121         * timezone/zic.c: Likewise.
61122         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61123         in TZVERSION setting, not $(PKGVERSION).
61124         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61125         REPORT_BUGS_TO settings.
61127         [BZ #14838]
61128         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61129         macro.
61131 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61133         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61134         detection to immediately after _FP_ROUND().
61135         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61136         bits are 0.
61138 2012-11-11  David S. Miller  <davem@davemloft.net>
61140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61141         inttypes.h
61142         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61143         __close rather than their public counterparts.
61145 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61147         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61148         file.
61149         [UNIX98] (sem_timedwait): Do not expect.
61150         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61151         [XPG4 || UNIX98] (sockatmark): Do not expect.
61152         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61153         (clock_getcpuclockid): Do not expect.
61154         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61155         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61156         Do not expect.
61157         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61158         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61159         [UNIX98] (vwscanf): Likewise.
61160         [UNIX98] (vswscanf): Likewise.
61162 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61164         * timezone/version.h: Remove file.
61165         * timezone/README: Do not refer to version.h.
61166         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61167         $(objpfx)version.h.
61168         ($(objpfx)zdump.o): Likewise.
61169         ($(objpfx)version.h): New target.
61171         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61172         2012i.
61173         * timezone/README: Don't mention modification to tzselect.ksh.
61174         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61175         work on unmodified tzselect.ksh.  Substitute version numbers in
61176         tzselect.ksh.
61178         * Makefile (format-me): Remove.
61179         (INSTALL): Adjust indentation.  Use commands directly instead of
61180         using $(format-me).
61182         * aclocal.m4 (ACX_PKGVERSION): New macro.
61183         (ACX_BUGURL): Likewise.
61184         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61185         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61186         (REPORT_BUGS_TO): Likewise.
61187         * configure: Regenerated.
61188         * config.h.in (PKGVERSION): New macro.
61189         (REPORT_BUGS_TO): Likewise.
61190         * config.make.in (PKGVERSION): New variable.
61191         (PKGVERSION_TEXI): Likewise.
61192         (REPORT_BUGS_TO): Likewise.
61193         (REPORT_BUGS_TEXI): Likewise.
61194         * Makefile (format-me): Use -I$(common-objpfx)manual.
61195         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61196         ($(common-objpfx)manual/%): New target.
61197         (manual/%): Remove target.
61198         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61199         (print_version): Use PKGVERSION.
61200         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61201         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61202         and REPORT_BUGS_TO.
61203         ($(objpfx)xtrace): Likewise.
61204         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61205         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61206         (print_version): Use PKGVERSION.
61207         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61208         (do_version): Use PKGVERSION.
61209         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61210         REPORT_BUGS_TO.
61211         (common-ldd-rewrite): Likewise.
61212         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61213         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61214         (print_version): Use PKGVERSION.
61215         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61216         * elf/pldd.c (argp_program_bug_address): Remove variable.
61217         (more_help): New function.
61218         (argp): Use more_help.
61219         (print_version): Use PKGVERSION.
61220         * elf/sln.c (main): Use PKGVERSION.
61221         (usage): Use REPORT_BUGS_TO.
61222         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61223         (top level): Use PKGVERSION.
61224         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61225         (print_version): Use PKGVERSION.
61226         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61227         (print_version): Use PKGVERSION.
61228         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61229         (print_version): Use PKGVERSION.
61230         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61231         (print_version): Use PKGVERSION.
61232         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61233         (print_version): Use PKGVERSION.
61234         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61235         (print_version): Use PKGVERSION.
61236         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61237         and BUGURL.
61238         ($(objpfx)memusage): Likewise.
61239         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61240         (do_version): Use PKGVERSION.
61241         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61242         (print_version): Use PKGVERSION.
61243         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61244         ($PKGVERSION): New variable.
61245         ($REPORT_BUGS_TO): Likewise.
61246         (usage): Use $REPORT_BUGS_TO.
61247         (top level): Use $PKGVERSION.
61248         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61249         ($(objpfx)pkgvers.texi): New rule.
61250         ($(objpfx)stamp-pkgvers): Likewise.
61251         * manual/install.texi: Include pkgvers.texi.
61252         (--with-pkgversion): Document new configure option.
61253         (--with-bugurl): Likewise.
61254         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61255         than necessarily for this particular distribution.  Use
61256         REPORT_BUGS_TO for where to report bugs.
61257         * INSTALL: Regenerated.
61258         * manual/libc.texinfo: Include pkgvers.texi.
61259         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61260         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61261         (print_version): Use PKGVERSION.
61262         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61263         (print_version): Use PKGVERSION.
61264         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61265         (print_version): Use PKGVERSION.
61266         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61267         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61268         macro.
61269         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61270         (print_version): Use PKGVERSION.
61271         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61272         (print_version): Use PKGVERSION.
61273         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61274         and PKGVERSION.
61276         * timezone/checktab.awk: Update from tzcode 2012i.
61277         * timezone/ialloc.c: Likewise.
61278         * timezone/private.h: Likewise.
61279         * timezone/scheck.c: Likewise.
61280         * timezone/tzfile.h: Likewise.
61281         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61282         (TZVERSION): Hardcode tzcode version number.
61283         * timezone/zdump.c: Update from tzcode 2012i.
61284         * timezone/zic.c: Likewise.
61285         * timezone/version.h: New file.
61286         * timezone/README: Describe version.h.  Update upstream location.
61288         [BZ #14824]
61289         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61290         (mktemp): Enable declaration.
61291         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61295         Likewise.
61296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61297         Likewise.
61298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61299         Likewise.
61300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61301         Likewise.
61302         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61303         Likewise.
61304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61305         Likewise.
61307         [BZ #14821]
61308         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61309         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61310         for copies of such integer values.
61311         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61312         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61314 2012-11-09  Andreas Jaeger  <aj@suse.de>
61316         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61317         definitions and declarations that are provided by
61318         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61320 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61322         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61323         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61324         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61325         definition.
61327 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61329         * elf/elf.h: Update comment before AArch64 relocations.
61331 2012-11-07  David S. Miller  <davem@davemloft.net>
61333         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61334         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61335         (__start_context): Declare.
61336         (__makecontext_ret): Delete.
61337         (__makecontext): Hook up __start_context instead of
61338         __makecontext_ret.
61339         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61340         (sysdep_routines): Add __start_context when in stdlib.
61342 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61344         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61345         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61346         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61347         hardcoded "nm".
61348         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61349         (READELF): New variable.  Use it instead of hardcoded "readelf".
61351 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61353         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61354         * sysdeps/x86/Makefile: Here.
61355         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61356         * sysdeps/x86/tst-xmmymm.sh: This.
61358 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61360         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61361         expectations.
61362         [UNIX98] (pthread_barrier_t): Do not expect.
61363         [UNIX98] (pthread_barrierattr_t): Likewise.
61364         [UNIX98] (pthread_spinlock_t): Likewise.
61365         [UNIX98] (pthread_barrier_destroy): Likewise.
61366         [UNIX98] (pthread_barrier_init): Likewise.
61367         [UNIX98] (pthread_barrier_wait): Likewise.
61368         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61369         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61370         [UNIX98] (pthread_barrierattr_init): Likewise.
61371         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61372         [UNIX98] (pthread_getcpuclockid): Likewise.
61373         [UNIX98] (pthread_mutex_timedlock): Likewise.
61374         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61375         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61376         [UNIX98] (pthread_sigmask): Likewise.
61377         [UNIX98] (pthread_spin_destroy): Likewise.
61378         [UNIX98] (pthread_spin_init): Likewise.
61379         [UNIX98] (pthread_spin_lock): Likewise.
61380         [UNIX98] (pthread_spin_trylock): Likewise.
61381         [UNIX98] (pthread_spin_unlock): Likewise.
61382         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61383         Do not expect.
61384         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61385         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61386         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61387         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61388         [XPG3 || XPG4] (pthread_key_t): Likewise.
61389         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61390         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61391         [XPG3 || XPG4] (pthread_once_t): Likewise.
61392         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61393         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61394         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61395         [XPG3 || XPG4] (pthread_t): Likewise.
61397         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61398         not expect.
61399         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61401         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61402         Change function return type to int.
61404         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61405         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61406         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61407         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61408         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61409         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61410         [!POSIX] (posix_madvise): Likewise.
61411         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61412         && !UNIX98].
61413         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61414         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61415         (mode_t): Likewise.
61416         (posix_mem_offset): Likewise.
61417         (posix_typed_mem_get_info): Likewise.
61418         (posix_typed_mem_open): Likewise.
61420         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61421         Change condition to [XOPEN2K8].
61423         * conform/conformtest.pl: Preprocess allow-header data with -x c
61424         instead of from stdin.
61425         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61426         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61427         [C99-based standards] (cerfc): Likewise.
61428         [C99-based standards] (cexp2): Likewise.
61429         [C99-based standards] (cexpm1): Likewise.
61430         [C99-based standards] (clog10): Likewise.
61431         [C99-based standards] (clog1p): Likewise.
61432         [C99-based standards] (clog2): Likewise.
61433         [C99-based standards] (clgamma): Likewise.
61434         [C99-based standards] (ctgamma): Likewise.
61435         [C99-based standards] (cerff): Likewise.
61436         [C99-based standards] (cerfcf): Likewise.
61437         [C99-based standards] (cexp2f): Likewise.
61438         [C99-based standards] (cexpm1f): Likewise.
61439         [C99-based standards] (clog10f): Likewise.
61440         [C99-based standards] (clog1pf): Likewise.
61441         [C99-based standards] (clog2f): Likewise.
61442         [C99-based standards] (clgammaf): Likewise.
61443         [C99-based standards] (ctgammaf): Likewise.
61444         [C99-based standards] (cerfl): Likewise.
61445         [C99-based standards] (cerfcl): Likewise.
61446         [C99-based standards] (cexp2l): Likewise.
61447         [C99-based standards] (cexpm1l): Likewise.
61448         [C99-based standards] (clog10l): Likewise.
61449         [C99-based standards] (clog1pl): Likewise.
61450         [C99-based standards] (clog2l): Likewise.
61451         [C99-based standards] (clgammal): Likewise.
61452         [C99-based standards] (ctgammal): Likewise.
61453         * conform/data/inttypes.h-data [C99-based standards]: Include
61454         stdint.h-data.  Remove all expectations for stdint.h contents.
61455         [C99-based standards] (PRI*): Do not allow.
61456         [C99-based standards] (SCN*): Likewise.
61457         [C99-based standards] (*_t): Likewise.
61458         [C99-based-standards] (PRId8): Expect macro.
61459         [C99-based-standards] (PRIi8): Likewise.
61460         [C99-based-standards] (PRIo8): Likewise.
61461         [C99-based-standards] (PRIu8): Likewise.
61462         [C99-based-standards] (PRIx8): Likewise.
61463         [C99-based-standards] (PRIX8): Likewise.
61464         [C99-based-standards] (SCNd8): Likewise.
61465         [C99-based-standards] (SCNi8): Likewise.
61466         [C99-based-standards] (SCNo8): Likewise.
61467         [C99-based-standards] (SCNu8): Likewise.
61468         [C99-based-standards] (SCNx8): Likewise.
61469         [C99-based-standards] (PRIdLEAST8): Likewise.
61470         [C99-based-standards] (PRIiLEAST8): Likewise.
61471         [C99-based-standards] (PRIoLEAST8): Likewise.
61472         [C99-based-standards] (PRIuLEAST8): Likewise.
61473         [C99-based-standards] (PRIxLEAST8): Likewise.
61474         [C99-based-standards] (PRIXLEAST8): Likewise.
61475         [C99-based-standards] (SCNdLEAST8): Likewise.
61476         [C99-based-standards] (SCNiLEAST8): Likewise.
61477         [C99-based-standards] (SCNoLEAST8): Likewise.
61478         [C99-based-standards] (SCNuLEAST8): Likewise.
61479         [C99-based-standards] (SCNxLEAST8): Likewise.
61480         [C99-based-standards] (PRIdFAST8): Likewise.
61481         [C99-based-standards] (PRIiFAST8): Likewise.
61482         [C99-based-standards] (PRIoFAST8): Likewise.
61483         [C99-based-standards] (PRIuFAST8): Likewise.
61484         [C99-based-standards] (PRIxFAST8): Likewise.
61485         [C99-based-standards] (PRIXFAST8): Likewise.
61486         [C99-based-standards] (SCNdFAST8): Likewise.
61487         [C99-based-standards] (SCNiFAST8): Likewise.
61488         [C99-based-standards] (SCNoFAST8): Likewise.
61489         [C99-based-standards] (SCNuFAST8): Likewise.
61490         [C99-based-standards] (SCNxFAST8): Likewise.
61491         [C99-based-standards] (PRId16): Likewise.
61492         [C99-based-standards] (PRIi16): Likewise.
61493         [C99-based-standards] (PRIo16): Likewise.
61494         [C99-based-standards] (PRIu16): Likewise.
61495         [C99-based-standards] (PRIx16): Likewise.
61496         [C99-based-standards] (PRIX16): Likewise.
61497         [C99-based-standards] (SCNd16): Likewise.
61498         [C99-based-standards] (SCNi16): Likewise.
61499         [C99-based-standards] (SCNo16): Likewise.
61500         [C99-based-standards] (SCNu16): Likewise.
61501         [C99-based-standards] (SCNx16): Likewise.
61502         [C99-based-standards] (PRIdLEAST16): Likewise.
61503         [C99-based-standards] (PRIiLEAST16): Likewise.
61504         [C99-based-standards] (PRIoLEAST16): Likewise.
61505         [C99-based-standards] (PRIuLEAST16): Likewise.
61506         [C99-based-standards] (PRIxLEAST16): Likewise.
61507         [C99-based-standards] (PRIXLEAST16): Likewise.
61508         [C99-based-standards] (SCNdLEAST16): Likewise.
61509         [C99-based-standards] (SCNiLEAST16): Likewise.
61510         [C99-based-standards] (SCNoLEAST16): Likewise.
61511         [C99-based-standards] (SCNuLEAST16): Likewise.
61512         [C99-based-standards] (SCNxLEAST16): Likewise.
61513         [C99-based-standards] (PRIdFAST16): Likewise.
61514         [C99-based-standards] (PRIiFAST16): Likewise.
61515         [C99-based-standards] (PRIoFAST16): Likewise.
61516         [C99-based-standards] (PRIuFAST16): Likewise.
61517         [C99-based-standards] (PRIxFAST16): Likewise.
61518         [C99-based-standards] (PRIXFAST16): Likewise.
61519         [C99-based-standards] (SCNdFAST16): Likewise.
61520         [C99-based-standards] (SCNiFAST16): Likewise.
61521         [C99-based-standards] (SCNoFAST16): Likewise.
61522         [C99-based-standards] (SCNuFAST16): Likewise.
61523         [C99-based-standards] (SCNxFAST16): Likewise.
61524         [C99-based-standards] (PRId32): Likewise.
61525         [C99-based-standards] (PRIi32): Likewise.
61526         [C99-based-standards] (PRIo32): Likewise.
61527         [C99-based-standards] (PRIu32): Likewise.
61528         [C99-based-standards] (PRIx32): Likewise.
61529         [C99-based-standards] (PRIX32): Likewise.
61530         [C99-based-standards] (SCNd32): Likewise.
61531         [C99-based-standards] (SCNi32): Likewise.
61532         [C99-based-standards] (SCNo32): Likewise.
61533         [C99-based-standards] (SCNu32): Likewise.
61534         [C99-based-standards] (SCNx32): Likewise.
61535         [C99-based-standards] (PRIdLEAST32): Likewise.
61536         [C99-based-standards] (PRIiLEAST32): Likewise.
61537         [C99-based-standards] (PRIoLEAST32): Likewise.
61538         [C99-based-standards] (PRIuLEAST32): Likewise.
61539         [C99-based-standards] (PRIxLEAST32): Likewise.
61540         [C99-based-standards] (PRIXLEAST32): Likewise.
61541         [C99-based-standards] (SCNdLEAST32): Likewise.
61542         [C99-based-standards] (SCNiLEAST32): Likewise.
61543         [C99-based-standards] (SCNoLEAST32): Likewise.
61544         [C99-based-standards] (SCNuLEAST32): Likewise.
61545         [C99-based-standards] (SCNxLEAST32): Likewise.
61546         [C99-based-standards] (PRIdFAST32): Likewise.
61547         [C99-based-standards] (PRIiFAST32): Likewise.
61548         [C99-based-standards] (PRIoFAST32): Likewise.
61549         [C99-based-standards] (PRIuFAST32): Likewise.
61550         [C99-based-standards] (PRIxFAST32): Likewise.
61551         [C99-based-standards] (PRIXFAST32): Likewise.
61552         [C99-based-standards] (SCNdFAST32): Likewise.
61553         [C99-based-standards] (SCNiFAST32): Likewise.
61554         [C99-based-standards] (SCNoFAST32): Likewise.
61555         [C99-based-standards] (SCNuFAST32): Likewise.
61556         [C99-based-standards] (SCNxFAST32): Likewise.
61557         [C99-based-standards] (PRId64): Likewise.
61558         [C99-based-standards] (PRIi64): Likewise.
61559         [C99-based-standards] (PRIo64): Likewise.
61560         [C99-based-standards] (PRIu64): Likewise.
61561         [C99-based-standards] (PRIx64): Likewise.
61562         [C99-based-standards] (PRIX64): Likewise.
61563         [C99-based-standards] (SCNd64): Likewise.
61564         [C99-based-standards] (SCNi64): Likewise.
61565         [C99-based-standards] (SCNo64): Likewise.
61566         [C99-based-standards] (SCNu64): Likewise.
61567         [C99-based-standards] (SCNx64): Likewise.
61568         [C99-based-standards] (PRIdLEAST64): Likewise.
61569         [C99-based-standards] (PRIiLEAST64): Likewise.
61570         [C99-based-standards] (PRIoLEAST64): Likewise.
61571         [C99-based-standards] (PRIuLEAST64): Likewise.
61572         [C99-based-standards] (PRIxLEAST64): Likewise.
61573         [C99-based-standards] (PRIXLEAST64): Likewise.
61574         [C99-based-standards] (SCNdLEAST64): Likewise.
61575         [C99-based-standards] (SCNiLEAST64): Likewise.
61576         [C99-based-standards] (SCNoLEAST64): Likewise.
61577         [C99-based-standards] (SCNuLEAST64): Likewise.
61578         [C99-based-standards] (SCNxLEAST64): Likewise.
61579         [C99-based-standards] (PRIdFAST64): Likewise.
61580         [C99-based-standards] (PRIiFAST64): Likewise.
61581         [C99-based-standards] (PRIoFAST64): Likewise.
61582         [C99-based-standards] (PRIuFAST64): Likewise.
61583         [C99-based-standards] (PRIxFAST64): Likewise.
61584         [C99-based-standards] (PRIXFAST64): Likewise.
61585         [C99-based-standards] (SCNdFAST64): Likewise.
61586         [C99-based-standards] (SCNiFAST64): Likewise.
61587         [C99-based-standards] (SCNoFAST64): Likewise.
61588         [C99-based-standards] (SCNuFAST64): Likewise.
61589         [C99-based-standards] (SCNxFAST64): Likewise.
61590         [C99-based-standards] (PRIdMAX): Likewise.
61591         [C99-based-standards] (PRIiMAX): Likewise.
61592         [C99-based-standards] (PRIoMAX): Likewise.
61593         [C99-based-standards] (PRIuMAX): Likewise.
61594         [C99-based-standards] (PRIxMAX): Likewise.
61595         [C99-based-standards] (PRIXMAX): Likewise.
61596         [C99-based-standards] (SCNdMAX): Likewise.
61597         [C99-based-standards] (SCNiMAX): Likewise.
61598         [C99-based-standards] (SCNoMAX): Likewise.
61599         [C99-based-standards] (SCNuMAX): Likewise.
61600         [C99-based-standards] (SCNxMAX): Likewise.
61601         [C99-based-standards] (PRIdPTR): Likewise.
61602         [C99-based-standards] (PRIiPTR): Likewise.
61603         [C99-based-standards] (PRIoPTR): Likewise.
61604         [C99-based-standards] (PRIuPTR): Likewise.
61605         [C99-based-standards] (PRIxPTR): Likewise.
61606         [C99-based-standards] (PRIXPTR): Likewise.
61607         [C99-based-standards] (SCNdPTR): Likewise.
61608         [C99-based-standards] (SCNiPTR): Likewise.
61609         [C99-based-standards] (SCNoPTR): Likewise.
61610         [C99-based-standards] (SCNuPTR): Likewise.
61611         [C99-based-standards] (SCNxPTR): Likewise.
61612         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61613         allow.
61614         * conform/data/stdint.h-data: Update comments to clarify
61615         requirements.
61616         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61617         type.
61618         [C99-based standards] (INT8_MAX): Likewise.
61619         [C99-based standards] (INT16_MIN): Likewise.
61620         [C99-based standards] (INT16_MAX): Likewise.
61621         [C99-based standards] (INT32_MIN): Likewise.
61622         [C99-based standards] (INT32_MAX): Likewise.
61623         [C99-based standards] (INT64_MIN): Likewise.
61624         [C99-based standards] (INT64_MAX): Likewise.
61625         [C99-based standards] (UINT8_MAX): Likewise.
61626         [C99-based standards] (UINT16_MAX): Likewise.
61627         [C99-based standards] (UINT32_MAX): Likewise.
61628         [C99-based standards] (UINT64_MAX): Likewise.
61629         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61630         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61631         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61632         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61633         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61634         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61635         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61636         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61637         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61638         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61639         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61640         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61641         [C99-based standards] (INT_FAST8_MIN): Likewise.
61642         [C99-based standards] (INT_FAST8_MAX): Likewise.
61643         [C99-based standards] (INT_FAST16_MIN): Likewise.
61644         [C99-based standards] (INT_FAST16_MAX): Likewise.
61645         [C99-based standards] (INT_FAST32_MIN): Likewise.
61646         [C99-based standards] (INT_FAST32_MAX): Likewise.
61647         [C99-based standards] (INT_FAST64_MIN): Likewise.
61648         [C99-based standards] (INT_FAST64_MAX): Likewise.
61649         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61650         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61651         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61652         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61653         [C99-based standards] (INTPTR_MIN): Likewise.
61654         [C99-based standards] (INTPTR_MAX): Likewise.
61655         [C99-based standards] (UINTPTR_MAX): Likewise.
61656         [C99-based standards] (INTMAX_MIN): Likewise.
61657         [C99-based standards] (INTMAX_MAX): Likewise.
61658         [C99-based standards] (UINTMAX_MAX): Likewise.
61659         [C99-based standards] (PTRDIFF_MIN): Likewise.
61660         [C99-based standards] (PTRDIFF_MAX): Likewise.
61661         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61662         [C99-based standards] (SIZE_MAX): Likewise.
61663         [C99-based standards] (WCHAR_MAX): Likewise.
61664         [C99-based standards] (WINT_MAX): Likewise.
61665         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61666         constraint on value.
61667         [C99-based standards] (WCHAR_MIN): Likewise.
61668         [C99-based standards] (WINT_MIN): Likewise.
61669         [C99-based standards] (*_t): Allow.
61670         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61671         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61672         Include math.h-data and complex.h-data.  Remove all expectations
61673         of math.h and complex.h contents.
61674         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61675         at end of line.
61676         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61677         (struct tm): Expect tag.
61678         [C99-based-standards] (wcstof): Expect function.
61679         [C99-based-standards] (wcstold): Likewise.
61680         [C99-based-standards] (wcstoll): Likewise.
61681         [C99-based-standards] (wcstoull): Likewise.
61682         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61683         macro-int-constant.  Specify type.
61684         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61685         constraint on value.
61686         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61687         Specify type.
61688         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61689         Specify value.
61690         [ISO C standards]: Do not allow headers.
61691         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61692         wcs[abcdefghijklmnopqrstuvwxyz]*.
61693         [ISO C standards] (*_t): Do not allow.
61694         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61695         Expect function.
61696         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61697         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61698         Specify type.
61699         [ISO C standards]: Do not allow headers.
61700         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61701         is[abcdefghijklmnopqrstuvwxyz]*.
61702         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61703         to[abcdefghijklmnopqrstuvwxyz]*.
61704         [ISO C standards] (*_t): Do not allow.
61705         * conform/data/stdalign.h-data: New file.
61706         * conform/data/stdbool.h-data: Likewise.
61707         * conform/data/stdnoreturn.h-data: Likewise.
61709 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61711         [BZ #14815]
61712         * manual/filesys.texi (Directory Entries): Typo fix.
61713         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61715 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61717         * elf/elf.h (EM_AARCH64): New macro.
61718         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61719         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61720         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61721         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61722         (R_AARCH64_TLSDESC): Likewise.
61723         (NT_ARM_TLS): Likewise.
61724         (NT_ARM_HW_BREAK): Likewise.
61725         (NT_ARM_HW_WATCH): Likewise.
61727 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61729         [BZ #14811]
61730         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61731         (__ieee754_powl): Saturate nonzero exponents with absolute value
61732         below 0x1p-79 to +/- 0x1p-79.
61733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61734         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61735         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61736         nonzero exponents with absolute value below 0x1p-32 to +/-
61737         0x1p-32.
61738         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61739         (__ieee754_powl): Saturate nonzero exponents with absolute value
61740         below 0x1p-79 to +/- 0x1p-79.
61741         * math/libm-test.inc (pow_test): Add more tests.
61743 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61745         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61746         _dl_s390_cap_flags with kernel. Increase string length.
61747         (_dl_s390_platforms): Add z196 and zEC12.
61749 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61751         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61752         Change XOPEN21K to XOPEN2K.
61754 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61756         * string/memmove.c: Use memcpy when possible.
61758 2012-11-06  Andreas Jaeger  <aj@suse.de>
61760         * po/eo.po: Update from translation team.
61762 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61764         [BZ #14793]
61765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61766         exponent and small x and y exponents, scale x or y up.  Increase
61767         by 2 the exponent used in scaling up.
61768         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61770         * math/libm-test.inc (fma_test): Add more tests.
61771         (fma_test_towardzero): Likewise.
61772         (fma_test_downward): Likewise.
61773         (fma_test_upward): Likewise.
61775 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61777         [BZ #14805]
61778         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61779         fenv_t *.
61781         [BZ #14801]
61782         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61783         namespace for names of struct fields.
61784         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61785         fenv_t fields.
61786         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61787         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61789 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61791         [BZ #3665]
61792         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61794 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61796         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61797         PTR_DEMANGLE.
61799         [BZ #5246]
61800         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61801         PTR_DEMANGLE.
61803 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61805         [BZ #14797]
61806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61807         definitely overflow as x * y not x * y + z.
61808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61810         * math/libm-test.inc (fma_test): Add more tests.
61811         (fma_test_towardzero): Likewise.
61812         (fma_test_downward): Likewise.
61813         (fma_test_upward): Likewise.
61815 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61817         [BZ #157]
61819         * include/stub-tag.h: Remove file.
61820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61821         '#include' of it.
61822         * manual/maint.texi (Porting): Don't reference it.
61823         * Makerules ($(objpfx)stubs): Likewise.
61824         * dirent/closedir.c: Don't include <stub-tag.h>.
61825         * dirent/dirfd.c: Likewise.
61826         * dirent/fdopendir.c: Likewise.
61827         * dirent/getdents.c: Likewise.
61828         * dirent/getdents64.c: Likewise.
61829         * dirent/opendir.c: Likewise.
61830         * dirent/readdir.c: Likewise.
61831         * dirent/readdir64.c: Likewise.
61832         * dirent/readdir64_r.c: Likewise.
61833         * dirent/readdir_r.c: Likewise.
61834         * dirent/rewinddir.c: Likewise.
61835         * dirent/seekdir.c: Likewise.
61836         * dirent/telldir.c: Likewise.
61837         * gmon/profil.c: Likewise.
61838         * grp/setgroups.c: Likewise.
61839         * inet/if_index.c: Likewise.
61840         * io/access.c: Likewise.
61841         * io/chdir.c: Likewise.
61842         * io/chmod.c: Likewise.
61843         * io/chown.c: Likewise.
61844         * io/close.c: Likewise.
61845         * io/dup.c: Likewise.
61846         * io/dup2.c: Likewise.
61847         * io/dup3.c: Likewise.
61848         * io/euidaccess.c: Likewise.
61849         * io/faccessat.c: Likewise.
61850         * io/fchdir.c: Likewise.
61851         * io/fchmod.c: Likewise.
61852         * io/fchmodat.c: Likewise.
61853         * io/fchown.c: Likewise.
61854         * io/fchownat.c: Likewise.
61855         * io/fcntl.c: Likewise.
61856         * io/flock.c: Likewise.
61857         * io/fstatfs.c: Likewise.
61858         * io/fstatfs64.c: Likewise.
61859         * io/fstatvfs.c: Likewise.
61860         * io/fstatvfs64.c: Likewise.
61861         * io/futimens.c: Likewise.
61862         * io/fxstat.c: Likewise.
61863         * io/fxstat64.c: Likewise.
61864         * io/fxstatat.c: Likewise.
61865         * io/fxstatat64.c: Likewise.
61866         * io/getcwd.c: Likewise.
61867         * io/isatty.c: Likewise.
61868         * io/lchmod.c: Likewise.
61869         * io/lchown.c: Likewise.
61870         * io/link.c: Likewise.
61871         * io/linkat.c: Likewise.
61872         * io/lseek.c: Likewise.
61873         * io/lseek64.c: Likewise.
61874         * io/lxstat64.c: Likewise.
61875         * io/mkdir.c: Likewise.
61876         * io/mkdirat.c: Likewise.
61877         * io/mkfifo.c: Likewise.
61878         * io/mkfifoat.c: Likewise.
61879         * io/open.c: Likewise.
61880         * io/open64.c: Likewise.
61881         * io/openat.c: Likewise.
61882         * io/openat64.c: Likewise.
61883         * io/pipe.c: Likewise.
61884         * io/pipe2.c: Likewise.
61885         * io/poll.c: Likewise.
61886         * io/posix_fadvise.c: Likewise.
61887         * io/posix_fadvise64.c: Likewise.
61888         * io/posix_fallocate.c: Likewise.
61889         * io/posix_fallocate64.c: Likewise.
61890         * io/read.c: Likewise.
61891         * io/readlink.c: Likewise.
61892         * io/readlinkat.c: Likewise.
61893         * io/rmdir.c: Likewise.
61894         * io/sendfile.c: Likewise.
61895         * io/sendfile64.c: Likewise.
61896         * io/statfs.c: Likewise.
61897         * io/statfs64.c: Likewise.
61898         * io/statvfs.c: Likewise.
61899         * io/statvfs64.c: Likewise.
61900         * io/symlink.c: Likewise.
61901         * io/symlinkat.c: Likewise.
61902         * io/ttyname.c: Likewise.
61903         * io/ttyname_r.c: Likewise.
61904         * io/umask.c: Likewise.
61905         * io/unlink.c: Likewise.
61906         * io/unlinkat.c: Likewise.
61907         * io/utime.c: Likewise.
61908         * io/utimensat.c: Likewise.
61909         * io/write.c: Likewise.
61910         * io/xmknod.c: Likewise.
61911         * io/xmknodat.c: Likewise.
61912         * io/xstat.c: Likewise.
61913         * io/xstat64.c: Likewise.
61914         * login/getpt.c: Likewise.
61915         * login/grantpt.c: Likewise.
61916         * login/unlockpt.c: Likewise.
61917         * math/e_acoshl.c: Likewise.
61918         * math/e_acosl.c: Likewise.
61919         * math/e_asinl.c: Likewise.
61920         * math/e_atan2l.c: Likewise.
61921         * math/e_atanhl.c: Likewise.
61922         * math/e_coshl.c: Likewise.
61923         * math/e_expl.c: Likewise.
61924         * math/e_fmodl.c: Likewise.
61925         * math/e_gammal_r.c: Likewise.
61926         * math/e_hypotl.c: Likewise.
61927         * math/e_j0l.c: Likewise.
61928         * math/e_j1l.c: Likewise.
61929         * math/e_jnl.c: Likewise.
61930         * math/e_lgammal_r.c: Likewise.
61931         * math/e_log10l.c: Likewise.
61932         * math/e_log2l.c: Likewise.
61933         * math/e_logl.c: Likewise.
61934         * math/e_powl.c: Likewise.
61935         * math/e_rem_pio2l.c: Likewise.
61936         * math/e_sinhl.c: Likewise.
61937         * math/e_sqrtl.c: Likewise.
61938         * math/fclrexcpt.c: Likewise.
61939         * math/fedisblxcpt.c: Likewise.
61940         * math/feenablxcpt.c: Likewise.
61941         * math/fegetenv.c: Likewise.
61942         * math/fegetexcept.c: Likewise.
61943         * math/fegetround.c: Likewise.
61944         * math/feholdexcpt.c: Likewise.
61945         * math/fesetenv.c: Likewise.
61946         * math/fesetround.c: Likewise.
61947         * math/feupdateenv.c: Likewise.
61948         * math/fgetexcptflg.c: Likewise.
61949         * math/fraiseexcpt.c: Likewise.
61950         * math/fsetexcptflg.c: Likewise.
61951         * math/ftestexcept.c: Likewise.
61952         * math/k_cosl.c: Likewise.
61953         * math/k_rem_pio2l.c: Likewise.
61954         * math/k_sinl.c: Likewise.
61955         * math/k_tanl.c: Likewise.
61956         * math/s_asinhl.c: Likewise.
61957         * math/s_atanl.c: Likewise.
61958         * math/s_cbrtl.c: Likewise.
61959         * math/s_erfl.c: Likewise.
61960         * math/s_expm1l.c: Likewise.
61961         * math/s_log1pl.c: Likewise.
61962         * math/s_tanhl.c: Likewise.
61963         * misc/acct.c: Likewise.
61964         * misc/brk.c: Likewise.
61965         * misc/chflags.c: Likewise.
61966         * misc/chroot.c: Likewise.
61967         * misc/fchflags.c: Likewise.
61968         * misc/fgetxattr.c: Likewise.
61969         * misc/flistxattr.c: Likewise.
61970         * misc/fremovexattr.c: Likewise.
61971         * misc/fsetxattr.c: Likewise.
61972         * misc/fsync.c: Likewise.
61973         * misc/ftruncate.c: Likewise.
61974         * misc/futimes.c: Likewise.
61975         * misc/futimesat.c: Likewise.
61976         * misc/getdomain.c: Likewise.
61977         * misc/getdtsz.c: Likewise.
61978         * misc/gethostid.c: Likewise.
61979         * misc/gethostname.c: Likewise.
61980         * misc/getloadavg.c: Likewise.
61981         * misc/getpagesize.c: Likewise.
61982         * misc/getsysstats.c: Likewise.
61983         * misc/getxattr.c: Likewise.
61984         * misc/gtty.c: Likewise.
61985         * misc/ioctl.c: Likewise.
61986         * misc/lgetxattr.c: Likewise.
61987         * misc/listxattr.c: Likewise.
61988         * misc/llistxattr.c: Likewise.
61989         * misc/lremovexattr.c: Likewise.
61990         * misc/lsetxattr.c: Likewise.
61991         * misc/lutimes.c: Likewise.
61992         * misc/madvise.c: Likewise.
61993         * misc/mincore.c: Likewise.
61994         * misc/mlock.c: Likewise.
61995         * misc/mlockall.c: Likewise.
61996         * misc/mmap.c: Likewise.
61997         * misc/mprotect.c: Likewise.
61998         * misc/msync.c: Likewise.
61999         * misc/munlock.c: Likewise.
62000         * misc/munlockall.c: Likewise.
62001         * misc/munmap.c: Likewise.
62002         * misc/preadv.c: Likewise.
62003         * misc/preadv64.c: Likewise.
62004         * misc/ptrace.c: Likewise.
62005         * misc/pwritev.c: Likewise.
62006         * misc/pwritev64.c: Likewise.
62007         * misc/readv.c: Likewise.
62008         * misc/reboot.c: Likewise.
62009         * misc/remap_file_pages.c: Likewise.
62010         * misc/removexattr.c: Likewise.
62011         * misc/revoke.c: Likewise.
62012         * misc/select.c: Likewise.
62013         * misc/setdomain.c: Likewise.
62014         * misc/setegid.c: Likewise.
62015         * misc/seteuid.c: Likewise.
62016         * misc/sethostid.c: Likewise.
62017         * misc/sethostname.c: Likewise.
62018         * misc/setregid.c: Likewise.
62019         * misc/setreuid.c: Likewise.
62020         * misc/setxattr.c: Likewise.
62021         * misc/sstk.c: Likewise.
62022         * misc/stty.c: Likewise.
62023         * misc/swapoff.c: Likewise.
62024         * misc/swapon.c: Likewise.
62025         * misc/sync.c: Likewise.
62026         * misc/syncfs.c: Likewise.
62027         * misc/syscall.c: Likewise.
62028         * misc/truncate.c: Likewise.
62029         * misc/ualarm.c: Likewise.
62030         * misc/usleep.c: Likewise.
62031         * misc/ustat.c: Likewise.
62032         * misc/utimes.c: Likewise.
62033         * misc/vhangup.c: Likewise.
62034         * misc/writev.c: Likewise.
62035         * posix/_exit.c: Likewise.
62036         * posix/alarm.c: Likewise.
62037         * posix/execve.c: Likewise.
62038         * posix/fexecve.c: Likewise.
62039         * posix/fork.c: Likewise.
62040         * posix/fpathconf.c: Likewise.
62041         * posix/getaddrinfo.c: Likewise.
62042         * posix/getegid.c: Likewise.
62043         * posix/geteuid.c: Likewise.
62044         * posix/getgid.c: Likewise.
62045         * posix/getgroups.c: Likewise.
62046         * posix/getlogin.c: Likewise.
62047         * posix/getlogin_r.c: Likewise.
62048         * posix/getpgid.c: Likewise.
62049         * posix/getpid.c: Likewise.
62050         * posix/getppid.c: Likewise.
62051         * posix/getresgid.c: Likewise.
62052         * posix/getresuid.c: Likewise.
62053         * posix/getsid.c: Likewise.
62054         * posix/getuid.c: Likewise.
62055         * posix/glob64.c: Likewise.
62056         * posix/nanosleep.c: Likewise.
62057         * posix/pathconf.c: Likewise.
62058         * posix/pause.c: Likewise.
62059         * posix/posix_madvise.c: Likewise.
62060         * posix/pread.c: Likewise.
62061         * posix/pread64.c: Likewise.
62062         * posix/pwrite.c: Likewise.
62063         * posix/pwrite64.c: Likewise.
62064         * posix/sched_getaffinity.c: Likewise.
62065         * posix/sched_getp.c: Likewise.
62066         * posix/sched_gets.c: Likewise.
62067         * posix/sched_primax.c: Likewise.
62068         * posix/sched_primin.c: Likewise.
62069         * posix/sched_rr_gi.c: Likewise.
62070         * posix/sched_setaffinity.c: Likewise.
62071         * posix/sched_setp.c: Likewise.
62072         * posix/sched_sets.c: Likewise.
62073         * posix/sched_yield.c: Likewise.
62074         * posix/setgid.c: Likewise.
62075         * posix/setlogin.c: Likewise.
62076         * posix/setpgid.c: Likewise.
62077         * posix/setresgid.c: Likewise.
62078         * posix/setresuid.c: Likewise.
62079         * posix/setsid.c: Likewise.
62080         * posix/setuid.c: Likewise.
62081         * posix/sleep.c: Likewise.
62082         * posix/spawni.c: Likewise.
62083         * posix/sysconf.c: Likewise.
62084         * posix/times.c: Likewise.
62085         * posix/wait.c: Likewise.
62086         * posix/wait3.c: Likewise.
62087         * posix/wait4.c: Likewise.
62088         * posix/waitpid.c: Likewise.
62089         * resolv/gai_sigqueue.c: Likewise.
62090         * resource/getpriority.c: Likewise.
62091         * resource/getrlimit.c: Likewise.
62092         * resource/getrusage.c: Likewise.
62093         * resource/nice.c: Likewise.
62094         * resource/setpriority.c: Likewise.
62095         * resource/setrlimit.c: Likewise.
62096         * resource/ulimit.c: Likewise.
62097         * rt/aio_cancel.c: Likewise.
62098         * rt/aio_fsync.c: Likewise.
62099         * rt/aio_read.c: Likewise.
62100         * rt/aio_sigqueue.c: Likewise.
62101         * rt/aio_suspend.c: Likewise.
62102         * rt/aio_write.c: Likewise.
62103         * rt/clock_getres.c: Likewise.
62104         * rt/clock_gettime.c: Likewise.
62105         * rt/clock_nanosleep.c: Likewise.
62106         * rt/clock_settime.c: Likewise.
62107         * rt/lio_listio.c: Likewise.
62108         * rt/mq_close.c: Likewise.
62109         * rt/mq_getattr.c: Likewise.
62110         * rt/mq_notify.c: Likewise.
62111         * rt/mq_open.c: Likewise.
62112         * rt/mq_receive.c: Likewise.
62113         * rt/mq_send.c: Likewise.
62114         * rt/mq_setattr.c: Likewise.
62115         * rt/mq_timedreceive.c: Likewise.
62116         * rt/mq_timedsend.c: Likewise.
62117         * rt/mq_unlink.c: Likewise.
62118         * rt/shm_open.c: Likewise.
62119         * rt/shm_unlink.c: Likewise.
62120         * rt/timer_create.c: Likewise.
62121         * rt/timer_delete.c: Likewise.
62122         * rt/timer_getoverr.c: Likewise.
62123         * rt/timer_gettime.c: Likewise.
62124         * rt/timer_settime.c: Likewise.
62125         * setjmp/__longjmp.c: Likewise.
62126         * setjmp/setjmp.c: Likewise.
62127         * signal/kill.c: Likewise.
62128         * signal/killpg.c: Likewise.
62129         * signal/raise.c: Likewise.
62130         * signal/sigaction.c: Likewise.
62131         * signal/sigaltstack.c: Likewise.
62132         * signal/sigblock.c: Likewise.
62133         * signal/sigignore.c: Likewise.
62134         * signal/sigintr.c: Likewise.
62135         * signal/signal.c: Likewise.
62136         * signal/sigpause.c: Likewise.
62137         * signal/sigpending.c: Likewise.
62138         * signal/sigqueue.c: Likewise.
62139         * signal/sigreturn.c: Likewise.
62140         * signal/sigset.c: Likewise.
62141         * signal/sigsetmask.c: Likewise.
62142         * signal/sigstack.c: Likewise.
62143         * signal/sigsuspend.c: Likewise.
62144         * signal/sigtimedwait.c: Likewise.
62145         * signal/sigvec.c: Likewise.
62146         * signal/sigwait.c: Likewise.
62147         * signal/sigwaitinfo.c: Likewise.
62148         * signal/sysv_signal.c: Likewise.
62149         * socket/accept.c: Likewise.
62150         * socket/accept4.c: Likewise.
62151         * socket/bind.c: Likewise.
62152         * socket/connect.c: Likewise.
62153         * socket/getpeername.c: Likewise.
62154         * socket/getsockname.c: Likewise.
62155         * socket/getsockopt.c: Likewise.
62156         * socket/isfdtype.c: Likewise.
62157         * socket/listen.c: Likewise.
62158         * socket/recv.c: Likewise.
62159         * socket/recvfrom.c: Likewise.
62160         * socket/recvmsg.c: Likewise.
62161         * socket/send.c: Likewise.
62162         * socket/sendmsg.c: Likewise.
62163         * socket/sendto.c: Likewise.
62164         * socket/setsockopt.c: Likewise.
62165         * socket/shutdown.c: Likewise.
62166         * socket/sockatmark.c: Likewise.
62167         * socket/socket.c: Likewise.
62168         * socket/socketpair.c: Likewise.
62169         * stdio-common/ctermid.c: Likewise.
62170         * stdio-common/cuserid.c: Likewise.
62171         * stdio-common/remove.c: Likewise.
62172         * stdio-common/rename.c: Likewise.
62173         * stdio-common/renameat.c: Likewise.
62174         * stdio-common/tempname.c: Likewise.
62175         * stdlib/getcontext.c: Likewise.
62176         * stdlib/makecontext.c: Likewise.
62177         * stdlib/setcontext.c: Likewise.
62178         * stdlib/swapcontext.c: Likewise.
62179         * stdlib/system.c: Likewise.
62180         * streams/fattach.c: Likewise.
62181         * streams/fdetach.c: Likewise.
62182         * streams/getmsg.c: Likewise.
62183         * streams/getpmsg.c: Likewise.
62184         * streams/putmsg.c: Likewise.
62185         * streams/putpmsg.c: Likewise.
62186         * sysdeps/unix/bsd/getpt.c: Likewise.
62187         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62188         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62189         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62191         Likewise.
62192         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62193         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62194         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62195         * sysvipc/msgctl.c: Likewise.
62196         * sysvipc/msgget.c: Likewise.
62197         * sysvipc/msgrcv.c: Likewise.
62198         * sysvipc/msgsnd.c: Likewise.
62199         * sysvipc/semctl.c: Likewise.
62200         * sysvipc/semget.c: Likewise.
62201         * sysvipc/semop.c: Likewise.
62202         * sysvipc/semtimedop.c: Likewise.
62203         * sysvipc/shmat.c: Likewise.
62204         * sysvipc/shmctl.c: Likewise.
62205         * sysvipc/shmdt.c: Likewise.
62206         * sysvipc/shmget.c: Likewise.
62207         * termios/tcdrain.c: Likewise.
62208         * termios/tcflow.c: Likewise.
62209         * termios/tcflush.c: Likewise.
62210         * termios/tcgetattr.c: Likewise.
62211         * termios/tcgetpgrp.c: Likewise.
62212         * termios/tcsendbrk.c: Likewise.
62213         * termios/tcsetattr.c: Likewise.
62214         * termios/tcsetpgrp.c: Likewise.
62215         * time/adjtime.c: Likewise.
62216         * time/clock.c: Likewise.
62217         * time/getitimer.c: Likewise.
62218         * time/gettimeofday.c: Likewise.
62219         * time/setitimer.c: Likewise.
62220         * time/settimeofday.c: Likewise.
62221         * time/stime.c: Likewise.
62222         * time/time.c: Likewise.
62224 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62226         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62227         /usr/old/bin.
62229         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62230         instead of spaces.
62231         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62233 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62235         [BZ #14796]
62236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62237         FE_TONEAREST before applying Dekker multiplication and Knuth
62238         addition.  Clear inexact exceptions and check for exact zero
62239         results afterwards.
62240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62243         * math/libm-test.inc (fma_test): Add more tests.
62244         (fma_test_towardzero): Likewise.
62245         (fma_test_downward): Likewise.
62246         (fma_test_upward): Likewise.
62247         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62248         function.
62249         (libc_fesetround): New macro.
62250         (libc_fesetroundf): Likewise.
62251         (libc_fesetroundl): Likewise.
62252         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62253         function.
62254         (libc_fesetround_387): Likewise.
62255         (libc_fesetroundf): New macro.
62256         (libc_fesetround): Likewise.
62257         (libc_fesetroundl): Likewise.
62258         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62259         function.
62260         (libc_fesetroundf): New macro.
62261         (libc_fesetround): Likewise.
62262         (libc_fesetroundl): Likewise.
62263         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62264         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62265         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62266         libm_hidden_ver.
62267         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62268         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62269         libm_hidden_def.
62270         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62271         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62272         libm_hidden_ver.
62273         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62274         libm_hidden_def.
62276         [BZ #3439]
62277         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62278         integer constant usable in #if and use that to give value to enum
62279         constant.
62280         (FE_DIVBYZERO): Likewise.
62281         (FE_UNDERFLOW): Likewise.
62282         (FE_OVERFLOW): Likewise.
62283         (FE_INVALID): Likewise.
62284         (FE_INVALID_SNAN): Likewise.
62285         (FE_INVALID_ISI): Likewise.
62286         (FE_INVALID_IDI): Likewise.
62287         (FE_INVALID_ZDZ): Likewise.
62288         (FE_INVALID_IMZ): Likewise.
62289         (FE_INVALID_COMPARE): Likewise.
62290         (FE_INVALID_SOFTWARE): Likewise.
62291         (FE_INVALID_SQRT): Likewise.
62292         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62293         (FE_TONEAREST): Likewise.
62294         (FE_TOWARDZERO): Likewise.
62295         (FE_UPWARD): Likewise.
62296         (FE_DOWNWARD): Likewise.
62297         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62298         (FE_DIVBYZERO): Likewise.
62299         (FE_OVERFLOW): Likewise.
62300         (FE_UNDERFLOW): Likewise.
62301         (FE_INEXACT): Likewise.
62302         (FE_TONEAREST): Likewise.
62303         (FE_DOWNWARD): Likewise.
62304         (FE_UPWARD): Likewise.
62305         (FE_TOWARDZERO): Likewise.
62306         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62307         (FE_UNDERFLOW): Likewise.
62308         (FE_OVERFLOW): Likewise.
62309         (FE_DIVBYZERO): Likewise.
62310         (FE_INVALID): Likewise.
62311         (FE_TONEAREST): Likewise.
62312         (FE_TOWARDZERO): Likewise.
62313         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62314         (FE_OVERFLOW): Likewise.
62315         (FE_UNDERFLOW): Likewise.
62316         (FE_DIVBYZERO): Likewise.
62317         (FE_INEXACT): Likewise.
62318         (FE_TONEAREST): Likewise.
62319         (FE_TOWARDZERO): Likewise.
62320         (FE_UPWARD): Likewise.
62321         (FE_DOWNWARD): Likewise.
62322         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62323         (FE_DIVBYZERO): Likewise.
62324         (FE_OVERFLOW): Likewise.
62325         (FE_UNDERFLOW): Likewise.
62326         (FE_INEXACT): Likewise.
62327         (FE_TONEAREST): Likewise.
62328         (FE_DOWNWARD): Likewise.
62329         (FE_UPWARD): Likewise.
62330         (FE_TOWARDZERO): Likewise.
62332 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62334         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62336 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62338         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62339         commands.  Quote $PWD.
62340         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62341         -x" by "export".
62342         (remove_newlines): Remove.
62344 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62346         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62347         * stdlib/stdlib.h (atof): Moved to ...
62348         * include/bits/stdlib-float.h: Here.  New file.
62349         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62350         * stdlib/bits/stdlib-float.h: New file.
62351         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62352         -mno-sse -mno-mmx.
62353         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62354         <xmmintrin.h>.
62356 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62358         * conform/conformtest.pl (@headers): Add fenv.h.
62359         * conform/data/fenv.h-data: New file.
62360         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62361         include of <math/fenv.h>.
62363         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62364         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62365         && !UNIX98].  Enables tests for XOPEN2K8.
62366         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62367         POSIX2008]: Likewise.
62369         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62370         (struct rusage): Do not expect type or its members.
62372         [BZ #3439]
62373         * math/math.h (FP_NAN): Define macro to integer constant usable in
62374         #if and use that to give value to enum constant.
62375         (FP_INFINITE): Likewise.
62376         (FP_ZERO): Likewise.
62377         (FP_SUBNORMAL): Likewise.
62378         (FP_NORMAL): Likewise.
62380 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62382         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62383         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62384         arguments.
62386 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62388         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62389         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62390         autoconf-time if not.
62391         * configure.in: Remove AC_PREREQ.
62393 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62395         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62396         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62397         of the internal implementation.
62399 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62401         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62402         except include of <misc/sys/syslog.h>.
62404 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62407         function returns with a NULL context exit with zero.
62409 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62411         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62413 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62415         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62416         (run_program_cmd): This.
62417         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62418         (tst_langinfo): New variable.  Use it.
62420 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62422         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62423         floating point opcodes.
62425 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62427         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62428         variable.
62430         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62432         * sysdeps/mach/hurd/powerpc: Remove directory.
62433         * sysdeps/mach/powerpc: Likewise.
62435 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62437         * scripts/check-local-headers.sh: Ignore c++ headers.
62439 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62441         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62442         __libc_cleanup_region_start argument.
62444 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62446         [BZ #14784]
62447         [BZ #14785]
62448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62449         x * y using scaling, not as x * y + z.
62450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62452         * math/libm-test.inc (fma_test): Add more tests.
62453         (fma_test_towardzero): Likewise.
62454         (fma_test_downward): Likewise.
62455         (fma_test_upward): Likewise.
62457 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62459         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62461 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62463         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62464         New variable.
62466 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62468         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62470 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62473         Fix sort order.
62474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62475         Likewise.
62477 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62480         Fix the order of the list for glibc 2.17.
62481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62482         Likewise.
62484 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62488 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62490         [BZ #14610]
62491         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62492         for low part of x being zero before using __atanl (y).
62493         * math/libm-test.inc (atan2_test): Add another test.
62495         * manual/install.texi (Configuring and compiling): Document
62496         general use of test-wrapper and test-wrapper-env.
62497         * INSTALL: Regenerated.
62499         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62500         (__fma): Do not extract and scale down low bits on after-rounding
62501         systems when result rounded to normal precision would have normal
62502         exponent.
62503         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62504         (__fmal): Do not extract and scale down low bits on after-rounding
62505         systems when result rounded to normal precision would have normal
62506         exponent.
62507         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62508         (__fmal): Do not extract and scale down low bits on after-rounding
62509         systems when result rounded to normal precision would have normal
62510         exponent.
62511         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62512         macro.
62513         (fma_test): Add more tests.
62514         (fma_test_towardzero): Likewise.
62515         (fma_test_downward): Likewise.
62516         (fma_test_upward): Likewise.
62518 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62520         * sysdeps/i386/tininess.h: Renamed to ...
62521         * sysdeps/x86/tininess.h: This.
62522         * sysdeps/x86_64/tininess.h: Removed.
62524 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62526         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62527         input.  Use $(build-program-cmd).
62528         ($(objpfx)tst-array1-static.out): Likewise.
62529         ($(objpfx)tst-array2.out): Likewise.
62530         ($(objpfx)tst-array3.out): Likewise.
62531         ($(objpfx)tst-array4.out): Likewise.
62532         ($(objpfx)tst-array5.out): Likewise.
62533         ($(objpfx)tst-array5-static.out): Likewise.
62535 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62537         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62538         if defined.
62540         * nss/nsswitch.h (nss_interface_function): Provide new
62541         macro for use with NSS functions.
62542         * grp/initgroups.c: Use new macro.
62543         * nss/getXXbyYY.c: Likewise.
62544         * nss/getXXbyYY_r.c: Likewise.
62545         * nss/getXXent.c: Likewise.
62546         * nss/getXXent_r.c: Likewise.
62547         * sysdeps/posix/getaddrinfo.c: Likewise.
62549 2012-10-30  Andreas Jaeger  <aj@suse.de>
62551         * po/ru.po: Update Russion translation from translation project.
62553 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62555         [BZ #14152]
62556         [BZ #14783]
62557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62558         result and shift together with sticky bit instead of replicating
62559         round-to-nearest rounding.
62560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62561         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62562         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62563         missing underflow exceptions.
62564         (fma_test_towardzero): Add more tests.
62565         (fma_test_downward): Likewise.
62566         (fma_test_upward): Likewise.
62568         [BZ #14047]
62569         * sysdeps/generic/tininess.h: New file.
62570         * sysdeps/i386/tininess.h: Likewise.
62571         * sysdeps/sh/tininess.h: Likewise.
62572         * sysdeps/x86_64/tininess.h: Likewise.
62573         * stdlib/tst-strtod-underflow.c: Likewise.
62574         * stdlib/tst-tininess.c: Likewise.
62575         * stdlib/strtod_l.c: Include <tininess.h>.
62576         (round_and_return): Do not set errno for exact underflow cases.
62577         Force an underflow exception when setting errno for underflow.
62578         Determine underflow based on rounding to normal precision if
62579         TININESS_AFTER_ROUNDING.
62580         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62581         ERANGE for exact underflow cases.
62582         * stdlib/Makefile (tests): Add tst-tininess and
62583         tst-strtod-underflow.
62584         ($(objpfx)tst-tininess): Use $(link-libm).
62585         ($(objpfx)tst-strtod-underflow): Likewise.
62587 2012-10-30  Andreas Jaeger  <aj@suse.de>
62589         [BZ#14767]
62590         * elf/Makefile (tests): Remove conditional for have-initfini-array
62591         since this is now always required and the variable does not exist
62592         anymore.
62593         (tests-static): Likewise.
62594         (modules-names): Likewise.
62596         * po/eo.po: Add Esperanto translation from translation project.
62598         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62599         merged with constructor/destructor.
62600         (init_array): Likewise.
62601         * elf/tst-array2dep.c (fini_array): Likewise.
62602         (init_array): Likewise.
62604 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62606         * manual/message.texi: Delete @cartouche tags.
62608 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62610         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62611         EOPNOTSUPP.
62612         * sysdeps/mach/hurd/fsync.c: Likewise.
62614         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62615         [_POSIX_REALTIME_SIGNALS]: Change condition to
62616         [_POSIX_REALTIME_SIGNALS > 0].
62618 2012-10-27  Andreas Jaeger  <aj@suse.de>
62620         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62621         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62623         [__WORDSIZE != 64]: Likewise.
62625 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62627         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62628         *  iconvdata/tst-tables.sh: Likewise.
62630 2012-10-25  David S. Miller  <davem@davemloft.net>
62632         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62633         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62634         of strtoull.
62636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62637         ifunc-impl-list.c
62638         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62639         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62640         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62641         file.
62643 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62645         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62646         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62647         __getdirentries.
62649 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62650             Jim Blandy  <jimb@codesourcery.com>
62652         * scripts/cross-test-ssh.sh: New file.
62653         * manual/install.texi (Configuring and compiling): Document use of
62654         cross-test-ssh.sh.
62655         * INSTALL: Regenerated.
62657 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62659         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62660         EOPNOTSUPP.
62662 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62664         * Makeconfig (run-program-prefix): Fix comment.
62666 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62667             Jim Blandy  <jimb@codesourcery.com>
62669         * Makeconfig (test-wrapper): New variable,
62670         (test-wrapper-env): Likewise.
62671         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62672         (run-built-tests): Define to yes.
62673         (run-program-prefix): Use $(test-wrapper).
62674         (built-program-cmd): Likewise.
62675         * Rules (make-test-out): Use $(test-wrapper-env) and
62676         $(host-built-program-cmd).
62677         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62678         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62679         tst-pathopt.sh.
62680         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62681         $(test-wrapper-env) to tst-rtld-load-self.sh.
62682         ($(objpfx)order2.out): Use $(test-wrapper).
62683         ($(objpfx)tst-initorder.out): Likewise.
62684         ($(objpfx)tst-initorder2.out): Likewise.
62685         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62686         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62687         (test_wrapper_env): New variable.  Use it to run ld.so.
62688         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62689         Use it to run ld.so.
62690         (test_wrapper_env): Likewise.
62691         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62692         $(test-wrapper) to run-iconv-test.sh.
62693         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62694         (ICONV): Use $test_wrapper.
62695         * posix/Makefile ($(objpfx)globtest.out): Pass
62696         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62697         globtest.sh, not $(run-program-prefix).
62698         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62699         (test_wrapper): Likewise.
62700         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62701         set together with run_via_rtld_prefix.
62702         (run_program_prefix): Define in terms of test_wrapper and
62703         run_via_rtld_prefix.
62705 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62707         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62708         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62709         Targets removed.
62711         [BZ #14743]
62712         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62713         Declare __clock_getres, __clock_gettime, __clock_settime,
62714         __clock_nanosleep, and __clock_getcpuclockid.
62715         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62716         Remove librt_hidden_def (clock_gettime).
62717         * sysdeps/unix/clock_gettime.c: Likewise.
62718         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62719         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62720         * rt/clock_getres.c: Define __clock_getres as an alias.
62721         * sysdeps/posix/clock_getres.c: Likewise.
62722         * rt/clock_settime.c: Define __clock_settime as an alias.
62723         * sysdeps/unix/clock_settime.c: Likewise.
62724         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62725         * sysdeps/unix/clock_nanosleep.c: Likewise.
62726         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62727         * rt/clock-compat.c: New file.
62728         * rt/Makefile (librt-routines): Add clock-compat and move
62729         $(clock-routines) to ...
62730         (routines): ... here, new variable.
62731         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62732         Don't add get_clockfreq here.
62733         * rt/Versions (libc: GLIBC_2.17): New version set.
62734         Add clock_* symbols here.
62735         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62736         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62737         (GLIBC_2.17): Add clock_* symbols.
62738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62740         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62742         Likewise.
62743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62744         Likewise.
62745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62749         * NEWS: Mention the move.
62751         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62752         Use __open, __read, __close rather than their public counterparts.
62753         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62754         (__get_clockfreq_via_cpuinfo): Likewise.
62755         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62756         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62758         * config.h.in (HAVE_IFUNC): New #undef.
62759         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62760         was successful.
62761         * configure: Regenerated.
62763 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62765         * configure.in: Move READELF check to start of file.
62766         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62767         libc_cv_asm_gnu_indirect_function in the process.
62768         * configure: Regenerated.
62770 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62772         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62773         send the output to /dev/null.
62774         (libc_cv_cc_with_libunwind): Likewise.
62775         (libc_cv_as_noexecstack): Likewise.
62776         * configure: Regenerate.
62778 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62780         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62782         * posix/globtest.sh (TMPDIR): Do not set.
62783         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62784         (testout): Likewise.
62786 2012-10-24  Andreas Jaeger  <aj@suse.de>
62788         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62789         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62790         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62791         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62792         posix_fadvise64, posix_fallocate64.
62794         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62795         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62796         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62797         Likewise.
62798         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62799         Likewise.
62800         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62803         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62804         <bits/fcntl-linux.h>.
62805         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62807         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62808         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62809         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62810         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62811         [__WORDSIZE != 64]: Likewise.
62813 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62815         * Makeconfig (run-built-tests): New variable.
62816         * Rules [$(cross-compiling) = yes]: Change condition to
62817         [$(run-built-tests) = no].
62818         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62819         to [$(run-built-tests) = yes].
62820         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62821         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62822         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62823         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62824         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62825         * io/Makefile [$(cross-compiling) = no]: Likewise.
62826         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62827         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62828         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62829         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62830         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62831         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62832         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62833         * string/Makefile [$(cross-compiling) = no]: Likewise.
62835         * posix/Makefile ($(objpfx)globtest.out): Pass
62836         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62837         $(rtld-installed-name).
62838         * posix/globtest.sh (elf_objpfx): Remove variable.
62839         (rtld_installed_name): Likewise.
62840         (library_path): Likewise.
62841         (run_program_prefix): New variable.  Use for running globtest
62842         binary.
62844 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62845             Joseph Myers  <joseph@codesourcery.com>
62847         * Makeconfig (host-built-program-cmd): New variable.
62848         * elf/Makefile (tst-stackguard1-ARGS): Use
62849         $(host-built-program-cmd).
62850         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62851         (tst-spawn-ARGS): Likewise.
62852         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62854 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62855             Jim Blandy  <jimb@codesourcery.com>
62857         * Makeconfig (run-via-rtld-prefix): New variable.
62858         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62859         (built-program-cmd): Likewise.
62861 2012-10-22  Andreas Jaeger  <aj@suse.de>
62863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62864         __O_RSYNC if it exists, otherwise to O_SYNC.
62866 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62867             Joseph Myers  <joseph@codesourcery.com>
62869         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62870         /dev/null.
62871         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62872         from /dev/null
62873         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62874         /dev/null.
62876 2012-10-22  Andreas Jaeger  <aj@suse.de>
62878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62879         Define always.
62880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62882         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62883         bits/fcntl-linux.h.
62885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62886         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62889         to __O_LARGEFILE.
62890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62891         to __O_LARGEFILE.
62893 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62894             Joseph Myers  <joseph@codesourcery.com>
62896         * config.make.in (NM): New variable.
62898 2012-10-21  Andreas Jaeger  <aj@suse.de>
62900         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62901         definitions and declarations that are provided by
62902         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62904 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62906         [BZ #14683]
62907         * elf/Makefile (tests-static): Add tst-leaks1-static.
62908         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62909         ($(objpfx)tst-leaks1-static): New rule.
62910         ($(objpfx)tst-leaks1-static-mem): Likewise.
62911         (tst-leaks1-static-ENV): New macro.
62912         * elf/dl-open.c (dl_open_worker): Check the main application
62913         only if SHARED is defined.
62914         * elf/tst-leaks1-static.c: New file.
62916 2012-10-20  Andreas Jaeger  <aj@suse.de>
62918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62919         generic values for Linux.
62920         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62921         and declarations that are provided by <bits/fcntl-linux.h> and
62922         include <bits/fcntl-linux.h>.
62923         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62926 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62928         * io/fcntl.h: Move include of <bits/types.h> to the top and
62929         include it unconditionally.
62931 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62933         * wcsmbs/Makefile (tests-ifunc): New variable.
62934         (tests): Add $(tests-ifunc).
62935         * wcsmbs/test-wcschr-ifunc.c: New file.
62936         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62937         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62938         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62939         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62940         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62942         * string/Makefile (tests-ifunc): New variable.
62943         (tests): Add $(tests-ifunc).
62944         * string/test-memccpy.c (TEST_NAME): New macro.
62945         * string/test-memchr.c (TEST_NAME): Likewise.
62946         * string/test-memcmp.c (TEST_NAME): Likewise.
62947         * string/test-memcpy.c (TEST_NAME): Likewise.
62948         * string/test-memmem.c (TEST_NAME): Likewise.
62949         * string/test-memmove.c (TEST_NAME): Likewise.
62950         * string/test-memset.c (TEST_NAME): Likewise.
62951         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62952         * string/test-stpcpy.c (TEST_NAME): Likewise.
62953         * string/test-stpncpy.c (TEST_NAME): Likewise.
62954         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62955         * string/test-strcasestr.c (TEST_NAME): Likewise.
62956         * string/test-strcat.c (TEST_NAME): Likewise.
62957         * string/test-strchr.c (TEST_NAME): Likewise.
62958         * string/test-strcmp.c(TEST_NAME): Likewise.
62959         * string/test-strcpy.c (TEST_NAME): Likewise.
62960         * string/test-strcspn.c (TEST_NAME): Likewise.
62961         * string/test-strlen.c (TEST_NAME): Likewise.
62962         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62963         * string/test-strncmp.c (TEST_NAME): Likewise.
62964         * string/test-strncpy.c (TEST_NAME): Likewise.
62965         * string/test-strnlen.c (TEST_NAME): Likewise.
62966         * string/test-strpbrk.c (TEST_NAME): Likewise.
62967         * string/test-strrchr.c (TEST_NAME): Likewise.
62968         * string/test-strspn.c (TEST_NAME): Likewise.
62969         * string/test-strstr.c (TEST_NAME): Likewise.
62970         * string/test-bcopy-ifunc.c: New file.
62971         * string/test-bzero-ifunc.c: Likewise.
62972         * string/test-memccpy-ifunc.c: Likewise.
62973         * string/test-memchr-ifunc.c: Likewise.
62974         * string/test-memcmp-ifunc.c: Likewise.
62975         * string/test-memcpy-ifunc.c: Likewise.
62976         * string/test-memmem-ifunc.c: Likewise.
62977         * string/test-memmove-ifunc.c: Likewise.
62978         * string/test-mempcpy-ifunc.c: Likewise.
62979         * string/test-memset-ifunc.c: Likewise.
62980         * string/test-rawmemchr-ifunc.c: Likewise.
62981         * string/test-stpcpy-ifunc.c: Likewise.
62982         * string/test-stpncpy-ifunc.c: Likewise.
62983         * string/test-strcasecmp-ifunc.c: Likewise.
62984         * string/test-strcasestr-ifunc.c: Likewise.
62985         * string/test-strcat-ifunc.c: Likewise.
62986         * string/test-strchr-ifunc.c: Likewise.
62987         * string/test-strchrnul-ifunc.c: Likewise.
62988         * string/test-strcmp-ifunc.c: Likewise.
62989         * string/test-strcpy-ifunc.c: Likewise.
62990         * string/test-strcspn-ifunc.c: Likewise.
62991         * string/test-strlen-ifunc.c: Likewise.
62992         * string/test-strncasecmp-ifunc.c: Likewise.
62993         * string/test-strncat-ifunc.c: Likewise.
62994         * string/test-strncmp-ifunc.c: Likewise.
62995         * string/test-strncpy-ifunc.c: Likewise.
62996         * string/test-strnlen-ifunc.c: Likewise.
62997         * string/test-strpbrk-ifunc.c: Likewise.
62998         * string/test-strrchr-ifunc.c: Likewise.
62999         * string/test-strspn-ifunc.c: Likewise.
63000         * string/test-strstr-ifunc.c: Likewise.
63002         * debug/Makefile (tests-ifunc): New variable.
63003         (tests): Add $(tests-ifunc).
63004         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63005         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63006         * debug/test-stpcpy_chk-ifunc.c: New file.
63007         * debug/test-strcpy_chk-ifunc.c: Likewise.
63009 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63011         [BZ #13601]
63012         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63013         header is not read in.
63015 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63017         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63018         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63019         directly.  Pass built executable to script as
63020         $(built-program-cmd).
63021         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63022         $testprogram without using LD_LIBRARY_PATH and $ldso.
63024         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63025         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63026         $(rtld-installed-name).
63027         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63028         (rtld_installed_name): Likewise.
63029         (library_path): Likewise.
63030         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63031         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63032         $(run-program-prefix) to tst-tables.sh.
63033         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63034         it to run tst-table-from and tst-table-to.
63035         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63036         Pass it to tst-table.sh.
63037         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63038         $(run-program-prefix) to tst-gettext.sh.
63039         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63040         tst-translit.sh.
63041         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63042         tst-gettext2.sh.
63043         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63044         to run tst-gettext.
63045         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63046         to run tst-gettext2.
63047         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63048         to run tst-translit.
63049         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63050         $(run-program-prefix) to tst-mtrace.sh.
63051         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63052         to run tst-mtrace.
63053         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63054         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63055         $(rtld-installed-name).
63056         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63057         (rtld_installed_name): Likewise.
63058         (run_program_prefix): New variable.  Use it to run wordexp-test.
63060         * Makeconfig (ARCH): Remove all definitions.
63061         (machine): Likewise.
63062         [ARCH]: Remove conditional code.
63063         [!objdir]: Give error.
63064         [!objdir] (objpfx): Remove.
63065         [!objdir] (common-objpfx): Likewise.
63066         [!objdir] (common-objdir): Likewise.
63067         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63068         AC_CONFIG_FILES call.
63069         * configure: Regenerated.
63071         [BZ #13888]
63072         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63073         or TMPDIR.
63074         (testout): Likewise.
63076         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63077         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63078         $(rtld-installed-name).
63079         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63080         (rtld_installed_name): Likwise.
63081         (runit): Remove function.
63082         (run_getconf): New variable,  Use it for running getconf binary.
63084 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63086         [BZ #14716]
63087         * string/test-memmem.c (check_result): New function.
63088         (do_one_test): Use it.
63089         (check1): New function.
63090         (test_main): Use it.
63092 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63094         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63096 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63098         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63099         (_G_LSEEK64): Likewise.
63100         (_G_MMAP64): Likewise.
63101         (_G_FSTAT64): Likewise.
63102         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63103         (_G_LSEEK64): Likewise.
63104         (_G_MMAP64): Likewise.
63105         (_G_FSTAT64): Likewise.
63106         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63107         unconditional.  Call __mmap64 directly.
63108         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63109         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63110         __lseek64 directly.
63111         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63112         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63113         __mmap64 directly.
63114         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63115         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63116         __lseek64 directly.
63117         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63118         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63119         __lseek64 directly.
63120         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63121         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63122         __lseek64 directly.
63123         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63124         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63125         __fxstat64 directly.
63126         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63127         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63128         unconditional.
63129         (freopen64) [!_G_OPEN64]: Remove conditional code.
63130         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63131         unconditional.
63132         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63133         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63134         unconditional.
63135         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63136         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63137         unconditional.
63138         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63139         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63140         unconditional.
63141         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63142         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63143         unconditional.
63144         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63145         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63146         unconditional.
63147         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63148         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63149         unconditional.
63150         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63152 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63154         [BZ #12140]
63155         * manual/memory.texi (Malloc Tunable Parameters): Add note
63156         about free list pointers overwriting some perturb bytes.
63157         Wording suggested by Roland McGrath.
63159 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63161         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63162         (lgamma_test): Likewise.
63163         (tgamma_test): Likewise.
63165 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63167         [BZ #14700]
63168         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63169         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63171 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63173         * NEWS: Mention BZ #14716.
63174         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63175         when removing AVAILABLE1_USES_J macro.
63177 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63179         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63180         (__bswap_64): __uint64_t for unsigned 64-bit int.
63182 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63184         * include/string.h (memmem): Declare libc hidden alias.
63185         * string/memmem.c (memmem): Define libc hidden alias.
63186         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63187         __read, __close instead of open, read, close.
63189 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63192         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63193         global and hidden.
63194         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63195         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63196         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63197         Likewise.
63198         (__rawmemchr_sse2): Likewise.
63199         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63200         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63201         (__strchr_sse2): Likewise.
63202         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63203         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63204         (__strcasecmp_sse2): Likewise.
63205         (__strncasecmp_sse2): Likewise.
63206         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63207         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63208         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63209         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63210         (__strrchr_sse2): Likewise.
63211         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63212         ifunc-impl-list.c.
63213         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63214         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63215         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63216         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63217         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63219         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63220         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63221         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63222         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63223         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63224         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63225         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63226         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63227         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63228         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63229         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63230         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63231         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63232         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63233         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63234         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63235         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63236         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63237         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63238         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63239         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63240         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63241         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63242         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63244         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63245         global and hidden.
63246         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63247         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63248         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63249         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63250         Likewise.
63251         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63252         Likewise.
63253         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63254         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63255         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63256         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63257         ifunc-impl-list.c.
63258         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63259         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63260         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63261         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63262         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63263         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63264         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63265         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63266         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63267         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63268         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63269         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63270         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63271         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63272         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63273         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63274         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63275         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63276         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63277         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63278         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63279         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63280         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63281         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63282         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63283         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63284         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63285         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63286         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63287         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63288         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63289         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63290         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63291         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63292         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63293         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63294         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63295         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63296         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63297         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63298         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63300         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63301         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63302         * include/ifunc-impl-list.h: New file.
63303         * misc/ifunc-impl-list.c: Likewise.
63304         * misc/Makefile (routines): Add ifunc-impl-list.
63305         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63306         * string/test-string.h: Include <ifunc-impl-list.h>.
63307         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63308         TEST_NAME]: New variables.
63309         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63310         are defined.
63311         (test_init): Call __libc_ifunc_impl_list to initialize
63312         func_list if TEST_IFUNC and TEST_NAME are defined.
63314         * string/Makefile (strop-tests): Add bcopy and bzero.
63315         * string/test-bcopy.c: New file.
63316         * string/test-bzero.c: Likewise.
63317         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63318         defined.
63319         * string/test-memset.c: Support bzero test if TEST_BZERO is
63320         defined.
63321         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63322         __libc_memmove.
63323         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63324         __libc_memset.
63325         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63326         of memset.
63328 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63330         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63331         * configure: Regenerated.
63333         * Makeconfig (+link-static-before-libc): Don't include
63334         $(link-static-libc).
63336         * libio/libio.h (_IO_pos_t): Remove.
63338 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63340         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63341         McGrath.
63343 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63345         * crypt/crypt-entry.c: Include fips-private.h.
63346         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63347         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63348         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63349         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63351 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63353         * crypt/crypt-private.h: Include stdbool.h.
63354         (_ufc_setup_salt_r): Return bool.
63355         * crypt/crypt-entry.c: Include errno.h.
63356         (__crypt_r): Return NULL with EINVAL for bad salt.
63357         * crypt/crypt_util.c (bad_for_salt): New.
63358         (_ufc_setup_salt_r): Check that salt is long enough and within
63359         the specified alphabet.
63360         * crypt/badsalttest.c: New file.
63361         * crypt/Makefile (tests): Add it.
63362         ($(objpfx)badsalttest): New.
63364 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63366         * NEWS: Add entry for BZ #14602.
63368 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63370         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63371         type-generic.
63372         * math/libm-test.inc: Update comment listing what functions and
63373         macros are tested.
63374         (isgreater_test): New function.
63375         (isgreaterequal_test): Likewise.
63376         (isless_test): Likewise.
63377         (islessequal_test): Likewise.
63378         (islessgreater_test): Likewise.
63379         (isunordered_test): Likewise.
63380         (main): Call the new functions.
63382 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63384         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63385         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63386         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63387         * sysdeps/i386/configure: Regenerated.
63388         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63389         * sysdeps/mach/configure: Regenerated.
63390         * sysdeps/mach/hurd/configure: Regenerated.
63391         * sysdeps/powerpc/configure: Regenerated.
63392         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63393         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63394         * sysdeps/s390/s390-32/configure: Regenerated.
63395         * sysdeps/s390/s390-64/configure: Regenerated.
63396         * sysdeps/sh/configure: Regenerated.
63397         * sysdeps/sparc/configure: Regenerated.
63398         * sysdeps/unix/sysv/linux/configure: Regenerated.
63399         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63400         * sysdeps/x86_64/configure: Regenerated.
63402         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63403         defined.  Don't check if MAP is NULL.
63405 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63407         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63408         (_G_stat64): Likewise.
63409         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63410         (_G_stat64): Likewise.
63411         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63412         instead of struct _G_stat64.
63413         * libio/fileops.c (mmap_remap_check): Likewise.
63414         (decide_maybe_mmap): Likewise.
63415         (_IO_new_file_seekoff): Likewise.
63416         (_IO_file_stat): Likewise.
63417         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63418         _G_off64_t.
63419         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63420         instead of struct _G_stat64.
63421         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63423 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63425         [BZ #14602]
63426         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63427         Replace with ...
63428         (CHECK_EOL): New macro.
63429         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63430         CHECK_EOL.
63431         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63432         Replace with CHECK_EOL.
63433         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63434         Replace with CHECK_EOL.
63436 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63438         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63439         type-generic.
63440         * math/libm-test.inc: Update comment listing what functions and
63441         macros are tested.
63442         (finite_test): New function.
63443         (isinf_test): Likewise.
63444         (isnan_test): Likewise.
63445         (fpclassify_test): Test subnormal input.
63446         (isfinite_test): Likewise.
63447         (isnormal_test): Likewise.
63448         (main): Call the new functions.
63450 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63452         [BZ #14660]
63453         * Makerules (%.dynsym): Force C locale when running
63454         $(OBJDUMP) --dynamic-syms.
63456 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63458         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63459         <stdint.h>.
63461 2012-10-06  David S. Miller  <davem@davemloft.net>
63463         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63464         upper 32-bits of the length value in %o2 since we use branch-on-register
63465         tests which consider the entire 64-bit register.
63467 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63469         * string/test-strstr.c (check2): Add a test for page boundary.
63471 2012-10-05  David S. Miller  <davem@davemloft.net>
63473         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63474         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63475         file.
63476         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63477         sysdep_routines.
63478         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63479         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63480         and bzero when HWCAP_SPARC_CRYPTO is present.
63482 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63484         [BZ #14602]
63485         * string/test-strstr.c (check2): New function.
63486         (test_main): Call check2.
63488         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63489         and bug-strchr1.
63490         * string/bug-strcasestr1.c (do_test): Moved to ...
63491         * string/test-strcasestr.c (check1): Here.  New function.
63492         (do_one_test): Break out result checking code into ...
63493         (check_result): This.  New function.
63494         (do_one_test): Call check_result.
63495         (test_main): Call check1.
63496         * string/bug-strchr1.c (do_test): Moved to ...
63497         * string/test-strchr.c (check1): Here.  New function.
63498         (do_one_test): Break out result checking code into ...
63499         (check_result): This.  New function.
63500         (do_one_test): Call check_result.
63501         (test_main): Call check1.
63502         * string/bug-strstr1.c (main): Moved to ...
63503         * string/test-strstr.c (check1): Here.  New function.
63504         (do_one_test): Break out result checking code into ...
63505         (check_result): This.  New function.
63506         (do_one_test): Call check_result.
63507         (test_main): Call check1.
63508         * string/bug-strcasestr1.c: Removed.
63509         * string/bug-strchr1.c: Likewise.
63510         * string/bug-strstr1.c: Likewise.
63512         * elf/Makefile (dl-routines): Add hwcaps.
63513         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63514         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63515         (_dl_important_hwcaps): Moved to ...
63516         * elf/dl-hwcaps.c: Here.  New file.
63517         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63519         [BZ #14557]
63520         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63521         if IS_IN_rtld isn't defined.
63523         * elf/dl-support.c (_dl_sysinfo_map): New.
63524         Include "get-dynamic-info.h" and "setup-vdso.h".
63525         (_dl_non_dynamic_init): Call setup_vdso.
63526         * elf/dynamic-link.h: Don't include <assert.h>.
63527         (elf_get_dynamic_info): Moved to ...
63528         * elf/get-dynamic-info.h: Here.  New file.
63529         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63530         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63531         * elf/setup-vdso.h: Here.  New file.
63532         * elf/rtld.c: Include "setup-vdso.h".
63533         (dl_main): Call setup_vdso.
63535 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63537         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63538         creal in comment listing functions tested.  List finite, isinf,
63539         isnan, isless, islessequal, isgreater, isgreaterequal,
63540         islessgreater, isunordered, lgamma_r and pow10 as functions and
63541         macros not tested.  Mention which functions not tested are aliases
63542         for other functions.  Fix typo.  Note that signs of NaNs are not
63543         tested.
63545         * scripts/config.guess: Update from config.git.
63546         * scripts/config.sub: Likewise.
63548 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63550         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63551         * misc/madvise.c (madvise): Renamed to __madvise.
63552         Make madvise a weak alias.
63553         * include/sys/mman.h: Declare __madvise.
63554         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63555         * sysdeps/unix/syscalls.list
63556         (madvise): Make __madvise the strong name, and madvise a weak alias.
63557         * sysdeps/unix/sysv/linux/syscalls.list
63558         (madvise, mmap): Remove redundant entries.
63559         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63560         * malloc/malloc.c (mtrim): Likewise.
63561         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63563 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63565         * sysdeps/mach/hurd/dl-cache.c: File removed.
63566         * config.h.in (USE_LDCONFIG): New #undef.
63567         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63568         * configure: Regenerated.
63569         * elf/Makefile (dl-routines): Add dl-cache only under
63570         [$(use-ldconfig) = yes].
63571         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63572         cache on [USE_LDCONFIG].
63573         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63574         [USE_LDCONFIG].
63575         * elf/rtld.c (dl_main): Likewise.
63577 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63579         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63580         _SC_LEVEL4_CACHE_LINESIZE.
63582 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63584         * sysdeps/unix/bsd/confstr.h: File removed.
63586 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63588         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63589         sys/sdt-config.h.
63591 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63593         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63594         Make 'mapoff' field ElfW(Off) rather than off_t.
63596 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63598         * nscd/Makefile: Remove nscd-cflags and all its users.
63599         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63600         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63602         [BZ #10631]
63603         * malloc.c (malloc_printerr): Clarify error message.
63605 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63607         [BZ #14648]
63608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63609         Set bit_FMA_Usable if FMA is supported.
63610         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63611         macro.
63612         (bit_FMA4_Usable): Updated.
63613         (index_FMA_Usable): New macro.
63614         (CPUID_FMA): Likewise.
63615         (HAS_FMA): Defined with bit_FMA_Usable.
63617 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63619         * bits/types.h (__swblk_t): Type removed.
63620         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63621         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63623         (__SWBLK_T_TYPE): Likewise.
63624         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63625         (__SWBLK_T_TYPE): Likewise.
63626         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63627         (__SWBLK_T_TYPE): Likewise.
63628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63629         (__SWBLK_T_TYPE): Likewise.
63631 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63632             Honza Horak <hhorak@redhat.com>
63634         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63635         (xdr_mapname): Use YPMAXMAP as maxsize.
63636         (xdr_peername): Use YPMAXPEER as maxsize.
63637         (xdr_keydat): Use YPAXRECORD as maxsize.
63638         (xdr_valdat): Use YPMAXRECORD as maxsize.
63640 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63642         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63644         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63645         * csu/init-first.c: ... here.
63646         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63647         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63648         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63649         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63650         * sysdeps/i386/init-first.c: File removed.
63651         * sysdeps/sh/init-first.c: File removed.
63653 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63655         [BZ #14645]
63656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63657         if x * y might underflow to zero and z is zero.
63658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63660         * math/libm-test.inc (min_subnorm_value): New variable.
63661         (fma_test): Add more tests.
63662         (fma_test_towardzero): Likewise.
63663         (fma_test_downward): Likewise.
63664         (fma_test_upward): Likewise.
63665         (initialize): Set min_subnorm_value.
63667 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63669         [BZ #14638]
63670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63671         0 + 0.
63672         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63673         mode for addition resulting in exact zero.
63674         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63675         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63676         exact 0 + 0.
63677         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63679         * math/libm-test.inc (fma_test): Add more tests.
63680         (fma_test_towardzero): New function.
63681         (fma_test_downward): Likewise.
63682         (fma_test_upward): Likewise.
63683         (main): Call the new functions.
63685 2012-09-28  David S. Miller  <davem@davemloft.net>
63687         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63689 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63691         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63692         instead of SIGALRM.
63694         * sysdeps/gnu/_G_config.h: Moved to ...
63695         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63696         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63697         * sysdeps/generic/_G_config.h: ... here.
63699         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63701         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63703         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63704         Conditionalize target on [libnss_test1.so-version].
63706         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63708         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63709         (elfobjdir): Move out of conditionals.
63711         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63712         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63713         (__nss_lookup_function): Conditionalize label remove_from_tree on
63714         [!DO_STATIC_NSS || SHARED], matching its only use.
63716 2012-09-28  David S. Miller  <davem@davemloft.net>
63718         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63719         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63720         file.
63721         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63722         sysdep_routines.
63723         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63724         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63725         when HWCAP_SPARC_CRYPTO is present.
63727 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63729         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63731 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63733         [BZ #6530]
63734         * stdio-common/vfprintf.c (process_string_arg): Revert
63735         2000-07-22 change.
63737 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63739         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63740         for testcase.
63741         * stdio-common/tst-sprintf.c: Include <locale.h>
63742         (main): Test sprintf's handling of incomplete multibyte
63743         characters.
63745 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63747         * elf/dl-runtime.c (VERSYMIDX): Removed.
63748         * elf/dl-version.c (VERSYMIDX): Likewise.
63749         * elf/do-rel.h (VERSYMIDX): Likewise.
63750         (VALIDX): Likewise.
63751         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63752         * elf/rtld.c (VALIDX): Likewise.
63753         (ADDRIDX): Likewise.
63754         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63755         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63756         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63757         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63758         (VALIDX): Likewise.
63759         (ADDRIDX): Likewise.
63761 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63763         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63765 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63767         [BZ #11438]
63768         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63769         to global scope.
63770         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63771         addresses are in the same scope as 192.0.2/24.
63772         * posix/gai.conf: Document new scope table defaults.
63774 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63776         [BZ #5298]
63777         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63778         for ftell.  Compute offsets from write pointers instead.
63779         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63781 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63783         [BZ #14543]
63784         * libio/Makefile (tests): New test case tst-fseek.
63785         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63786         combination works in wide mode.
63787         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63788         state when the external buffer state changes.
63790 2012-09-27  David S. Miller  <davem@davemloft.net>
63792         [BZ #14376]
63793         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63794         pass reloc->r_addend in as the 'high' argument to
63795         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63799 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63801         * rt/tst-aio2.c: Include <pthread.h>.
63802         * rt/tst-aio3.c: Likewise.
63804 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63806         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63808 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63810         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63811         contents on [SHARED].
63813 2012-09-26  Marek Polacek  <polacek@redhat.com>
63815         [BZ #14530]
63816         [BZ #13741]
63817         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63818         for C++ and GCC <4.3 as well as for non GCC compilers.
63820 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63824 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63826         * Makefile.in (all, install): Declare with .PHONY.
63827         Reported by Michael Hope <michael.hope@linaro.org>.
63829 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63831         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63832         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63833         system header.
63834         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63835         Likewise.
63836         (sydep_routines): Add the new and the internal functions.
63837         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63838         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63840         (GLIBC_2.17): Add the new function.
63841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63842         (GLIBC_2.17): Likewise.
63843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63844         (GLIBC_2.17): Likewise.
63845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63846         (GLIBC_2.17): Likewise.
63847         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63849 2012-09-25  Alan Modra  <amodra@gmail.com>
63851         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63852         Add release barrier before setting once_control to say
63853         initialisation is done.  Add hints on lwarx.  Use macro in
63854         place of isync.
63855         (clear_once_control): Add release barrier.
63857 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63859         [BZ #13629]
63860         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63861         specially.
63862         * math/s_clog10.c (__clog10): Likewise.
63863         * math/s_clog10f.c (__clog10f): Likewise.
63864         * math/s_clog10l.c (__clog10l): Likewise.
63865         * math/s_clogf.c (__clogf): Likewise.
63866         * math/s_clogl.c (__clogl): Likewise.
63867         * math/Makefile (libm-calls): Add x2y2m1.
63868         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63869         (__x2y2m1): Likewise.
63870         (__x2y2m1l): Likewise.
63871         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63872         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63873         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63874         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63875         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63876         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63877         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63878         * sysdeps/i386/fpu/libm-test-ulps: Update.
63879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63881         [BZ #14621]
63882         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63883         int as type of variable DEPTH.
63884         (glob): Use size_t instead of int as type of variables NEWCOUNT
63885         and OLD_PATHC.
63887 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63889         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63890         Add s_sincosf-sse2.
63891         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63892         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63893         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63894         macros for using routine as __sincosf_ia32.
63895         Use macro for function declaration and weak_alias.
63896         * sysdeps/i386/fpu/libm-test-ulps: Update.
63898         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63901         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63902         subnormal argument.
63903         * math/s_cexpf.c (__cexpf): Likewise.
63904         * math/s_csinf.c (__csinf): Likewise.
63905         * math/s_csinhf.c (__csinhf): Likewise.
63906         * math/s_ctanf.c (__ctanf): Likewise.
63907         * math/s_ctanhf.c (__ctanhf): Likewise.
63908         * math/s_ccosh.c (__ccoshf): Likewise.
63909         * math/s_cexp.c (__cexpl): Likewise.
63910         * math/s_csin.c (__csin): Likewise.
63911         * math/s_csinh.c (__csinh): Likewise.
63912         * math/s_ctan.c (__ctan): Likewise.
63913         * math/s_ctanh.c (ctanh): Likewise.
63914         * math/s_ccoshl.c (__ccoshl): Likewise.
63915         * math/s_cexpl.c (__cexpl): Likewise.
63916         * math/s_csinl.c (__csinl): Likewise.
63917         * math/s_csinhl.c (__csinhl): Likewise.
63918         * math/s_ctanl.c (__ctanl): Likewise.
63919         * math/s_ctanhl.c (__ctanhl): Likewise.
63921 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63923         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63924         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63925         (_IO_off_t): Define to __off_t, not _G_off_t.
63926         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63927         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63928         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63929         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63930         type of __dummy and __dummy2 fields.
63931         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63932         (_G_ssize_t): Likewise.
63933         (_G_off_t): Likewise.
63934         (_G_pid_t): Likewise.
63935         (_G_uid_t): Likewise.
63936         (_G_wchar_t): Likewise.
63937         (_G_wint_t): Likewise.
63938         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63939         (_G_ssize_t): Likewise.
63940         (_G_off_t): Likewise.
63941         (_G_pid_t): Likewise.
63942         (_G_uid_t): Likewise.
63943         (_G_wchar_t): Likewise.
63944         (_G_wint_t): Likewise.
63945         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63946         (_G_ssize_t): Likewise.
63947         (_G_off_t): Likewise.
63948         (_G_pid_t): Likewise.
63949         (_G_uid_t): Likewise.
63950         (_G_wchar_t): Likewise.
63951         (_G_wint_t): Likewise.
63953 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63955         * malloc/arena.c: Include malloc-sysdep.h.
63956         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63957         is sufficient to shrink the heap or an unmap is needed.
63958         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63959         new function check_may_shrink_heap.
63960         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63961         new function check_may_shrink_heap.
63963 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63965         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63966         comments.
63968 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63970         * catgets/test-gencat.sh: Add "set -e".
63971         * elf/tst-pathopt.sh: Likewise.
63972         * grp/tst_fgetgrent.sh: Likewise.
63973         * iconvdata/run-iconv-test.sh: Likewise.
63974         * intl/tst-gettext.sh: Likewise.
63975         * intl/tst-gettext2.sh: Likewise.
63976         * intl/tst-gettext4.sh: Likewise.
63977         * intl/tst-gettext6.sh: Likewise.
63978         * intl/tst-translit.sh: Likewise.
63979         * io/ftwtest-sh: Likewise.
63980         * libio/test-freopen.sh: Likewise.
63981         * malloc/tst-mtrace.sh: Likewise.
63982         * posix/globtest.sh: Likewise.
63983         * posix/tst-getconf.sh: Likewise.
63984         * posix/wordexp-tst.sh: Likewise.
63985         * stdio-common/tst-printf.sh: Likewise.
63986         * stdio-common/tst-unbputc.sh: Likewise.
63987         * stdlib/tst-fmtmsg.sh: Likewise.
63988         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63989         * catgets/Makefile: Do not specify -e option when running
63990         testsuite shell scripts.
63991         * elf/Makefile: Likewise.
63992         * grp/Makefile: Likewise.
63993         * iconvdata/Makefile: Likewise.
63994         * intl/Makefile: Likewise.
63995         * io/Makefile: Likewise.
63996         * libio/Makefile: Likewise.
63997         * malloc/Makefile: Likewise.
63998         * posix/Makefile: Likewise.
63999         * stdio-common/Makefile: Likewise.
64000         * stdlib/Makefile: Likewise.
64001         * sysdeps/x86_64/Makefile: Likewise.
64003         * io/ftwtest-sh: Add copyright header.
64004         * posix/globtest.sh: Likewise.
64005         * posix/tst-getconf.sh: Likewise.
64006         * posix/wordexp-tst.sh: Likewise.
64007         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64009 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64011         [BZ #13679]
64012         * Makeconfig (+link): Defined as $(+link-static) if
64013         $(build-shared) isn't yes.
64014         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64015         isn't yes.
64016         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64018         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64020         [BZ #14562]
64021         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64022         new chunk size with MALLOC_ALIGN_MASK.
64024 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64026         [BZ #5044]
64027         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64028         <rounding-mode.h>.
64029         (__printf_fphex): Determine rounding using get_rounding_mode and
64030         round_away.
64031         * stdio-common/tst-printf-round.c (struct hex_test): New
64032         structure.
64033         (hex_tests): New variable.
64034         (test_hex_in_one_mode): New function.
64035         (do_test): Also run tests for hex float output.
64037 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64039         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64040         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64041         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64042         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64043         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64044         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64045         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64046         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64048 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64050         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64051         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64052         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64053         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64055 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64057         [BZ #14579]
64058         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64059         mode only.
64060         * elf/tst-rtld-load-self.sh: New test.
64061         * elf/Makefile: Run it.
64063 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64065         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64066         (tst-writev-ENV): Remove.
64067         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64069 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64071         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64073 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64075         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64076         unconditional.
64077         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64078         Likewise.
64079         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64080         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64081         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64082         Likewise.
64084 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64086         [BZ #14587]
64087         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64088         * config.make.in (have-cpp-asm-debuginfo): Removed.
64089         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64090         * configure: Regenerated.
64092 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64094         [BZ #5044]
64095         * stdio-common/printf_fp.c: Include <stdbool.h> and
64096         <rounding-mode.h>.
64097         (___printf_fp): Determine rounding using get_rounding_mode and
64098         round_away.
64099         * stdio-common/tst-printf-round.c: New file.
64100         * stdio-common/Makefile (tests): Add tst-printf-round.
64101         (link-libm): New variable.
64102         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64104 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64106         [BZ #14576]
64107         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64108         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64109         Likewise.
64110         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64111         Likewise.
64113 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64115         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64116         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64117         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64118         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64120 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64122         [BZ #14518]
64123         * include/rounding-mode.h: New file.
64124         * sysdeps/generic/get-rounding-mode.h: Likewise.
64125         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64126         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64127         (MAX_VALUE): New macro.
64128         (MIN_VALUE): Likewise.
64129         (overflow_value): New function.
64130         (underflow_value): Likewise.
64131         (round_and_return): Use overflow_value and underflow_value to
64132         determine return values in overflow and underflow cases.  Use
64133         round_away to determine rounding depending on rounding mode.
64134         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64135         determine return values in overflow and underflow cases.
64136         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64137         (struct test_results): New structure.
64138         (struct test): Use struct test_results to store expected results
64139         for all rounding modes.
64140         (TEST): Include expected results for all rounding modes.
64141         (test_in_one_mode): New function.
64142         (do_test): Use test_in_one_mode to compute and check results.
64143         Check results for all rounding modes.
64144         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64145         $(link-libm).
64147 2012-12-09  Allan McRae  <allan@archlinux.org>
64149         * sysdeps/i386/fpu/libm-test-ulps: Update
64151 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64153         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64154         (_G_int32_t): Likewise.
64155         (_G_uint16_t): Likewise.
64156         (_G_uint32_t): Likewise.
64157         (_G_HAVE_BOOL): Likewise.
64158         (_G_HAVE_ATEXIT): Likewise.
64159         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64160         (_G_HAVE_IO_FILE_OPEN): Likewise.
64161         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64162         (_G_int32_t): Likewise.
64163         (_G_uint16_t): Likewise.
64164         (_G_uint32_t): Likewise.
64165         (_G_HAVE_BOOL): Likewise.
64166         (_G_HAVE_ATEXIT): Likewise.
64167         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64168         (_G_HAVE_IO_FILE_OPEN): Likewise.
64169         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64170         (_G_int32_t): Likewise.
64171         (_G_uint16_t): Likewise.
64172         (_G_uint32_t): Likewise.
64173         (_G_HAVE_BOOL): Likewise.
64174         (_G_HAVE_ATEXIT): Likewise.
64175         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64176         (_G_HAVE_IO_FILE_OPEN): Likewise.
64178 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64180         * csu/libc-tls.c: Update copyright years.
64182 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64184         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64185         [!_G_USING_THUNKS]: Remove conditional code.
64186         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64187         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64189         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64190         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64191         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64192         (_G_VTABLE_LABEL_PREFIX): Likewise.
64193         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64194         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64195         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64196         (_G_VTABLE_LABEL_PREFIX): Likewise.
64197         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64198         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64199         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64200         (_G_VTABLE_LABEL_PREFIX): Likewise.
64201         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64203 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64205         * libio/Makefile: Include ../Makeconfig before tests.
64206         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64207         only if $(build-shared) is yes.
64209         * iconv/gconv_db.c: Update copyright years.
64211 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64213         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64214         unwind info if defined PIC. Fix special cases description.
64215         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64217         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64218         DP_HI_MASK entry.
64219         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64221 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64223         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64225         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64226         is NULL.
64228         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64229         (LDLIBS-tst-chk4): This.
64230         (LDFLAGS-tst-chk5): Renamed to ...
64231         (LDLIBS-tst-chk5): This.
64232         (LDFLAGS-tst-chk6): Renamed to ...
64233         (LDLIBS-tst-chk6): This.
64234         (LDFLAGS-tst-lfschk4): Renamed to ...
64235         (LDLIBS-tst-lfschk4): This.
64236         (LDFLAGS-tst-lfschk5): Renamed to ...
64237         (LDLIBS-tst-lfschk5): This.
64238         (LDFLAGS-tst-lfschk6): Renamed to ...
64239         (LDLIBS-tst-lfschk6): This.
64241         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64242         on $(common-objpfx)soversions.mk.
64244 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64246         [BZ #10014]
64247         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64248         example host name.
64250 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64252         * malloc/arena.c (arena_get_retry): New function that gets
64253         another arena for the caller to try its request on.
64254         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64255         current arena cannot fulfill the request.
64256         (__libc_memalign): Likewise.
64257         (__libc_memalign): Likewise.
64258         (__libc_pvalloc): Likewise.
64259         (__libc_calloc): Likewise.
64261 2012-09-05  John Tobey  <john.tobey@gmail.com>
64263         [BZ #13542]
64264         * manual/arith.texi (Operations on Complex): Fix description
64265         of carg branch cut.
64267 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64269         [BZ #10014]
64270         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64271         host name.
64273         [BZ #10038]
64274         * manual/memory.texi (Memory): Make order of menu items match
64275         order of sections.
64277 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64279         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64280         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64281         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64283 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64285         * csu/libc-tls.c (static_dtv): Renamed to ...
64286         (_dl_static_dtv): This.  Make it global.
64287         (_dl_initial_dtv): Removed.
64288         (__libc_setup_tls): Updated.
64289         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64290         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64291         DL_INITIAL_DTV.
64293 2012-09-06  Petr Machata  <pmachata@redhat.com>
64295         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64296         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64297         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64298         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64300 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64302         [BZ #14545]
64303         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64304         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64305         freeing dtv[-1].
64307 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64309         [BZ #14544]
64310         * Makeconfig (link-static-before-libc): Replace $(+prector)
64311         with $(+prectorT).
64312         (link-static-after-libc): Replace $(+postctor) with
64313         $(+postctorT).
64314         (link-bounded): Replace $(+prector)/$(+postctor) with
64315         $(+prectorT)/$(+postctorT).
64316         (+prectorT): New macro.
64317         (+postctorT): Likewise.
64319 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64321         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64322         (round_str): Handle values above the maximum for IBM long double
64323         as inexact.
64324         * stdlib/tst-strtod-round.c (tests): Regenerated.
64326 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64328         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64329         assembler flag.
64330         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64331         zarch_nohighgprs around the zarch optimized routines.
64332         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64333         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64334         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64335         for zarch.
64337 2012-09-05  David S. Miller  <davem@davemloft.net>
64339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64341         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64342         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64343         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64344         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64345         entries.
64347 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64349         * malloc/arena.c: Fold copyright years.
64350         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64352 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64354         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64356 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64358         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64360 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64362         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64363         change internal state upon failure.
64365 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64367         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64368         * malloc/memusage.c (mmap): Likewise.
64369         (mmap64, mremap): Likewise.  Adjust name in comment.
64371 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64373         * libio/fileops.c: Fix typos in comments.
64374         * libio/oldfileops.c: Likewise.
64375         * libio/wfileops.c: Likewise.
64377 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64379         [BZ #1349]
64380         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64381         (tst-malloc-usable-ENV): Set environment for test case.
64382         * malloc/hooks.c (malloc_check_get_size): New function to get
64383         requested size.
64384         * malloc/malloc.c (musable): Use malloc_check_get_size.
64385         * malloc/tst-malloc-usable.c: New test case.
64387 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64389         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64391 2012-09-05  Allan McRae  <allan@archlinux.org>
64393         [BZ #13966]
64394         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64395         determine header location.
64396         * configure: Regenerated.
64398 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64400         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64401         float format.
64402         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64403         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64404         format.
64405         (test): Regenerate.
64407 2012-09-04  David S. Miller  <davem@davemloft.net>
64409         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64410         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64411         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64413 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64415         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64416         failures.
64418         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64420 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64422         [BZ #9914]
64423         * libio/iogetdelim.c: Include <limits.h>.
64424         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64425         + len + 1 would overflow.
64427 2012-09-03  Andreas Jaeger  <aj@suse.de>
64429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64430         * sysdeps/i386/fpu/libm-test-ulps: Update.
64432 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64434         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64435         Add s_sinf-sse2, s_conf-sse2.
64437         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64438         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64439         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64440         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64442         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64443         for using routine as __sinf_ia32.
64444         Use macro for function declaration and weak_alias.
64445         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64446         for using routine as __cosf_ia32.
64447         Use macro for function declaration and weak_alias.
64449         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64450         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64452         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64453         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64456         * math/libm-test.inc (cos_test): Add more test cases.
64457         (sin_test): Likewise.
64458         (sincos_test): Likewise.
64460 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64462         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64463         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64464         hidden.
64465         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64467 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64469         [BZ #14538]
64470         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64471         first element of the GOT.
64472         (elf_machine_load_address): Return the difference between
64473         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64475 2012-09-01  Allan McRae  <allan@archlinux.org>
64477         [BZ #13412]
64478         * configure.in (AWK): Require gawk version 3.0 or later.
64479         * configure: Regenerated.
64481 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64483         * sysdeps/unix/sysv/linux/kernel-features.h
64484         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64485         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64486         [__NR_clock_getres]: Make code unconditional.
64487         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64488         (clock_getcpuclockid): Remove code left unreachable by removal of
64489         conditionals.
64490         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64491         code unconditional.
64492         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64493         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64494         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64495         Make code unconditional.
64496         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64497         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64498         * sysdeps/unix/sysv/linux/clock_settime.c
64499         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64500         conditional code.
64501         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64502         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64504 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64506         [BZ #14476]
64507         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64508         scripts/test-installation.pl.
64510         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64511         and $ld_so_version if it is set.
64513 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64515         [BZ #14516]
64516         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64517         failure if reading from procfs failed.
64518         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64520 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64522         * sysdeps/unix/sysv/linux/kernel-features.h
64523         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64524         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64525         Remove conditional code.
64526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64527         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64528         Remove conditional code.
64529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64530         * sysdeps/unix/sysv/linux/i386/fxstat.c
64531         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64533         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64534         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64535         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64536         * sysdeps/unix/sysv/linux/i386/lxstat.c
64537         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64538         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64539         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64540         Remove conditional code.
64541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64542         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64543         Remove conditional code.
64544         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64545         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64546         <kernel-features.h>.
64547         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64548         Remove.
64549         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64550         Remove conditional code.
64551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64552         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64553         Remove conditional.
64555 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64557         [BZ #5400]
64558         * NEWS: Add fixed bug number.
64560 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64562         [BZ #14519]
64563         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64564         underflowing exponent in case of negative sign.
64565         * stdlib/tst-strtod-round-data: Add more tests.
64566         * stdlib/tst-strtod-round.c (tests): Regenerated.
64568         [BZ #3479]
64569         * stdlib/strtod_l.c (NDIG): Remove.
64570         (HEXNDIG): Likewise.
64571         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64572         smallest representable value.
64573         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64574         lie within an exact representation of 1/2 ulp of the result.
64575         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64576         unconditionally.
64577         (TENS_P9_IDX): Define unconditionally.
64578         (TENS_P9_SIZE): Likewise.
64579         (TENS_P10_IDX): Likewise.
64580         (TENS_P10_SIZE): Likewise.
64581         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64582         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64583         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64584         entries for 10^2^13 and 10^2^14.
64585         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64586         (TENS_P13_IDX): Define.
64587         (TENS_P13_SIZE): Likewise.
64588         (TENS_P14_IDX): Likewise.
64589         (TENS_P14_SIZE): Likewise.
64590         (_fpioconst_pow10): Change array size to
64591         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64592         unconditional.
64593         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64594         1024]: Add entries for 10^2^13 and 10^2^14.
64595         [LAST_POW10 > _LAST_POW10]: Remove #error.
64596         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64597         (_fpioconst_pow10): Change array size to
64598         FPIOCONST_POW10_ARRAY_SIZE.
64599         * stdlib/gen-fpioconst.c: New file.
64600         * stdlib/gen-tst-strtod-round.c: Likewise.
64601         * stdlib/tst-strtod-round-data: Likewise.
64602         * stdlib/tst-strtod-round.c: Likewise.
64603         * stdlib/Makefile (tests): Add tst-strtod-round.
64605         [BZ #14459]
64606         * stdlib/strtod_l.c: Include <stdint.h>.
64607         (NDEBUG): Do not define.
64608         (round_and_return): Change EXPONENT parameter to type intmax_t.
64609         Rearrange calculations to avoid internal overflow possibilities.
64610         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64611         Rearrange calculations to avoid internal overflow possibilities.
64612         Assert that number fits inside MPNSIZE limbs.
64613         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64614         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64615         calculations and add assertions to avoid internal overflow
64616         possibilities.  Add casts to avoid signed/unsigned operations.
64617         * stdlib/tst-strtod-overflow.c: New file.
64618         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64620 2012-08-25  Marek Polacek  <polacek@redhat.com>
64622         * time/time.h: Fix some typos in comments.
64624 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64626         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64627         * posix/tst-rfc3484-2.c: Likewise.
64628         * posix/tst-rfc3484-3.c: Likewise.
64630 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64632         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64633         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64635 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64637         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64638         #include of fxstatat64.c.
64640 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64642         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64643         * shadow/getspent_r.c: Likewise.
64644         * shadow/getspnam.c: Likewise.
64645         * shadow/getspnam_r.c: Likewise.
64646         * gshadow/getsgent.c: Likewise.
64647         * gshadow/getsgent_r.c: Likewise.
64648         * gshadow/getsgnam.c: Likewise.
64649         * gshadow/getsgnam_r.c: Likewise.
64650         * inet/getnetbyad.c: Likewise.
64651         * inet/getnetbyad_r.c: Likewise.
64652         * inet/getnetbynm.c: Likewise.
64653         * inet/getnetbynm_r.c: Likewise.
64654         * inet/getnetent.c: Likewise.
64655         * inet/getnetent_r.c: Likewise.
64656         * inet/getproto.c: Likewise.
64657         * inet/getproto_r.c: Likewise.
64658         * inet/getprtent.c: Likewise.
64659         * inet/getprtent_r.c: Likewise.
64660         * inet/getprtname.c: Likewise.
64661         * inet/getprtname_r.c: Likewise.
64662         * inet/getrpcbyname.c: Likewise.
64663         * inet/getrpcbyname_r.c: Likewise.
64664         * inet/getrpcbynumber.c: Likewise.
64665         * inet/getrpcbynumber_r.c: Likewise.
64666         * inet/getrpcent.c: Likewise.
64667         * inet/getrpcent_r.c: Likewise.
64668         * inet/getaliasent.c: Likewise.
64669         * inet/getaliasent_r.c: Likewise.
64670         * inet/getaliasname.c: Likewise.
64671         * inet/getaliasname_r.c: Likewise.
64672         * nscd/getgrgid_r.c: Likewise.
64673         * nscd/getgrnam_r.c: Likewise.
64674         * nscd/gethstbyad_r.c: Likewise.
64675         * nscd/gethstbynm3_r.c: Likewise.
64676         * nscd/getpwnam_r.c: Likewise.
64677         * nscd/getpwuid_r.c: Likewise.
64678         * nscd/getsrvbynm_r.c: Likewise.
64679         * nscd/getsrvbypt_r.c: Likewise.
64680         * nscd/gai.c: Likewise.
64682         * configure.in (build_nscd): New substituted variable, set
64683         by --disable-build-nscd and defaults to $use_nscd.
64684         * configure: Regenerated.
64685         * config.make.in (build-nscd): New substituted variable.
64686         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64687         Change conditional to require [$(build-nscd) = yes] as well.
64688         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64690         [BZ# 13696]
64691         * configure.in (use_nscd): New substituted variable, set by
64692         --disable-nscd.  If enabled, define USE_NSCD.
64693         * configure: Regenerated.
64694         * config.h.in: Add USE_NSCD.
64695         * config.make.in (use-nscd): New substituted variable.
64696         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64697         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64698         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64699         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64700         (CFLAGS-getgrnam_r.c): Likewise.
64701         (CFLAGS-initgroups.c): Likewise.
64702         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64703         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64704         Variables removed.
64705         * inet/getnetgrent_r.c
64706         (nscd_setnetgrent): New function, broken out of ...
64707         (setnetgrent): ... here.  Call it.
64708         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64709         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64710         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64711         * nscd/Makefile (routines, aux): Move definitions after include of
64712         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64713         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64714         Conditionalize on [USE_NSCD].
64715         (is_nscd, nscd_init_cb): Likewise.
64716         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64717         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64718         * nss/nss_db/db-init.c: Likewise.
64719         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64720         [USE_NSCD].
64721         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64722         (make_request): Use it.
64723         (cache_valid_p): New function.
64724         (__check_pf): Use it.
64725         * NEWS: Add item for --disable-nscd.
64727 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64729         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64730         to support sed >= 4.2.1-20-ga9bf076.
64731         * configure: Regenerated.
64733 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64735         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64736         Conditionalize whole body on [IREL].
64738 2012-08-22  Jeff Law <law@redhat.com>
64740         [BZ #14505]
64741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64742         if the family is PF_UNSPEC.
64744 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64746         * Makerules (lib-version): Rename from V.
64747         (install-lib-nosubdir): Change V to lib-version.
64749 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64751         [BZ #14252]
64752         * powerpc32/power6/wcschr.c: New file.
64753         * powerpc32/power6/wcscpy.c: New file.
64754         * powerpc32/power6/wcsrchr.c: New file.
64755         * powerpc64/power6/wcschr.c: New file.
64756         * powerpc64/power6/wcscpy.c: New file.
64757         * powerpc64/power6/wcsrchr.c: New file.
64759 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64761         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64762         (two_way_short_needle): Use it.
64763         * string/strstr.c (AVAILABLE1_USES_J): Define.
64764         * string/strcasestr.c: Likewise.
64766         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64767         array references.
64768         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64770         [BZ #11607]
64771         * NEWS: Add an entry.
64772         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64773         define their defaults.
64774         (two_way_short_needle): Detect end-of-string on-the-fly.
64775         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64776         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64777         * string/bug-strcasestr1.c: New test.
64778         * string/Makefile: Run it.
64780 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64782         [BZ #11607]
64783         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64784         the first character.
64786 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64788         * csu/elf-init.c (__libc_csu_irel): Function removed.
64789         * csu/libc-start.c (apply_irel): New function.
64790         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64792 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64794         * sysdeps/unix/sysv/linux/kernel-features.h
64795         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64796         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64797         <kernel-features.h>.
64798         [__NR_fadvise64_64]: Make code unconditional.
64799         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64800         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64801         !__NR_fadvise64_64)]: Likewise.
64802         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64803         !__NR_fadvise64_64))]: Likewise.
64804         [__NR_fadvise64]: Make code unconditional.
64805         [!__NR_fadvise64]: Remove conditional code.
64806         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64807         <kernel-features.h>.
64808         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64809         unconditional.
64810         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64811         conditional code.
64812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64813         not include <kernel-features.h>.
64814         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64815         unconditional.
64816         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64817         conditional code.
64818         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64819         include <kernel-features.h>.
64820         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64821         unconditional.
64822         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64823         conditional code.
64825 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64827         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64828         slight instruction rearrangements per scrollpipe analysis.
64829         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64831 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64833         * manual/syslog.texi (syslog; vsyslog, closelog):
64834         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64835         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64837         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64838         DSOCAPS to match condition on defining it.
64840 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64842         * sysdeps/unix/sysv/linux/kernel-features.h
64843         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64845         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64846         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64848         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64849         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64851         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64852         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64854         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64855         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64857         * sysdeps/unix/sysv/linux/kernel-features.h
64858         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64859         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64860         unconditional.
64861         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64862         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64863         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64864         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64865         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64866         Make code unconditional.
64867         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64868         (__mmap64) [!__NR_mmap2]: Likewise.
64869         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64870         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64871         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64872         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64873         [__NR_mmap2]: Make code unconditional.
64874         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64875         (__mmap64) [!__NR_mmap2]: Likewise.
64877 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64879         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64881 2012-08-18  Andreas Jaeger  <aj@suse.de>
64883         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64885 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64887         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64888         * include/unistd.h (__have_sock_cloexec): Likewise.
64889         (__have_pipe2): Likewise.
64890         (__have_dup3): Likewise.
64892 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64894         [BZ #9685]
64895         * include/unistd.h (__have_pipe2): Change define into an extern int.
64896         (__have_dup3): Likewise.
64897         * socket/have_sock_cloexec.c: Include fcntl.h.
64898         (__have_pipe2): New variable.
64899         (__have_dup3): Likewise.
64901 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64903         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64905 2012-08-17  Marek Polacek  <polacek@redhat.com>
64907         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64908         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64910 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64912         * configure.in: Add AC_SUBST for sysheaders.
64913         * configure: Regenerated.
64914         * config.make.in (sysheaders): New substituted variable.
64916         * sysdeps/unix/mkfifo.c: Moved ...
64917         * sysdeps/posix/mkfifo.c: ... here.
64918         * sysdeps/unix/mkfifoat.c: Moved ...
64919         * sysdeps/posix/mkfifoat.c: ... here.
64921         * sysdeps/unix/utime.c: Moved ...
64922         * sysdeps/posix/utime.c: ... here.
64924         * sysdeps/unix/time.c: Moved ...
64925         * sysdeps/posix/time.c: ... here.
64926         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64927         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64929         * sysdeps/unix/nice.c: Moved ...
64930         * sysdeps/posix/nice.c: ... here.
64932         * sysdeps/unix/alarm.c: Moved ...
64933         * sysdeps/posix/alarm.c: ... here.
64935         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64937 2012-08-17  Jeff Law <law@redhat.com>
64939         * intl/Makefile (codeset_mo): New variable.
64940         ($(codeset_mo)): New target.
64941         (tst-codeset.out): Depend on that.  Remove explicit rule.
64942         (tst-gettext3.out, tst-gettext5.out): Likewise.
64943         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64944         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64945         * intl/tst-codeset.sh: Remove.
64946         * intl/tst-gettext3.sh: Likewise.
64947         * intl/tst-gettext5.sh: Likewise.
64949 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64951         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64952         * sysdeps/unix/syscalls.list: ... here.
64954         * sysdeps/posix/getaddrinfo.c
64955         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64956         (gaiconf_init, gaiconf_reload): Use them.
64957         [!_STATBUF_ST_NSEC]
64958         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64959         Define using time_t rather than struct timespec.
64961         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64962         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64963         Macros removed.
64964         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64965         [!NO_THREADS].
64966         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64967         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64968         Likewise.
64970         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64971         __libc_cleanup_push argument.
64973         * bits/param.h: New file.
64974         * misc/sys/param.h: New file.
64975         * include/sys/param.h: New file.
64976         * misc/Makefile (headers): Add bits/param.h.
64977         * sysdeps/generic/sys/param.h: File removed.
64978         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64979         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64980         * sysdeps/mach/hurd/bits/param.h: New file.
64981         * sysdeps/mach/hurd/sys/param.h: File removed.
64983         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64984         last change.
64986         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64987         [_IO_MTSAFE_IO].
64988         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64989         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64990         New macros.
64992         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64993         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64994         rather than -D_IO_MTSAFE_IO conditionally.
64995         * stdio-common/Makefile (CPPFLAGS): Likewise.
64996         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64997         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64998         Use $(libio-mtsafe).
64999         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65000         of -D_IO_MTSAFE_IO.
65001         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65002         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65003         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65004         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65005         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65006         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65007         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65008         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65009         (CFLAGS-fread_u_chk.c): Likewise.
65010         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65011         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65012         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65013         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65014         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65015         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65016         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65017         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65018         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65020         * libio/Makefile: Test [$(libc-reentrant) = yes]
65021         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65023         * Makeconfig
65024         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65025         * sysdeps/pthread/configure: File removed.
65026         * sysdeps/pthread/Makeconfig: New file.
65027         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65028         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65030 2012-08-16  Gary Benson  <gbenson@redhat.com>
65032         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65033         unmapping the first object in a namespace.
65035 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65037         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65038         (__internal_setnetgrent): ... this.  Add internal_function to
65039         definition.  Add libc_hidden_def.
65040         (setnetgrent): Update caller.
65041         (internal_endnetgrent): Renamed to ...
65042         (__internal_endnetgrent): ... this.  Add internal_function to
65043         definition.  Add libc_hidden_def.
65044         (endnetgrent): Update caller.
65045         (internal_getnetgrent_r): Renamed to ...
65046         (__internal_getnetgrent_r): ... this.  Add internal_function to
65047         definition.  Add libc_hidden_def.
65048         (__getnetgrent_r): Update caller.
65049         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65051 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65053         * stdlib/longlong.h: Update from GCC.
65055 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65057         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65058         on _QL, which is set by umul_ppmm but never used.
65059         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65060         variables, which are set by GMP macros but never used.
65061         * stdio-common/_itowa.c (_itowa): Likewise.
65062         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65063         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65065 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65067         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65068         struct La_sh_regs is not constant.
65069         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65070         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65071         and struct La_sparc64_regs are not constant.
65073 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65075         * sysdeps/unix/sysv/linux/kernel-features.h
65076         (__ASSUME_POSIX_TIMERS): Remove.
65077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65079         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65080         Make code unconditional.
65081         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65082         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65083         Make code unconditional.
65084         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65085         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65086         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65087         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65088         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65089         Make code unconditional.
65090         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65091         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65092         (__libc_missing_posix_timers): Remove.
65094 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65096         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65097         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65099         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65101         * elf/dl-sym.c: Include <stdlib.h>.
65103         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65104         constants, which avoids warnings in 32-bit builds.
65106         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65107         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65109         * misc/lseek.c: File moved to ...
65110         * io/lseek.c: ... here.
65112         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65114         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65115         shifting LEN more than 31 bits at once.
65117 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65119         [BZ #14195]
65120         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65121         segmentation fault for a case of two empty input strings.
65122         * string/test-strncasecmp.c (check1): Renamed to...
65123         (bz12205): ...this.
65124         (bz14195): Add new testcase for two empty input strings and N > 0.
65125         (test_main): Call new testcase, adapt for renamed function.
65127 2012-08-15  Andreas Jaeger  <aj@suse.de>
65129         [BZ #14090]
65130         * crypt/md5test2.c: New test, based on test supplied by Serge
65131         Belyshev <belyshev@depni.sinp.msu.ru>.
65132         * crypt/Makefile (xtests): Add md5test-giant..
65133         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65135 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65137         [BZ #14090]
65138         * crypt/md5.c (md5_process_block): Don't assume the buffer
65139         length is less than 2**32.
65140         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65141         length is less than 2**64.
65143 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65145         * string/str-two-way.h: Include <sys/param.h>.
65146         (MAX): Macro removed.
65148         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65149         Move #define and #undef of memmove to just before and after
65150         including <string.h>.
65152         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65153         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65154         and after including <string.h>.  Move declarations of
65155         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65156         to before #include "string/memmove.c".
65158         * include/dirent.h: Declare __getdirentries.
65160         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65161         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65163 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65165         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65166         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65167         * sysdeps/i386/configure: Regenerated.
65168         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65169         STABS_CURRENT_FILE, and STABS_FUN.
65170         (END): Remove call to STABS_FUN_END.
65171         (STABS_CURRENT_FILE1): Delete.
65172         (STABS_CURRENT_FILE): Likewise.
65173         (STABS_FUN): Likewise.
65174         (STABS_FUN_END): Likewise.
65175         (STABS_FUN2): Likewise.
65176         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65177         * sysdeps/x86_64/configure: Regenerated.
65179 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65181         * elf/dl-open.c: Include <atomic.h>.
65182         * elf/dl-lookup.c: Likewise.
65184 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65186         * sysdeps/unix/sysv/linux/kernel-features.h
65187         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65188         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65189         unconditionally.
65190         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65191         unconditionally.
65192         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65193         condition on __ASSUME_CLONE_THREAD_FLAGS.
65195 2012-08-14  Andreas Jaeger  <aj@suse.de>
65197         * sysdeps/i386/fpu/libm-test-ulps: Update.
65199 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65201         * include/atomic.h (atomic_exchange_and_add): Split into ...
65202         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65203         New atomic macros.
65205 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65209 2012-08-13  Jeff Law <law@redhat.com>
65211         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65212         null byte in the output string.
65214 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65216         * sysdeps/unix/sysv/linux/kernel-features.h
65217         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65218         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65219         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65220         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65221         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65222         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65223         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65225 2012-08-09  Jeff Law <law@redhat.com>
65227         [BZ #13939]
65228         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65229         When avoid_arena is set, don't retry in the that arena.  Pick the
65230         next one, whatever it might be.
65231         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65232         (arena_lock): Pass in new parameter to arena_get2.
65233         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65234         arena_get2.
65235         (__libc_malloc): Unify retrying after main arena failure with
65236         __libc_memalign version.
65237         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65239 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65241         [BZ #14166]
65242         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65243         to __redirect_strstr.
65244         (__strstr_sse42): Use typeof __redirect_strstr.
65245         (__strstr_ia32): Likewise.
65246         (__libc_strstr): New prototype.
65247         (strstr): Renamed to ...
65248         (__libc_strstr): This.
65249         (strstr): New strong alias of __libc_strstr.
65250         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65251         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65252         __redirect_time.
65253         Include <time.h>.
65254         (__libc_time): New prototype.
65255         (time_ifunc): Replace time with __libc_time.
65256         (time): New strong alias and hidden definition of __libc_time.
65257         (__GI_time): Remove strong alias.
65258         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65259         Include <stddef.h>.
65260         (memmove): Redefined to __redirect_memmove.
65261         (__memmove_sse2): Use typeof __redirect_memmove.
65262         (__memmove_ssse3): Likewise.
65263         (__memmove_ssse3_back): Likewise.
65264         (__libc_memmove): New prototype.
65265         (memmove): Renamed to ...
65266         (__libc_memmove): This.
65267         (memmove): New strong alias of __libc_memmove.
65269 2012-08-08  Mark Salter  <msalter@redhat.com>
65271         * elf/elf.h
65272         (R_MN10300_TLS_GD): Define.
65273         (R_MN10300_TLS_LD): Likewise.
65274         (R_MN10300_TLS_LDO): Likewise.
65275         (R_MN10300_TLS_GOTIE): Likewise.
65276         (R_MN10300_TLS_IE): Likewise.
65277         (R_MN10300_TLS_LE): Likewise.
65278         (R_MN10300_TLS_DTPMOD): Likewise.
65279         (R_MN10300_TLS_DTPOFF): Likewise.
65280         (R_MN10300_TLS_TPOFF): Likewise.
65281         (R_MN10300_SYM_DIFF): Likewise.
65282         (R_MN10300_ALIGN): Likewise.
65283         (R_MN10300_NUM): Update.
65285 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65288         Remove.
65290 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65292         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65294         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65295         sysdeps/unix -> sysdeps/posix move.
65296         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65298 2012-08-07      Allan McRae     <allan@archlinux.org>
65300         [BZ #14303]
65301         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65302         (SUNOS_CPP): Likewise.
65303         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65304         not found.
65305         (open_input): Call CPP using execvp.
65307 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65309         * sysdeps/unix/sysv/linux/kernel-features.h
65310         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65311         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65312         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65313         (__ASSUME_WAITID_SYSCALL): Likewise.
65314         * sysdeps/unix/sysv/linux/dl-execstack.c
65315         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65316         code unconditional.
65317         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65318         conditional code.
65319         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65320         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65321         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65322         code.
65323         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65324         unconditional.
65325         [__ASSUME_WAITID_SYSCALL]: Likewise.
65326         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65328 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65330         * sysdeps/unix/closedir.c: Renamed to ...
65331         * sysdeps/posix/closedir.c: ... here.
65332         * sysdeps/unix/dirfd.c: Renamed to ...
65333         * sysdeps/posix/dirfd.c: ... here.
65334         * sysdeps/unix/dirstream.h: Renamed to ...
65335         * sysdeps/posix/dirstream.h: ... here.
65336         * sysdeps/unix/fdopendir.c: Renamed to ...
65337         * sysdeps/posix/fdopendir.c: ... here.
65338         * sysdeps/unix/opendir.c: Renamed to ...
65339         * sysdeps/posix/opendir.c: ... here.
65340         * sysdeps/unix/readdir.c: Renamed to ...
65341         * sysdeps/posix/readdir.c: ... here.
65342         * sysdeps/unix/readdir_r.c: Renamed to ...
65343         * sysdeps/posix/readdir_r.c: ... here.
65344         * sysdeps/unix/rewinddir.c: Renamed to ...
65345         * sysdeps/posix/rewinddir.c: ... here.
65346         * sysdeps/unix/seekdir.c: Renamed to ...
65347         * sysdeps/posix/seekdir.c: ... here.
65348         * sysdeps/unix/telldir.c: Renamed to ...
65349         * sysdeps/posix/telldir.c: ... here.
65350         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65351         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65352         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65353         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65355         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65356         * bits/fcntl.h: ... here.
65358         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65359         not 0.
65360         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65361         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65362         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65363         (struct flock): Move l_start, l_len to the beginning.
65364         Use __pid_t for l_pid.
65365         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65366         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65367         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65368         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65369         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65370         [__USE_LARGEFILE64] (struct flock64): New type.
65371         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65373         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65374         * bits/dirent.h: ... here.
65376         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65377         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65379 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65381         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65382         Change from 2.6.0 to 2.6.16.
65383         * sysdeps/unix/sysv/linux/configure: Regenerated.
65384         * sysdeps/unix/sysv/linux/kernel-features.h
65385         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65386         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65387         version.
65388         (__ASSUME_UTIMES): Likewise.
65389         (__ASSUME_CLONE_STOPPED): Remove.
65390         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65391         architectures, not kernel version.
65392         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65393         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65394         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65395         (__ASSUME_WAITID_SYSCALL): Likewise.
65396         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65397         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65398         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65399         refer to older versions.
65401 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65403         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65404         Define alphasort64 as an alias.
65405         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65406         Define versionsort64 as an alias.
65407         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65408         Define scandir64 as an alias.
65409         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65410         Define scandirat64 as an alias.
65411         * dirent/alphasort64.c (alphasort64):
65412         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65413         * dirent/versionsort64.c: Likewise.
65414         * dirent/scandir64.c: Likewise.
65415         * dirent/scandirat64.c: Likewise.
65416         * sysdeps/wordsize-64/alphasort.c: File removed.
65417         * sysdeps/wordsize-64/alphasort64.c: File removed.
65418         * sysdeps/wordsize-64/scandir.c: File removed.
65419         * sysdeps/wordsize-64/scandir64.c: File removed.
65420         * sysdeps/wordsize-64/scandirat.c: File removed.
65421         * sysdeps/wordsize-64/scandirat64.c: File removed.
65422         * sysdeps/wordsize-64/versionsort.c: File removed.
65423         * sysdeps/wordsize-64/versionsort64.c: File removed.
65424         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65425         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65426         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65427         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65428         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65429         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65430         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65431         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65433         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65435         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65437         [defined __arch64__ || defined __sparcv9]
65438         (__INO_T_MATCHES_INO64_T): New macro.
65439         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65440         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65441         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65442         * sysdeps/unix/sysv/linux/bits/dirent.h
65443         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65444         (_DIRENT_MATCHES_DIRENT64): New macro.
65446         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65447         Define lockf64 as an alias.
65448         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65449         Define fseeko64 as an alias.
65450         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65451         Define ftello64 as an alias.
65452         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65453         Define _IO_fgetpos64 and fgetpos64 as aliases.
65454         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65455         Define _IO_fsetpos64 and fsetpos64 as aliases.
65456         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65457         Conditionalize body on this.
65458         * libio/fseeko64.c: Likewise.
65459         * libio/ftello64.c: Likewise.
65460         * libio/iofgetpos64.c: Likewise.
65461         * libio/iofsetpos64.c: Likewise.
65462         * sysdeps/wordsize-64/lockf.c: File removed.
65463         * sysdeps/wordsize-64/lockf64.c: File removed.
65464         * sysdeps/wordsize-64/fseeko.c: File removed.
65465         * sysdeps/wordsize-64/fseeko64.c: File removed.
65466         * sysdeps/wordsize-64/ftello.c: File removed.
65467         * sysdeps/wordsize-64/ftello64.c: File removed.
65468         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65469         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65470         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65471         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65472         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65473         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65474         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65475         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65476         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65477         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65478         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65479         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65480         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65481         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65483         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65484         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65485         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65486         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65487         [defined __arch64__ || defined __sparcv9]
65488         (__OFF_T_MATCHES_OFF64_T): New macro.
65489         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65490         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65492         (__OFF_T_MATCHES_OFF64_T): New macro.
65494 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65496         * stdlib/secure-getenv.c (__secure_getenv): Replace
65497         GLIBC_2_16 with GLIBC_2_17.
65499 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65501         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65502         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65504 2012-08-03  David S. Miller  <davem@davemloft.net>
65506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65508 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65511         Remove.
65512         (__ASSUME_CORRECT_SI_PID): Likewise.
65513         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65514         (__ASSUME_TMPFS_NAME): Likewise.
65515         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65516         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65517         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65518         (HAVE_AUX_SECURE): Make definition unconditional.
65519         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65520         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65522 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65524         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65525         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65526         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65527         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65528         __eloop_threshold instead of SYMLOOP_MAX.
65530         * sysdeps/generic/eloop-threshold.h: New file.
65531         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65532         of MAXSYMLINKS.
65533         * elf/chroot_canon.c (chroot_canon): Likewise.
65535 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65537         [BZ #13717]
65538         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65539         Change to 2.6.0 everywhere.
65540         * sysdeps/unix/sysv/linux/configure: Regenerated.
65541         * sysdeps/unix/sysv/linux/kernel-features.h
65542         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65543         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65544         kernel versions.
65545         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65546         (__ASSUME_FUTEX_REQUEUE): Remove.
65547         (__ASSUME_STATFS64): Define unconditionally.
65548         (__ASSUME_AT_SECURE): Likewise.
65549         (__ASSUME_CORRECT_SI_PID): Likewise.
65550         (__ASSUME_TGKILL): Define without depending on kernel version for
65551         i386.
65552         (__ASSUME_UTIMES): Likewise.
65553         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65554         kernel version.
65555         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65556         (__ASSUME_TMPFS_NAME): Likewise.
65557         * README: Update reference to Linux kernel versions.
65559 2012-08-02  Marek Polacek  <polacek@redhat.com>
65561         [BZ# 14150]
65562         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65563         libc_cv_asm_type_prefix with %.
65564         * configure: Regenerated.
65565         * include/libc-symbols.h: Remove comment about
65566         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65567         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65568         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65569         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65570         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65571         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65572         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65573         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65574         * elf/tst-unique2mod1.c: Likewise.
65575         * elf/tst-unique1mod2.c: Likewise.
65576         * elf/tst-unique1mod1.c: Likewise.
65577         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65578         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65579         Replace ASM_TYPE_DIRECTIVE with .type.
65580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65581         * sysdeps/i386/sysdep.h: Likewise.
65582         * sysdeps/x86_64/sysdep.h: Likewise.
65583         * sysdeps/sh/sysdep.h: Likewise.
65584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65585         Do not define ASM_TYPE_DIRECTIVE.
65586         * sysdeps/powerpc/sysdep.h: Likewise.
65587         * sysdeps/powerpc/powerpc32/sysdep.h:
65588         Replace ASM_TYPE_DIRECTIVE with .type.
65589         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65590         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65591         * sysdeps/i386/fpu/e_powf.S: Likewise.
65592         * sysdeps/i386/fpu/e_expl.S: Likewise.
65593         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65594         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65595         * sysdeps/i386/fpu/e_pow.S: Likewise.
65596         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65597         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65598         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65599         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65600         * sysdeps/i386/fpu/e_log2.S: Likewise.
65601         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65602         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65603         * sysdeps/i386/fpu/e_powl.S: Likewise.
65604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65605         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65606         * sysdeps/i386/fpu/e_logl.S: Likewise.
65607         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65608         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65609         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65611         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65612         * sysdeps/i386/fpu/e_log.S: Likewise.
65613         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65614         * sysdeps/i386/fpu/e_logf.S: Likewise.
65615         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65616         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65617         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65618         * sysdeps/i386/fpu/e_log10.S: Likewise.
65619         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65620         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65621         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65622         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65623         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65624         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65625         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65626         * sysdeps/i386/i686/strtok.S: Likewise.
65627         * sysdeps/i386/i386-mcount.S: Likewise.
65628         * sysdeps/i386/strtok.S: Likewise.
65629         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65633         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65634         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65635         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65636         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65637         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65638         * sysdeps/x86_64/_mcount.S: Likewise.
65639         * sysdeps/x86_64/strtok.S: Likewise.
65640         * sysdeps/sh/_mcount.S: Likewise.
65642 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65644         * libio/iofopen.c: Include <fcntl.h>.
65645         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65646         (_IO_fopen64, fopen64): Define as aliases.
65647         * libio/iofopen64.c: Include <fcntl.h>.
65648         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65649         Conditionalize body on this.
65650         * sysdeps/wordsize-64/iofopen.c: File removed.
65651         * sysdeps/wordsize-64/iofopen64.c: File removed.
65653 2012-08-01  Marek Polacek  <polacek@redhat.com>
65655         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65656         Use dlfcn directly instead of a variable.
65657         (binfmt-subdir): Do not define.
65658         (dlfcn): Likewise.
65660 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65663         Remove all definitions.
65664         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65665         <kernel-features.h>.
65666         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65667         (miss_F_GETOWN_EX): Remove all definitions.
65668         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65669         macro definition.
65670         [!__ASSUME_FCNTL64]: Remove conditional code.
65671         [__ASSUME_FCNTL64]: Make code unconditional.
65672         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65673         <kernel-features.h>.
65674         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65675         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65676         (lockf64) [__NR_fcntl64]: Make code unconditional.
65677         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65679         * sysdeps/unix/sysv/linux/kernel-features.h
65680         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65681         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65682         Make code unconditional.
65683         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65684         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65686         [__NR_vfork]: Make code unconditional.
65687         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65688         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65690         [__NR_vfork]: Make code unconditional.
65691         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65692         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65694 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65696         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65697         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65699         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65700         Define mkstemp64 as an alias.
65701         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65702         Define mkstemps64 as an alias.
65703         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65704         Define mkostemp64 as an alias.
65705         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65706         Define mkostemps64 as an alias.
65707         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65708         Conditionalize body on this.
65709         * misc/mkostemp64.c: Likewise.
65710         * misc/mkostemps64.c: Likewise.
65711         * misc/mkstemps64.c: Likewise.
65712         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65713         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65714         * sysdeps/wordsize-64/mkostemp.c: File removed.
65715         * sysdeps/wordsize-64/mkstemp.c: File removed.
65716         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65717         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65718         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65719         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65721         [BZ #14138]
65722         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65723         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65724         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65725         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65727         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65728         compat_symbol macros from <shlib-compat.h> rather than the underlying
65729         default_symbol_version and symbol_version macros, so that DEFAULT
65730         lines in shlib-versions are respected.
65731         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65733 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65735         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65736         Declare with warn_unused_result.
65737         (setgid, setregid, setegid, setresgid): Likewise.
65738         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65739         Likewise.
65740         * WUR-REPORT: Remove set*id functions.
65742 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65744         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65746 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65748         [BZ #10191]
65749         * include/sys/socket.h (__libc_accept, __libc_accept4):
65750         Add attribute_hidden.
65751         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65753         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65754         use of PTR_MANGLE.
65755         * inet/getnetgrent_r.c (setup): Likewise.
65757         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65759 2012-07-31  David S. Miller  <davem@davemloft.net>
65761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65763 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65765         [BZ #13629]
65766         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65767         value between 1.0 and 2.0 and smaller part has absolute value less
65768         than 1.0.
65769         * math/s_clog10.c (__clog10): Likewise.
65770         * math/s_clog10f.c (__clog10f): Likewise.
65771         * math/s_clog10l.c (__clog10l): Likewise.
65772         * math/s_clogf.c (__clogf): Likewise.
65773         * math/s_clogl.c (__clogl): Likewise.
65774         * math/libm-test.inc (clog_test): Add more tests.
65775         (clog10_test): Likewise.
65776         * sysdeps/i386/fpu/libm-test-ulps: Update.
65777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65779 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65781         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65782         Exit with zero in case no suitable GID is found, and write a
65783         message to standard error.
65785 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65787         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65788         rather than to 1.
65789         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65790         (MAXPATHLEN): Removed.
65791         (NOGROUP, NODEV): New macros.
65792         (setbit, clrbit, isset, isclr): New macros.
65793         (howmany, roundup, powerof2): New macros.
65794         (DEV_BSIZE): New macro.
65796         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65797         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65799         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65800         definition on [!__NO_LONG_DOUBLE_MATH].
65802         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65803         PTR_MANGLE and PTR_DEMANGLE.
65805         * socket/accept4.c (accept4): Rename to __libc_accept4.
65806         Define accept4 as a weak alias.
65808         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65809         on [_DIRENT_HAVE_D_TYPE].
65810         * io/ftw.c (ftw_dir): Likewise.
65812         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65814         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65816         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65817         Use the BSD numbers rather than the arbitrary ones we had.
65818         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65819         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65820         (SIGXCPU, SIGXFSZ): New macros.
65821         (_NSIG): Now 32.
65823         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65824         initializer on [_LIBC_REENTRANT].
65826         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65827         definitions inside [_POSIX_MAPPED_FILES].
65829         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65831         * dirent/opendir.c: Include <fcntl.h>.
65833         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65834         (__libc_getspecific): Likewise.
65835         (__libc_key_create): Likewise.
65837         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65838         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65839         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65840         (tmpfile64): Define as alias.
65841         * sysdeps/wordsize-64/tmpfile.c: File removed.
65842         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65843         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65844         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65846         * stdio-common/vfscanf.c: Include <stdbool.h>.
65847         * nss/makedb.c: Likewise.
65848         * stdio-common/_i18n_number.h: Likewise.
65849         * argp/argp-help.c: Likewise.
65850         * posix/wordexp.c: Likewise.
65851         * sysdeps/posix/spawni.c: Likewise.
65852         * nss/nss_files/files-initgroups.c: Likewise.
65853         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65854         * nss/nss_files/files-initgroups.c: Likewise.
65855         * nss/nss_db/db-netgrp.c: Likewise.
65856         * nss/nss_db/db-initgroups.c: Likewise.
65857         * io/fchmodat.c: Include <sys/stat.h>.
65859         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65860         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65862         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65863         [HAVE_MMAP].
65865         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65866         Add multiple inclusion protection.
65868 2012-07-27  David S. Miller  <davem@davemloft.net>
65870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65872 2012-07-27  Gary Benson  <gbenson@redhat.com>
65874         [BZ #14298]
65875         * elf/rtld.c: Include <stap-probe.h>.
65876         (dl_main): Added static probes "init_start" and "init_complete".
65877         * elf/dl-load.c: Include <stap-probe.h>.
65878         (lose): Take new parameter "nsid".
65879         Added static probe "map_failed".
65880         (_dl_map_object_from_fd): Pass namespace id to lose.
65881         Added static probe "map_start".
65882         (open_verify): Pass namespace id to lose.
65883         * elf/dl-open.c: Include <stap-probe.h>.
65884         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65885         and "reloc_complete".
65886         * elf/dl-close.c: Include <stap-probe.h>.
65887         (_dl_close_worker): Added static probes "unmap_start" and
65888         "unmap_complete".
65889         * elf/rtld-debugger-interface.txt: New file documenting the above.
65891 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65893         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65894         rather than a string variable.
65895         * sunrpc/rpc_main.c (h_output): Likewise.
65896         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65898 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65900         * inet/check_native.c: New file.
65902 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65904         [BZ #13629]
65905         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65906         if larger part has absolute value 1.0.
65907         * math/s_clog10.c (__clog10): Likewise.
65908         * math/s_clog10f.c (__clog10f): Likewise.
65909         * math/s_clog10l.c (__clog10l): Likewise.
65910         * math/s_clogf.c (__clogf): Likewise.
65911         * math/s_clogl.c (__clogl): Likewise.
65912         * math/libm-test.inc (clog_test): Add more tests.
65913         (clog10_test): Likewise.
65914         * sysdeps/i386/fpu/libm-test-ulps: Update.
65915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65917         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65918         (pltexit): Likewise.
65919         (La_regs): Likewise.
65920         (La_retval): Likewise.
65921         (int_retval): Likewise.
65922         Update #error for removed macros to refer only to definitions in
65923         tst-audit.h.
65924         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65925         macro.
65926         (pltexit): Likewise.
65927         (La_regs): Likewise.
65928         (La_retval): Likewise.
65929         (int_retval): Likewise.
65930         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65931         macro.
65932         (pltexit): Likewise.
65933         (La_regs): Likewise.
65934         (La_retval): Likewise.
65935         (int_retval): Likewise.
65936         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65937         macro.
65938         (pltexit): Likewise.
65939         (La_regs): Likewise.
65940         (La_retval): Likewise.
65941         (int_retval): Likewise.
65942         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65943         macro.
65944         (pltexit): Likewise.
65945         (La_regs): Likewise.
65946         (La_retval): Likewise.
65947         (int_retval): Likewise.
65948         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65949         macro.
65950         (pltexit): Likewise.
65951         (La_regs): Likewise.
65952         (La_retval): Likewise.
65953         (int_retval): Likewise.
65954         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65955         macro.
65956         (pltexit): Likewise.
65957         (La_regs): Likewise.
65958         (La_retval): Likewise.
65959         (int_retval): Likewise.
65960         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65961         macro definitions in tst-audit.h.
65962         * sysdeps/i386/tst-audit.h: New file.
65963         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65964         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65965         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65966         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65967         * sysdeps/sh/tst-audit.h: Likewise.
65968         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65969         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65970         * sysdeps/x86_64/tst-audit.h: Likewise.
65972 2012-07-26  Andreas Jaeger  <aj@suse.de>
65974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65975         ptrace.
65977         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65978         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65979         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65980         PTRACE_O_MASK.
65981         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65982         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65983         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65985         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65986         value.
65988         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65989         _sigsys.
65990         (si_call_addr, si_syscall, si_arch): Define new macro.
65991         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65992         _sigsys.
65993         (si_call_addr, si_syscall, si_arch): Define new marcro.
65994         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65995         _sigsys.
65996         (si_call_addr, si_syscall, si_arch): Define new macro.
65997         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65998         _sigsys.
65999         (si_call_addr, si_syscall, si_arch): Define new macro.
66001 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66003         [BZ #13717]
66004         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66005         Change to 2.4.21 where previously 2.4.1.
66006         * sysdeps/unix/sysv/linux/configure: Regenerated.
66007         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66008         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66009         Linux kernel version.
66010         (__ASSUME_STD_AUXV): Remove.
66011         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66012         kernel version.
66013         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66014         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66015         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66016         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66017         (__ASSUME_NETLINK_SUPPORT): Likewise.
66018         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66019         (__no_netlink_support): Remove conditional definition.
66020         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66021         Remove.
66022         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66023         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66024         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66025         (if_nameindex_ioctl): Remove.
66026         (if_nameindex_netlink): Do not handle __no_netlink_support.
66027         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66028         code.
66029         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66030         Remove conditional code.
66031         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66032         code.
66033         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66034         unconditional.
66035         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66036         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66037         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66038         Remove.
66039         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66040         [!__ASSUME_STD_AUXV]: Remove conditional code.
66041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66042         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66043         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66045         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66046         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66047         code.
66048         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66050         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66051         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66052         conditional code.
66053         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66055         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66056         code.
66057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66058         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66059         conditional code.
66060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66061         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66062         code unconditional.
66063         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66064         conditional code.
66065         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66066         unconditional.
66067         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66068         conditional code.
66069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66070         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66071         unconditional.
66072         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66073         conditional code.
66074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66075         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66076         code unconditional.
66077         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66078         conditional code.
66079         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66080         unconditional.
66081         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66082         conditional code.
66083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66084         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66085         code unconditional.
66086         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66087         conditional code.
66088         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66089         unconditional.
66090         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66091         conditional code.
66093 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66095         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66096         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66097         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66098         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66099         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66100         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66101         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66102         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66103         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66104         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66105         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66106         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66107         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66108         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66109         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66110         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66111         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66112         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66113         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66114         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66115         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66116         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66117         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66119 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66121         * Versions.def: Add GLIBC_2.17.
66122         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66123         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66124         Introduce __libc_secure_getenv.
66125         * stdlib/Versions (2.17): Add secure_getenv
66126         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66127         * stdlib/secure-getenv.c: Rename __secure_getenv to
66128         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66129         symbol __secure_getenv for GLIBC_2.0.
66130         * stdlib/tst-secure-getenv.c: New.
66131         * stdlib/Makefile (tests): Add testcase.
66132         * manual/startup.texi (Environment Access): Document
66133         secure_getenv.
66134         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66135         __libc_secure_getenv.
66136         * inet/ruserpass.c (ruserpass): Likewise.
66137         * malloc/mtrace.c (mtrace): Likewise.
66138         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66139         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66140         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66141         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66142         HAVE_SECURE_GETENV.
66143         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66144         __secure_getenv to __libc_secure_getenv.
66145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66147         Likewise.
66148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66149         Likewise.
66150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66158 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66160         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66161         (struct La_i86_retval): Likewise.
66162         (struct La_x86_64_regs): Likewise.
66163         (struct La_x86_64_retval): Likewise.
66164         (struct La_x32_regs): Likewise.
66165         (struct La_x32_retval): Likewise.
66166         (struct La_ppc32_regs): Likewise.
66167         (struct La_ppc32_retval): Likewise.
66168         (struct La_ppc64_regs): Likewise.
66169         (struct La_ppc64_retval): Likewise.
66170         (struct La_sh_regs): Likewise.
66171         (struct La_sh_retval): Likewise.
66172         (struct La_s390_32_regs): Likewise.
66173         (struct La_s390_32_retval): Likewise.
66174         (struct La_s390_64_regs): Likewise.
66175         (struct La_s390_64_retval): Likewise.
66176         (struct La_sparc32_regs): Likewise.
66177         (struct La_sparc32_retval): Likewise.
66178         (struct La_sparc64_regs): Likewise.
66179         (struct La_sparc64_retval): Likewise.
66180         (struct audit_ifaces): Remove architecture-specific pltenter and
66181         pltexit members.
66182         * sysdeps/i386/ldsodefs.h: New file.
66183         * sysdeps/powerpc/ldsodefs.h: Likewise.
66184         * sysdeps/s390/ldsodefs.h: Likewise.
66185         * sysdeps/sh/ldsodefs.h: Likewise.
66186         * sysdeps/sparc/ldsodefs.h: Likewise.
66187         * sysdeps/x86_64/ldsodefs.h: Likewise.
66189 2012-07-25  Marek Polacek  <polacek@redhat.com>
66191         [BZ #6808]
66192         * math/libm-test.inc (yn_test): Add another test.
66193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66194         to ERANGE when the result is +-Inf.
66195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66196         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66197         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66198         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66200 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66202         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66203         equal to 0.
66204         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66205         clock_t.
66206         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66208 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66210         * configure.in <sysdeps resolving>: Correct printing
66211         Implies_before.
66212         * configure: Regenerate.
66214 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66216         * math/w_ilogb.c: Include <limits.h>.
66217         * math/w_ilogbl.c: Likewise.
66219 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66221         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66222         va_copy.  Document allowing for unavailable va_copy only as
66223         pre-C99 compatibility.
66224         * manual/string.texi (Copying and Concatenation): Use va_copy
66225         instead of __va_copy in concat example.
66227 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66229         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66230         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66231         it if not null.
66233         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66234         with O_NOLINK passed to __file_name_lookup.
66236         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66237         with O_NOLINK passed to __file_name_lookup.
66239         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66240         negative N or less than NGIDS.
66242         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66243         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66244         enough.  Use memcpy instead of strncpy.
66246 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66248         * elf/Makefile (check-data): Remove.
66249         (localplt.data): New vpath directive.
66250         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66251         instead of $(check-data).
66252         * scripts/data/localplt-generic.data: Move to ...
66253         * sysdeps/generic/localplt.data: ... here.
66254         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66255         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66256         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66258         ... here.
66259         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66261         ... here.
66262         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66264         ... here.
66265         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66267         ... here.
66268         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66270         ... here.
66271         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66273         ... here.
66275 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66277         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66278         PPC32 and PPC64 files.
66279         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66280         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66282 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66284         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66285         __makecontext_ret to ...
66286         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66287         ... here and call exit if uc_link is NULL.  New file.
66288         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66289         __makecontext_ret.S.
66290         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66291         __makecontext_ret to ...
66292         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66293         ... here and call exit if uc_link is NULL.  New file.
66294         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66295         __makecontext_ret.S.
66297 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66299         * elf/elf.h (R_390_IRELATIVE): New definition.
66300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66301         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66302         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66303         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66304         (elf_machine_lazy_rel): Likewise.
66305         * sysdeps/s390/dl-irel.h: New file.
66306         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66307         * sysdeps/s390/s390-64/memset.S: New asm code.
66308         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66309         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66310         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66311         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66312         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66313         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66314         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66315         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66316         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66317         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66318         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66319         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66320         * sysdeps/s390/s390-32/memset.S: New asm code.
66321         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66323 2012-07-17  Marek Polacek  <polacek@redhat.com>
66325         [BZ #14349]
66326         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66327         * sysdeps/s390/s390-64/configure.in: Likewise.
66328         * sysdeps/sparc/configure.in: Likewise.
66329         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66330         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66331         * sysdeps/i386/configure.in: Likewise.
66332         * sysdeps/x86_64/configure.in: Likewise.
66333         * sysdeps/sh/configure.in: Likewise.
66334         * sysdeps/s390/s390-32/configure: Regenerated.
66335         * sysdeps/s390/s390-64/configure: Likewise.
66336         * sysdeps/x86_64/configure: Likewise.
66337         * sysdeps/sh/configure: Likewise.
66338         * sysdeps/powerpc/powerpc64/configure: Likewise.
66339         * sysdeps/powerpc/powerpc32/configure: Likewise.
66340         * sysdeps/sparc/configure: Likwise.
66341         * sysdeps/i386/configure: Likewise.
66343         * elf/dl-open.c: Comment fixes.
66345 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66347         * Makefile [CXX] (check-data): Remove.
66348         [CXX] (c++-types.data): New vpath directive.
66349         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66350         vpath.  Do not allow for C++ type data being missing.
66351         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66352         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66353         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66354         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66355         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66356         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66357         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66359         ... here.
66360         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66362         ... here.
66363         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66365         ... here.
66366         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66368         ... here.
66369         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66371         ... here.
66372         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66374         ... here.
66375         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66377         ... here.
66378         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66381         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66382         definitions to architecture-specific files.
66383         (TLS_IE): Likewise.
66384         (TLS_LD): Likewise.
66385         (TLS_GD): Likewise.
66386         * sysdeps/i386/tls-macros.h: New file.
66387         * sysdeps/powerpc/tls-macros.h: Likewise.
66388         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66389         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66390         * sysdeps/sh/tls-macros.h: Likewise.
66391         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66392         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66393         * sysdeps/x86_64/tls-macros.h: Likewise.
66395 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66397         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66398         zero value for regular exit case.
66400         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66401         (__start_context): Preserve zero value for regular exit case.
66403 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66404             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66406         * manual/setjmp.texi (setcontext): Clarify normal process
66407         termination when uc_link is the null pointer.
66408         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66409         exit call.
66411 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66413         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66414         preprocessor.  Test for each exception mask separately.
66416 2012-07-16  Andreas Jaeger  <aj@suse.de>
66418         * po/ru.po: Update from translation team.
66420 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66422         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66423         equal to 0.
66424         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66425         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66426         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66427         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66428         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66430 2012-07-13  Andreas Jaeger  <aj@suse.de>
66432         * po/fr.po: Update from translation team.
66434 2012-07-12  Marek Polacek  <polacek@redhat.com>
66436         [BZ #14173]
66437         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66438         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66439         loop condition.
66441 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66443         [BZ #13717]
66444         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66445         Change to 2.4.1 where previously 2.4.0.
66446         * sysdeps/unix/sysv/linux/configure: Regenerated.
66447         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66448         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66449         version.
66450         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66451         (__ASSUME_AT_CLKTCK): Remove.
66452         (__ASSUME_AT_PAGESIZE): Likewise.
66453         (__ASSUME_AT_XID): Likewise.
66454         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66455         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66456         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66457         unconditionally.
66458         (HAVE_AUX_PAGESIZE): Likewise.
66459         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66460         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66461         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66463 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66465         [BZ #14307]
66466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66467         the temporary buffer used to invoke __gethostbyname2_r,
66468         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66469         host_data / struct gaih_addrtuple.
66470         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66471         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66472         header file nss/nsswitch.h.
66473         * nss/nsswitch.h (global scope): Add definition of implementation
66474         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66475         resolv/nss_dns/dns-host.c).
66477 2012-07-11  Andreas Jaeger  <aj@suse.de>
66479         * po/fr.po: Update from translation team.
66481         * po/sv.po: Update from translation team
66482         * po/fr.po: Another update from translation team.
66484 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66486         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66487         for subnormals or multiply small sinh result by itself.
66488         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66491 2012-07-11  David S. Miller  <davem@davemloft.net>
66493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66495 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66497         [BZ #14347]
66498         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66499         (INTERNAL_MARK): Shift it here.
66501 2012-07-10  Marek Polacek  <polacek@redhat.com>
66503         [BZ #14151]
66504         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66505         libc_cv_asm_global_directive with .globl.
66506         * configure: Regenerated.
66507         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66508         with .globl.
66509         * sysdeps/i386/configure: Regenerated.
66510         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66511         with .globl.
66512         * sysdeps/x86_64/configure: Regenerated.
66513         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66514         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66515         * elf/tst-unique2mod2.c: Likewise.
66516         * elf/tst-unique2mod1.c: Likewise.
66517         * elf/tst-unique1mod2.c: Likewise.
66518         * elf/tst-unique1mod1.c: Likewise.
66519         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66520         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66521         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66522         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66523         * sysdeps/mach/sysdep.h: Likewise.
66524         * sysdeps/i386/sysdep.h: Likewise.
66525         * sysdeps/i386/i386-mcount.S: Likewise.
66526         * sysdeps/x86_64/_mcount.S: Likewise.
66527         * sysdeps/x86_64/sysdep.h: Likewise.
66528         * sysdeps/sh/_mcount.S: Likewise.
66529         * sysdeps/sh/sysdep.h: Likewise.
66530         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66531         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66532         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66533         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66534         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66535         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66536         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66537         * locale/localeinfo.h: Likewise.
66538         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66539         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66541 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66543         [BZ #14336]
66544         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66545         system".
66546         * manual/message.texi (The Uniforum approach): Likewise.
66547         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66548         (glibc iconv Implementation): Likewise.
66550 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66552         [BZ #14337]
66553         * math/s_clog.c (__clog): Avoid scaling a value down where that
66554         could result in underflow.
66555         * math/s_clog10.c (__clog10): Likewise.
66556         * math/s_clog10f.c (__clog10f): Likewise.
66557         * math/s_clog10l.c (__clog10l): Likewise.
66558         * math/s_clogf.c (__clogf): Likewise.
66559         * math/s_clogl.c (__clogl): Likewise.
66560         * math/libm-test.inc (clog_test): Add more tests.
66561         (clog10_test): Likewise.
66562         * sysdeps/i386/fpu/libm-test-ulps: Update.
66563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66565 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66567         [BZ #14283]
66568         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66569         by 7 not 8 to examine high bit of fractional part.
66571         [BZ #14042]
66572         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66573         for call to __mcount_internal.
66574         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66575         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66576         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66578 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66580         [BZ #14154]
66581         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66582         approximation for values within 0x1p-13f of an odd multiple of
66583         pi/4.
66584         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66585         exception.  Add more tests.
66586         * sysdeps/i386/fpu/libm-test-ulps: Update.
66588         [BZ #6778]
66589         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66590         inputs and return -1 for them.  Do not check for +Inf in case not
66591         reachable for +Inf.
66592         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66593         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66594         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66595         and return -1 for them.  Do not check for +Inf in case not
66596         reachable for +Inf.
66597         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66598         define.
66599         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66600         and return -1 for them.  Do not check for +Inf in case not
66601         reachable for +Inf.
66602         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66603         spurious underflow.
66604         * sysdeps/i386/fpu/libm-test-ulps: Update.
66605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66607 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66609         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66611 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66613         [BZ #14157]
66614         [BZ #14331]
66615         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66616         could result in spurious underflow.  Scale down values above
66617         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66618         * math/s_csqrtf.c (__csqrtf): Likewise.
66619         * math/s_csqrtl.c (__csqrtl): Likewise.
66620         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66621         spurious underflow.
66622         * sysdeps/i386/fpu/libm-test-ulps: Update.
66623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66625 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66627         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66628         xopen-msg.sed.
66629         * catgets/xopen-msg.awk: New file.
66630         * catgets/xopen-msg.sed: Removed.
66632         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66633         po2text.sed.
66634         * intl/po2test.awk: New file.
66635         * intl/po2test.sed: Removed.
66637 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66639         [BZ #14328]
66640         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66641         or multiply small sinh result by itself.
66642         * math/s_ctanf.c (__ctanf): Likewise.
66643         * math/s_ctanh.c (__ctanh): Likewise.
66644         * math/s_ctanhf.c (__ctanhf): Likewise.
66645         * math/s_ctanhl.c (__ctanhl): Likewise.
66646         * math/s_ctanl.c (__ctanl): Likewise.
66647         * math/libm-test.inc (ctan_test_tonearest): New function.
66648         (ctan_test_towardzero): Likewise.
66649         (ctan_test_downward): Likewise.
66650         (ctan_test_upward): Likewise.
66651         (ctanh_test_tonearest): Likewise.
66652         (ctanh_test_towardzero): Likewise.
66653         (ctanh_test_downward): Likewise.
66654         (ctanh_test_upward): Likewise.
66655         (main): Call these new functions.
66656         * sysdeps/i386/fpu/libm-test-ulps: Update.
66657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66659 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66661         * .gitignore: Delete /ports entry.
66663 2012-07-03  Andreas Jaeger  <aj@suse.de>
66665         * po/bg.po: Update from translation team.
66666         * po/cs.po: Likewise.
66667         * po/de.po: Likewise.
66668         * po/hr.po: Likewise.
66669         * po/nl.pl: Likewise.
66670         * po/pl.po: Likewise.
66671         * po/vi.po: Likewise.
66673 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66675         * Makeconfig [!+link] (+link-before-libc): New variable.
66676         [!+link] (+link-after-libc): Likewise.
66677         [!+link] (+link-tests): Likewise.
66678         [!+link] (+link): Define in terms of $(+link-before-libc) and
66679         $(+link-after-libc).
66680         [!+link-static] (+link-static-before-libc): New variable.
66681         [!+link-static] (+link-static-after-libc): Likewise.
66682         [!+link-static] (+link-static-tests): Likewise.
66683         [!+link-static] (+link-static): Define in terms of
66684         $(+link-static-before-libc) and $(+link-static-after-libc).
66685         [build-shared] (link-libc-before-gnulib): New variable.
66686         [build-shared] (link-libc-tests): Likewise.
66687         [build-shared] (link-libc): Define in terms of
66688         $(link-libc-before-gnulib).
66689         [!build-shared] (link-libc-tests): New variable.
66690         (link-libc-static-tests): New variable.
66691         [!gnulib] (gnulib-arch): New variable.
66692         [!gnulib] (gnulib-tests): Likewise.
66693         [!gnulib] (static-gnulib-arch): Likewise.
66694         [!gnulib] (static-gnulib-tests): Likewise.
66695         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66696         Define with "=" instead of ":=".
66697         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66698         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66699         * Rules (binaries-all-notests): New variable.
66700         (binaries-all-tests): Likewise.
66701         (binaries-static-notests): Likewise.
66702         (binaries-static-tests): Likewise.
66703         (binaries-all): Define using $(binaries-all-notests) and
66704         $(binaries-all-tests).
66705         (binaries-static): Define using $(binaries-static-notests) and
66706         $(binaries-static-tests).
66707         (binaries-shared-tests): New variable.
66708         (binaries-shared-notests): Likewise.
66709         (binaries-shared): Remove variable.
66710         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66711         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66712         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66713         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66714         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66715         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66716         * elf/Makefile (sln-modules): New variable.
66717         (extra-objs): Add $(sln-modules:=.o).
66718         (ldconfig-modules): Add static-stubs.
66719         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66720         * elf/static-stubs.c: New file.
66722         [BZ #14283]
66723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66724         by 7 not 8 to examine high bit of fractional part.  Use volatile
66725         variables when splitting into final array of floats if
66726         __FLT_EVAL_METHOD__ != 0.
66727         * math/libm-test.inc (cos_test): Add another test.
66728         (sin_test): Likewise.
66729         * sysdeps/i386/fpu/libm-test-ulps: Update.
66731         [BZ #14273]
66732         * math/libm-test.inc (cosh_test): Add more tests.
66734         * version.h (RELEASE): Set to "development".
66735         (VERSION): Set to "2.16.90".
66737 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66739         * NEWS: Update copyright. Remove last-updated date.
66740         Mention math library bug fixes and timezone data changes.
66741         * README: Mention GNU/Hurd, x32, and HPPA support status.
66743 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66745         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66747 2012-06-27  Andreas Jaeger  <aj@suse.de>
66749         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66751 2012-06-25  Andreas Jaeger  <aj@suse.de>
66753         * sysdeps/s390/fpu/libm-test-ulps: Update.
66755 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66756             Thomas Schwinge  <thomas@codesourcery.com>
66758         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66759         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66760         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66761         fanotify_mark.
66763 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66765         * sysdeps/mach/start.c: Remove file.
66766         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66767         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66768         * sysdeps/sh/init-first.c: Likewise.
66770         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66771         registers for frame unwinding purposes, add CFI directives.
66772         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66773         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66774         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66775         Likewise.
66777         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66778         __fortify_fail returning.
66779         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66781         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66782         sysdeps/sh/____longjmp_chk.S.
66783         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66784         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66785         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66786         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66788         * sysdeps/sh/abort-instr.h: New file.
66789         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66790         process in case exit returns.
66792         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66793         initialize the GOT register before use.
66795         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66796         calculation of ARGC > 4.
66798         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66799         meaningful names to some local labels.
66801 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66802             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66804         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66805         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66806         (__arch_compare_and_exchange_val_16_acq): Likewise.
66807         (__arch_compare_and_exchange_val_32_acq): Likewise.
66808         (atomic_exchange_and_add): Fix gUSA sequence.
66809         (atomic_add): Likewise.
66810         (atomic_add_negative): Likewise.
66811         (atomic_add_zero): Likewise.
66812         (atomic_bit_test_set): Likewise.
66814 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66816         [BZ #13579]
66817         * include/link.h (struct link_map): Add l_free_initfini.
66818         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66819         l_initfini.
66820         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66821         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66822         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66823         set.
66825 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66827         * configure.in: Use AC_LANG_SOURCE.
66828         * configure: Regenerate.
66830 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66832         * configure.in (libc_cv_localstatedir): New substituted variable.
66833         * configure: Regenerated.
66834         * config.make.in (localstatedir): New variable, substituted from
66835         libc_cv_localstatedir.
66836         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66837         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66838         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66839         * sysdeps/gnu/configure: Regenerated.
66841 2012-06-21  Jeff Law  <law@redhat.com>
66843         [BZ #14277]
66844         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66845         free.  Simplify list management for _LIBC case.
66847 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66849         [BZ #14273]
66850         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66851         Clear sign bit of 64-bit integer value before comparing against
66852         overflow value.
66854         * sysdeps/mach/configure: Regenerated.
66856 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66858         [BZ #14278]
66859         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66861 2012-06-21  Jeff Law  <law@redhat.com>
66863         [BZ #13882]
66864         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66865         uint16_t for elements in the "seen" array to avoid char overflows.
66866         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66867         * elf/dl-open.c (dl_open_worker): Likewise.
66869 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66871         * scripts/list-sources.sh: Scan PORTS for translations.
66872         * po/libc.pot: Regenerated.
66874 2012-06-21  Andreas Jaeger  <aj@suse.de>
66876         [BZ #12194]
66877         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66878         warning.
66879         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66880         * bits/byteswap-16.h (__bswap_16): Likewise.
66881         * bits/byteswap.h (__bswap_constant_16): Likewise.
66883 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66885         [BZ #14117]
66886         * sysdeps/i386/fpu_control.h: Removed.
66887         * sysdeps/x86_64/fpu_control.h: Moved to ...
66888         * sysdeps/x86/fpu_control.h: Here.
66890         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66891         (_FPU_SETCW): Likewise.
66893 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66895         [BZ #14117]
66896         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66897         * sysdeps/x86/fpu/bits/mathinline.h: This.
66898         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66900         [BZ #14050]
66901         [BZ #14117]
66902         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66903         functions if __x86_64__ is defined.
66905 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66907         * string/endian.h: Add !__ASSEMBLER__ condition for including
66908         conversion interfaces.
66910 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66912         [BZ #14241]
66913         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66914         of ABS(x) in calculating zero to negative powers other than odd
66915         integers.
66916         * math/libm-test.inc (pow_test): Add more tests.
66918 2012-06-15  Andreas Jaeger  <aj@suse.de>
66920         * manual/contrib.texi (Contributors): Update entry of Liubov
66921         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66922         Machado Filho.
66924 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66926         * string/string.h: Add __wur to GNU version of strerror_r.
66928 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66930         [BZ #14229]
66931         * string/Makefile (tests): Add tst-strtok_r.
66932         * string/tst-strtok_r.c: New file.
66933         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66934         RAX_LP/RDX_LP on SAVE_PTR.
66936 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66938         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66940 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66942         * libm_test.inc (csqrt_test): Allow more spurious underflow
66943         exceptions.
66944         (j0_test): Likewise.
66945         (j1_test): Likewise.
66946         (y0_test): Likewise.
66947         (y1_test): Likewise.
66949 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66951         * po/Makefile (libc.pot): Use UTF-8 charset.
66953 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66955         [BZ #14210]
66956         Suppress sign-conversion warning from FD_SET.
66957         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66958         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66959         not unsigned long int.
66960         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66962 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66964         [BZ #14050]
66965         [BZ #14117]
66966         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66967         __extern_always_inline instead of __extern_inline.
66968         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66969         (__signbit): Likewise.
66970         (__signbitl): Support C++ namespace.
66971         (lrintf): New inline function.
66972         (lrint): Likewise.
66973         (llrintf): Likewise.
66974         (llrint): Likewise.
66975         (fmaxf): Likewise.
66976         (fmax): Likewise.
66977         (fminf): Likewise.
66978         (fmin): Likewise.
66979         (rint): Likewise.
66980         (rintf): Likewise.
66981         (ceil): Likewise.
66982         (ceilf): Likewise.
66983         (floor): Likewise.
66984         (floorf): Likewise.
66985         (nearbyint): Likewise.
66986         (nearbyintf): Likewise.
66988 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66990         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66991         non-default versions.
66993 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66995         [BZ #14218]
66996         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66998 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67000         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67001         (FE_UPWARD, FE_DOWNWARD): Don't define.
67002         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67003         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67005         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67006         reading it.
67007         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67008         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67010 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67012         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67013         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67014         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67015         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67017 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67019         [BZ #14117]
67020         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67021         * sysdeps/i386/fpu/Implies: New file.
67022         * sysdeps/x86_64/fpu/Implies: Likewise.
67023         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67024         * sysdeps/x86/fpu/bits/fenv.h: This.
67026         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67027         __SSE_MATH__.
67029 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67031         [BZ #14134]
67032         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67033         character 0xffff that matches the last element of the
67034         conversion table.
67036 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67038         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67039         fmodl commit.
67041 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67044         values higher than 25.6283.
67046 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67048         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67049         subnormal exponent extraction and add some __builtin_expect.
67050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67051         Fix for subnormal mantissa calculation.
67053 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67055         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67056         cpu2 is -1 and errno is not ENOSYS.
67058 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67060         [BZ #14117]
67061         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67062         * sysdeps/x86/bits/string.h: This.
67063         * sysdeps/x86_64/bits/string.h: Removed.
67065         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67066         if not compiling for x86-64, but compiling for >= i486.
67068         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67069         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67071         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67072         New macro from Linux kernel 3.4.0.
67073         (FP_XSTATE_MAGIC2): Likewise.
67074         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67075         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67076         (struct _fpx_sw_bytes): New struct.
67077         (struct _xsave_hdr): Likewise.
67078         (struct _ymmh_state): Likewise.
67079         (struct _xstate): Likewise.
67081         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67082         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67083         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67084         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67085         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67086         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67088         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67089         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67090         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67091         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67092         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67093         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67095 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67097         [BZ #13743]
67098         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67099         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67100         (sysdep_headers): Include sys/platform/ppc.h.
67101         * sysdeps/powerpc/test-gettimebase.c: Test for
67102         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67103         * manual/Makefile (appendices): Include platform.texi.
67104         * manual/contrib.texi (Contributors): Update @node pointers.
67105         * manual/maint.texi (Maintenance): Likewise.
67106         (Platform): New node.
67107         * manual/platform.texi: New file.  Document the new features.
67109 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67110             Jakub Jelinek  <jakub@redhat.com>
67112         [BZ #14188]
67113         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67114         where __builtin_expect is unavailable.
67116 2012-06-03  David S. Miller  <davem@davemloft.net>
67118         * stdlib/longlong.h: Updated from GCC.
67120 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67122         [BZ #14042]
67123         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67124         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67125         __mcount_internal.
67126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67127         (GLIBC_2.16): Likewise.
67129 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67131         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67133 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67136         (default-abi): New variable.
67137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67138         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67139         variable.
67140         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67141         Likewise.
67142         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67143         Likewise.
67144         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67145         Likewise.
67147         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67148         definition.  Document in comment.
67150 2012-06-01  David S. Miller  <davem@davemloft.net>
67152         * stdlib/longlong.h: Updated from GCC.
67154 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67156         [BZ #14117]
67157         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67158         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67159         sys/debugreg.h sys/io.h here.
67160         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67161         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67162         sys/io.h.
67163         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67164         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67165         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67166         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67167         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67168         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67170         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67171         Define only if __x86_64__ is defined.
67173 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67175         [BZ #14048]
67176         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67177         Use int64_t for variable i.
67178         * math/libm-test.inc (fmod_test): Add more tests.
67180         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67181         z computation is not scheduled after fetestexcept.
67182         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67183         Use math_force_eval instead of asm to ensure calculation scheduled
67184         before exception test.
67185         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67186         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67188 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67191         computation is not scheduled after fetestexcept.
67193 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67195         [BZ #14117]
67196         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67197         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67199 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67201         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67202         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67204 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67206         [BZ #14117]
67207         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67208         <bits/wordsize.h>.
67209         (__WCHAR_MIN): Support __WORDSIZE == 64.
67210         (__WCHAR_MAX): Likewise.
67212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67213         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67215         [BZ #14183]
67216         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67217         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67219         [BZ #14117]
67220         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67223         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67224         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67226         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67227         Defined to 1 if __x86_64__ isn't defined.
67228         (_STAT_VER_LINUX_OLD): New.
67229         (st_atime): Remove duplicate.
67230         (st_mtime): Likewise.
67231         (st_ctime): Likewise.
67233 2012-05-31  David S. Miller  <davem@davemloft.net>
67235         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67236         entries.
67238 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67240         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67241         gen-libm-test.pl.
67243         [BZ #14132]
67244         * elf/dl-reloc.c: Include <_itoa.h>.
67245         (_dl_reloc_bad_type): Remove use of INTUSE.
67246         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67247         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67248         * stdio-common/psiginfo.c (psiginfo): Likewise.
67249         * stdio-common/psignal.c (psignal): Likewise.
67250         * string/strsignal.c (strsignal): Likewise.
67251         * include/signal.h (_sys_siglist): Declare hidden proto.
67252         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67253         INTVARDEF with libc_hidden_data_def.
67254         * stdio-common/itoa-udigits.c: Likewise.
67255         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67256         (_itoa_lower_digits_internal): Remove declaration.
67257         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67258         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67259         (_sys_sigabbrev_internal): Remove aliases.
67260         (_sys_siglist): Define hidden alias.
67262 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67265         bits/sysctl.h.
67267 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67269         [BZ #14117]
67270         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67271         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67273         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67274         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67275         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67276         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67277         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67278         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67280         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67281         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67282         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67284         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67285         with __addr.
67286         (insw): Likewise.
67287         (insl): Likewise.
67288         (outsb): Likewise.
67289         (outsw): Likewise.
67290         (outsl): Likewise.
67292         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67293         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67294         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67296         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67297         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67298         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67299         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67300         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67301         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67303         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67304         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67306         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67307         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67311         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67313         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67314         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67315         to ...
67316         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67318         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67319         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67320         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67322         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67323         for x86-64.
67324         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67326 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67328         * math/math.h (M_El): Use two more decimal places.
67329         (M_LOG2El): Likewise.
67330         (M_LOG10El): Likewise.
67331         (M_LN2l): Likewise.
67332         (M_LN10l): Likewise.
67333         (M_PIl): Likewise.
67334         (M_PI_2l): Likewise.
67335         (M_PI_4l): Likewise.
67336         (M_1_PIl): Likewise.
67337         (M_2_PIl): Likewise.
67338         (M_2_SQRTPIl): Likewise.
67339         (M_SQRT2l): Likewise.
67340         (M_SQRT1_2l): Likewise.
67342 2012-05-31  David S. Miller  <davem@davemloft.net>
67344         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67345         values between float registers.
67346         * sysdeps/sparc/sparc64/memset.S: Likewise.
67347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67349 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67351         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67352         -D_FORTIFY_SOURCE=1.
67353         (CPPFLAGS-tst-longjmp_chk.c): Define.
67354         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67355         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67356         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67357         CFLAGS-tst-wchar-h.c.
67359 2012-05-31  Marek Polacek  <polacek@redhat.com>
67361         [BZ #14132]
67362         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67363         __endmntent_internal): Remove declaration.
67364         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67365         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67366         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67368 2012-05-30  David S. Miller  <davem@davemloft.net>
67370         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67371         (___Q_simulate_exceptions): Use real FP ops rather than writing
67372         into the %fsr.
67373         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67374         Likewise.
67376 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67378         [BZ #14117]
67379         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67380         * sysdeps/x86/bits/xtitypes.h: This.
67382         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67383         * sysdeps/x86/bits/wordsize.h: This.
67385         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67386         * sysdeps/x86/bits/huge_vall.h: This.
67388         * sysdeps/i386/bits/select.h: Removed.
67389         * sysdeps/x86_64/bits/select.h: Renamed to ...
67390         * sysdeps/x86/bits/select.h: This.
67392         * sysdeps/i386/bits/setjmp.h: Removed.
67393         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67394         * sysdeps/x86/bits/setjmp.h: This.
67396         * sysdeps/i386/bits/mathdef.h: Removed.
67397         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67398         * sysdeps/x86/bits/mathdef.h: This.
67400 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67402         [BZ #14132]
67403         * include/sys/socket.h (__connect_internal)
67404         (__libc_sa_len_internal): Remove declaration.
67405         (__connect, __libc_sa_len): Declare hidden_proto.
67406         (SA_LEN): Remove use of INTUSE.
67407         * socket/connect.c: Add libc_hidden_def.
67408         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67409         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67410         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67411         alias.
67412         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67413         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67414         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67415         of adding _internal alias.
67417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67419         [BZ #14117]
67420         * sysdeps/i386/bits/link.h: Removed.
67421         * sysdeps/i386/bits/linkmap.h: Likewise.
67422         * sysdeps/x86_64/bits/link.h: Renamed to ...
67423         * sysdeps/x86/bits/link.h: This.
67424         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67425         * sysdeps/x86/bits/linkmap.h: This.
67427         * sysdeps/i386/bits/endian.h: Removed.
67428         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67429         * sysdeps/x86/bits/endian.h: This.
67431         * sysdeps/i386/bits/byteswap.h: Removed.
67432         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67433         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67434         * sysdeps/x86/bits/byteswap.h: This.
67435         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67436         * sysdeps/x86/bits/byteswap-16.h: This.
67437         * sysdeps/i386/Implies: Add x86.
67438         * sysdeps/x86_64/Implies: Likewise.
67440 2012-05-30  David S. Miller  <davem@davemloft.net>
67442         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67443         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67444         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67445         (FP_TRAPPING_EXCEPTIONS): Define.
67446         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67447         (FP_TRAPPING_EXCEPTIONS): Define.
67448         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67449         subnormals only when inexact has been signalled or underflow
67450         exceptions are enabled.
67451         (_FP_PACK_CANONICAL): Likewise.
67453 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67455         [BZ #14183]
67456         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67457         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67459 2012-05-30  Richard Henderson  <rth@twiddle.net>
67461         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67462         with #ifndef NOT_IN_libc.
67464         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67465         marked to avoid plt entry.
67467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67469         [BZ #14112]
67470         * Makeconfig (default-abi): New macro.
67471         (abi-includes): Likewise.
67472         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67473         $(abi-$(default-abi)-lib-soname) for soname if defined.
67474         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67475         abi-variants.
67476         * Makefile (installed-stubs): Likewise.
67477         * include/stubs-biarch.h: Removed.
67478         * scripts/lib-names.awk: Only handle one library at a time.
67479         * scripts/soversions.awk: Remove WORDSIZE support.
67480         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67481         entries.
67482         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67483         Removed.
67484         (syscall-list-default-condition): Likewise.
67485         (syscall-list-default-condition): Likewise.
67486         (syscall-list-includes): Likewise.
67487         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67488         syscall-list-* with abi-*.  Handle undefined abi-variants.
67489         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67490         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67491         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67492         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67493         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67494         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67495         Removed.
67496         (syscall-list-32-options): Likewise.
67497         (syscall-list-32-condition): Likewise.
67498         (syscall-list-64-options): Likewise.
67499         (syscall-list-64-condition): Likewise.
67500         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67501         macro.
67502         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67503         Renamed to ...
67504         (abi-*): This.
67505         (abi-64-ld-soname): New macro.
67506         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67507         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67508         Renamed to ...
67509         (abi-*): This.
67510         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67511         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67513 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67515         * sysdeps/unix/sysv/linux/kernel-features.h
67516         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67517         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67518         include <kernel-features.h>.
67519         [!__NR_ftruncate64]: Remove conditional code.
67520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67521         [__NR_ftruncate64]: Make code unconditional.
67522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67523         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67524         include <kernel-features.h>.
67525         [!__NR_ftruncate64]: Remove conditional code.
67526         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67527         [__NR_ftruncate64]: Make code unconditional.
67528         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67530         include <kernel-features.h>.
67531         [!__NR_ftruncate64]: Remove conditional code.
67532         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67533         [__NR_ftruncate64]: Make code unconditional.
67534         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67536         include <kernel-features.h>.
67537         [!__NR_ftruncate64]: Remove conditional code.
67538         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67539         [__NR_ftruncate64]: Make code unconditional.
67540         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67542         * configure.in (libc_cv_fpie): Weaken to a compile test using
67543         LIBC_TRY_CC_OPTION.
67544         * configure: Regenerated.
67546 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67552         Refreshed.
67553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67559         Refreshed.
67561 2012-05-27  David S. Miller  <davem@davemloft.net>
67563         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67564         (___Q_zero): New.
67565         (__Q_simulate_exceptions): Return void.  Change to simulate
67566         exceptions by writing into the %fsr.
67567         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67568         (__Qp_handle_exceptions): Likewise.
67569         (numbers): Delete.
67570         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67571         __Qp_handle_exceptions.
67572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67573         __Qp_handle_exceptions.
67574         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67575         as unused and give dummy FP_RND_NEAREST initializer.
67576         (FP_INHIBIT_RESULTS): Define.
67577         (___Q_simulate_exceptions): Update declaration.
67578         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67579         formatting.
67580         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67581         as unused and give dummy FP_RND_NEAREST initializer.
67582         (__Qp_handle_exceptions): Update declaration.
67583         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67584         formatting.
67586 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67588         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67589         the temporary FPU control word.
67590         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67591         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67592         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67593         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67594         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67595         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67596         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67597         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67598         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67599         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67600         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67602 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67604         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67605         fields.
67607 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67609         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67610         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67611         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67612         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67613         Likewise.
67614         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67615         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67616         Likewise.
67618 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67620         * po/h.po: Update from translation team.
67622 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67624         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67626         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67627         handling of denormals.
67628         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67629         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67630         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67631         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67632         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67633         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67635         Likewise.
67637 2012-05-26  Marek Polacek  <polacek@redhat.com>
67639         [BZ #14152]
67640         * math/libm-test.inc (fma_test): Don't always expect underflow
67641         exception.
67643 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67645         [BZ #12416]
67646         * elf/tst-execstack.c: Include stackinfo.h.
67647         (do_test): Adjust test case to ensure that pthread_getattr_np
67648         behaviour remains the same after marking stack executable.
67650 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67652         * sysdeps/unix/sysv/linux/kernel-features.h
67653         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67654         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67655         kernel-features.h.
67656         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67657         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67658         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67659         kernel-features.h.
67660         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67661         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67663 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67665         * configure.in: Define the default includes to being none.
67666         * configure: Regenerated.
67668 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67670         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67671         * sysdeps/x86_64/setjmp.S: Likewise.
67672         * sysdeps/i386/bsd-setjmp.S: Likewise.
67673         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67674         * sysdeps/i386/setjmp.S: Likewise.
67675         * sysdeps/i386/__longjmp.S: Likewise.
67676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67677         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67679         * include/stap-probe.h: New file.
67680         * configure.in: Handle --enable-systemtap.
67681         * configure: Regenerated.
67682         * config.h.in (USE_STAP_PROBE): New #undef.
67683         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67684         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67685         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67687 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67689         [BZ #13717]
67690         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67691         to 2.4.0 where earlier.
67692         * sysdeps/unix/sysv/linux/configure: Regenerated.
67693         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67694         <kernel-features.h>.
67695         [__ASSUME_32BITUIDS]: Make code unconditional.
67696         [!__ASSUME_32BITUIDS]: Remove conditional code.
67697         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67698         <kernel-features.h>.
67699         [__ASSUME_32BITUIDS]: Make code unconditional.
67700         [!__ASSUME_32BITUIDS]: Remove conditional code.
67701         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67702         [__ASSUME_32BITUIDS]: Make code unconditional.
67703         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67704         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67705         <kernel-features.h>.
67706         [__ASSUME_32BITUIDS]: Make code unconditional.
67707         [!__ASSUME_32BITUIDS]: Remove conditional code.
67708         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67709         <kernel-features.h>.
67710         [__ASSUME_32BITUIDS]: Make code unconditional.
67711         [!__ASSUME_32BITUIDS]: Remove conditional code.
67712         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67713         <kernel-features.h>.
67714         [__ASSUME_32BITUIDS]: Make code unconditional.
67715         [!__ASSUME_32BITUIDS]: Remove conditional code.
67716         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67717         <kernel-features.h>.
67718         [__ASSUME_32BITUIDS]: Make code unconditional.
67719         [!__ASSUME_32BITUIDS]: Remove conditional code.
67720         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67721         <kernel-features.h>.
67722         [__ASSUME_32BITUIDS]: Make code unconditional.
67723         [!__ASSUME_32BITUIDS]: Remove conditional code.
67724         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67725         <kernel-features.h>.
67726         [__ASSUME_32BITUIDS]: Make code unconditional.
67727         [!__ASSUME_32BITUIDS]: Remove conditional code.
67728         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67729         <kernel-features.h>.
67730         [__ASSUME_32BITUIDS]: Make code unconditional.
67731         [!__ASSUME_32BITUIDS]: Remove conditional code.
67732         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67733         <kernel-features.h>.
67734         [__ASSUME_32BITUIDS]: Make code unconditional.
67735         [!__ASSUME_32BITUIDS]: Remove conditional code.
67736         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67737         <kernel-features.h>.
67738         [__ASSUME_32BITUIDS]: Make code unconditional.
67739         [!__ASSUME_32BITUIDS]: Remove conditional code.
67740         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67741         <kernel-features.h>.
67742         [__ASSUME_32BITUIDS]: Make code unconditional.
67743         [!__ASSUME_32BITUIDS]: Remove conditional code.
67744         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67745         <kernel-features.h>.
67746         [__NR_setresgid] (__setresgid): Do not declare.
67747         [__ASSUME_32BITUIDS]: Make code unconditional.
67748         [!__ASSUME_32BITUIDS]: Remove conditional code.
67749         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67750         <kernel-features.h>.
67751         [__NR_setresuid] (__setresuid): Do not declare.
67752         [__ASSUME_32BITUIDS]: Make code unconditional.
67753         [!__ASSUME_32BITUIDS]: Remove conditional code.
67754         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67755         <kernel-features.h>.
67756         [__ASSUME_32BITUIDS]: Make code unconditional.
67757         [!__ASSUME_32BITUIDS]: Remove conditional code.
67758         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67759         <kernel-features.h>.
67760         [__ASSUME_32BITUIDS]: Make code unconditional.
67761         [!__ASSUME_32BITUIDS]: Remove conditional code.
67762         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67763         <kernel-features.h>.
67764         [__ASSUME_32BITUIDS]: Make code unconditional.
67765         [!__ASSUME_32BITUIDS]: Remove conditional code.
67766         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67767         <kernel-features.h>.
67768         [__ASSUME_32BITUIDS]: Make code unconditional.
67769         [!__ASSUME_32BITUIDS]: Remove conditional code.
67770         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67771         <kernel-features.h>.
67772         [__ASSUME_32BITUIDS]: Make code unconditional.
67773         [!__ASSUME_32BITUIDS]: Remove conditional code.
67774         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67775         <kernel-features.h>.
67776         [__ASSUME_32BITUIDS]: Make code unconditional.
67777         [!__ASSUME_32BITUIDS]: Remove conditional code.
67778         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67779         <kernel-features.h>.
67780         [__ASSUME_32BITUIDS]: Make code unconditional.
67781         [!__ASSUME_32BITUIDS]: Remove conditional code.
67782         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67783         <kernel-features.h>.
67784         [__ASSUME_32BITUIDS]: Make code unconditional.
67785         [!__ASSUME_32BITUIDS]: Remove conditional code.
67786         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67787         <kernel-features.h>.
67788         [__ASSUME_32BITUIDS]: Make code unconditional.
67789         [!__ASSUME_32BITUIDS]: Remove conditional code.
67790         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67791         <kernel-features.h>.
67792         [__ASSUME_32BITUIDS]: Make code unconditional.
67793         [!__ASSUME_32BITUIDS]: Remove conditional code.
67794         * sysdeps/unix/sysv/linux/kernel-features.h
67795         (__ASSUME_SETRESUID_SYSCALL): Remove.
67796         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67797         (__ASSUME_32BITUIDS): Likewise.
67798         (__ASSUME_LDT_WORKS): Likewise.
67799         (__ASSUME_O_DIRECTORY): Likewise.
67800         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67801         architecture but not kernel version.
67802         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67803         (__ASSUME_MMAP2_SYSCALL): Likewise.
67804         (__ASSUME_STAT64_SYSCALL): Likewise.
67805         (__ASSUME_IPC64): Likewise.
67806         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67807         <kernel-features.h>.
67808         [__ASSUME_32BITUIDS]: Make code unconditional.
67809         [!__ASSUME_32BITUIDS]: Remove conditional code.
67810         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67811         <kernel-features.h>.
67812         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67813         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67814         132096]: Remove conditional code.
67815         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67816         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67817         <kernel-features.h>.
67818         [__ASSUME_32BITUIDS]: Make code unconditional.
67819         [!__ASSUME_32BITUIDS]: Remove conditional code.
67820         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67821         <kernel-features.h>.
67822         [__ASSUME_32BITUIDS]: Make code unconditional.
67823         [!__ASSUME_32BITUIDS]: Remove conditional code.
67824         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67825         <kernel-features.h>.
67826         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67827         unconditional.
67828         (__setresgid): Do not declare.
67829         [__ASSUME_32BITUIDS]: Make code unconditional.
67830         [!__ASSUME_32BITUIDS]: Remove conditional code.
67831         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67832         <kernel-features.h>.
67833         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67834         unconditional.
67835         (__setresuid): Do not declare.
67836         [__ASSUME_32BITUIDS]: Make code unconditional.
67837         [!__ASSUME_32BITUIDS]: Remove conditional code.
67838         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67839         <kernel-features.h>.
67840         [__ASSUME_32BITUIDS]: Make code unconditional.
67841         [!__ASSUME_32BITUIDS]: Remove conditional code.
67842         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67843         <kernel-features.h>.
67844         [__ASSUME_32BITUIDS]: Make code unconditional.
67845         [!__ASSUME_32BITUIDS]: Remove conditional code.
67847 2012-05-25  Richard Henderson  <rth@twiddle.net>
67849         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67850         dl_hwcap to ifunc resolver.
67851         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67852         elf_ifunc_invoke.
67853         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67854         dl_hwcap to ifunc resolver.
67855         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67857 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67859         [BZ #14153]
67860         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67861         for |x| <= 2**-26, not 2**-57.
67862         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67863         exception.
67865 2012-05-24  Jeff Law  <law@redhat.com>
67867         * stdio-common/Makefile (tests): Add bug25.
67868         * stdio-common/bug25.c: New test.
67870 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67872         [BZ #13576]
67873         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67874         multiple of MALLOC_ALIGNMENT in size.
67875         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67877 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67879         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67880         Require >= 256.
67881         (FILENAME_MAX): Use macro-int-constant.
67882         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67883         (_IOFBF): Use macro-int-constant.
67884         (_IOLBF): Likewise.
67885         (_IONBF): Likewise.
67886         (SEEK_CUR): Likewise.
67887         (SEEK_END): Likewise.
67888         (SEEK_SET): Likewise.
67889         (TMP_MAX): Likewise.
67890         (EOF): Use macro-int-constant.  Require < 0.
67891         (NULL): Use macro-constant.  Require == 0.
67892         (stdin): Require type to be FILE *.
67893         (stdout): Likewise.
67894         (stderr): Likewise.
67895         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67896         macro-int-constant.
67897         (EXIT_SUCCESS): Likewise.
67898         (NULL): Use macro-constant.  Require == 0.
67899         (RAND_MAX): Use macro-int-constant.
67900         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67901         [C99-based standards] (strtof): Require function.
67902         [C99-based standards] (strtold): Likewise.
67903         [C99-based standards] (strtoll): Likewise.
67904         [C99-based standards] (strtoull): Likewise.
67905         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67906         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67907         [ISO || ISO99 || ISO11] (math.h): Likewise.
67908         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67909         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67912 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67914         [BZ #14132]
67915         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67916         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67917         * intl/dgettext.c (DCGETTEXT): Likewise.
67918         * intl/gettext.c (DCGETTEXT): Likewise.
67919         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67920         * posix/regex_internal.h (gettext): Likewise.
67921         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67922         Remove declaration.
67923         * include/argz.h (__argz_count_internal)
67924         (__argz_stringify_internal): Remove declaration.
67925         (__argz_count, __argz_stringify): Declare hidden proto.
67926         * intl/dcgettext.c: Remove use of INTDEF.
67927         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67928         * string/argz-stringify.c: Likewise.
67929         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67930         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67931         Declare hidden proto.
67932         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67933         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67934         Declare hidden proto.
67935         * include/stdio.h (__asprintf_internal): Don't declare.
67936         (__asprintf): Don't define as macro.  Declare hidden proto.
67937         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67938         (__fsetlocking): Declare hidden proto.
67939         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67940         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67941         hidden proto.
67942         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67943         (_IO_setlinebuf): Remove use of INTUSE.
67944         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67945         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67946         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67947         Remove declaration.
67948         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67949         (_IO_do_flush): Remove use of INTUSE.
67950         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67951         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67952         (_IO_adjust_column, _IO_least_wmarker)
67953         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67954         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67955         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67956         (_IO_default_doallocate, _IO_wdefault_doallocate)
67957         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67958         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67959         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67960         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67961         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67962         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67963         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67964         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67965         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67966         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67967         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67968         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67969         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67970         proto.
67971         (_IO_flush_all_internal, _IO_adjust_column_internal)
67972         (_IO_default_uflow_internal, _IO_default_finish_internal)
67973         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67974         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67975         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67976         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67977         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67978         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67979         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67980         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67981         (_IO_file_close_internal, _IO_file_close_it_internal)
67982         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67983         (_IO_file_init_internal, _IO_file_attach_internal)
67984         (_IO_file_fopen_internal, _IO_file_read_internal)
67985         (_IO_file_sync_internal, _IO_file_seek_internal)
67986         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67987         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67988         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67989         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67990         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67991         (_IO_list_all_internal, _IO_link_in_internal)
67992         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67993         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67994         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67995         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67996         (_IO_do_write_internal, _IO_padn_internal)
67997         (_IO_getline_info_internal, _IO_getline_internal)
67998         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67999         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68000         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68001         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68002         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68003         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68004         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68005         with libc_hidden_ver, remove use of INTUSE.
68006         * libio/genops.c: Likewise.
68007         * libio/freopen.c: Likewise.
68008         * libio/freopen64.c: Likewise.
68009         * libio/iofclose.c: Likewise.
68010         * libio/iofdopen.c: Likewise.
68011         * libio/iofflush.c: Likewise.
68012         * libio/iofflush_u.c: Likewise.
68013         * libio/iofgets.c: Likewise.
68014         * libio/iofgets_u.c: Likewise.
68015         * libio/iofopen.c: Likewise.
68016         * libio/iofopncook.c: Likewise.
68017         * libio/iofread.c: Likewise.
68018         * libio/iofread_u.c: Likewise.
68019         * libio/ioftell.c: Likewise.
68020         * libio/iofwrite.c: Likewise.
68021         * libio/iogetline.c: Likewise.
68022         * libio/iogets.c: Likewise.
68023         * libio/iogetwline.c: Likewise.
68024         * libio/iopadn.c: Likewise.
68025         * libio/iopopen.c: Likewise.
68026         * libio/ioseekoff.c: Likewise.
68027         * libio/ioseekpos.c: Likewise.
68028         * libio/iosetbuffer.c: Likewise.
68029         * libio/iosetvbuf.c: Likewise.
68030         * libio/ioungetc.c: Likewise.
68031         * libio/ioungetwc.c: Likewise.
68032         * libio/iovdprintf.c: Likewise.
68033         * libio/iovsprintf.c: Likewise.
68034         * libio/iovsscanf.c: Likewise.
68035         * libio/memstream.c: Likewise.
68036         * libio/obprintf.c: Likewise.
68037         * libio/oldfileops.c: Likewise.
68038         * libio/oldiofclose.c: Likewise.
68039         * libio/oldiofdopen.c: Likewise.
68040         * libio/oldiofopen.c: Likewise.
68041         * libio/oldiopopen.c: Likewise.
68042         * libio/oldstdfiles.c: Likewise.
68043         * libio/putc.c: Likewise.
68044         * libio/setbuf.c: Likewise.
68045         * libio/setlinebuf.c: Likewise.
68046         * libio/stdfiles.c: Likewise.
68047         * libio/strops.c: Likewise.
68048         * libio/vasprintf.c: Likewise.
68049         * libio/vscanf.c: Likewise.
68050         * libio/vsnprintf.c: Likewise.
68051         * libio/vswprintf.c: Likewise.
68052         * libio/wfiledoalloc.c: Likewise.
68053         * libio/wfileops.c: Likewise.
68054         * libio/wgenops.c: Likewise.
68055         * libio/wmemstream.c: Likewise.
68056         * libio/wstrops.c: Likewise.
68057         * libio/__fpurge.c: Likewise.
68058         * libio/__fsetlocking.c: Likewise.
68059         * assert/assert.c: Likewise.
68060         * debug/fgets_chk.c: Likewise.
68061         * debug/fgets_u_chk.c: Likewise.
68062         * debug/fread_chk.c: Likewise.
68063         * debug/fread_u_chk.c: Likewise.
68064         * debug/gets_chk.c: Likewise.
68065         * debug/obprintf_chk.c: Likewise.
68066         * debug/vasprintf_chk.c: Likewise.
68067         * debug/vdprintf_chk.c: Likewise.
68068         * debug/vsnprintf_chk.c: Likewise.
68069         * debug/vsprintf_chk.c: Likewise.
68070         * malloc/mtrace.c: Likewise.
68071         * misc/error.c: Likewise.
68072         * misc/syslog.c: Likewise.
68073         * stdio-common/asprintf.c: Likewise.
68074         * stdio-common/fxprintf.c: Likewise.
68075         * stdio-common/getw.c: Likewise.
68076         * stdio-common/isoc99_fscanf.c: Likewise.
68077         * stdio-common/isoc99_scanf.c: Likewise.
68078         * stdio-common/isoc99_vfscanf.c: Likewise.
68079         * stdio-common/isoc99_vscanf.c: Likewise.
68080         * stdio-common/isoc99_vsscanf.c: Likewise.
68081         * stdio-common/printf-prs.c: Likewise.
68082         * stdio-common/printf_fp.c: Likewise.
68083         * stdio-common/printf_fphex.c: Likewise.
68084         * stdio-common/printf_size.c: Likewise.
68085         * stdio-common/putw.c: Likewise.
68086         * stdio-common/scanf.c: Likewise.
68087         * stdio-common/sprintf.c: Likewise.
68088         * stdio-common/tmpfile.c: Likewise.
68089         * stdio-common/vfprintf.c: Likewise.
68090         * stdio-common/vfscanf.c: Likewise.
68091         * stdlib/strfmon_l.c: Likewise.
68092         * sunrpc/openchild.c: Likewise.
68093         * sunrpc/xdr_stdio.c: Likewise.
68094         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68095         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68097 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68099         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68101         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68102         in the third column, to generate for the shared library an IFUNC
68103         that uses _dl_vdso_vsym.
68104         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68105         * Makeconfig (object-suffixes-noshared): New variable.
68107         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68108         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68109         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68110         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68112         [BZ #14132]
68113         * include/sys/time.h (__gettimeofday): Remove macro.
68114         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68115         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68116         Remove INTDEF.
68117         (__gettimeofday): Add libc_hidden_def.
68118         (gettimeofday): Add libc_hidden_weak.
68119         * sysdeps/mach/gettimeofday.c: Likewise.
68120         * sysdeps/posix/gettimeofday.c: Likewise.
68121         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68122         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68124         (__gettimeofday_internal): Remove strong_alias.
68125         (__gettimeofday): Add libc_hidden_def.
68126         (gettimeofday): Add libc_hidden_weak.
68127         * sysdeps/unix/syscalls.list (gettimeofday):
68128         Remove __gettimeofday_internal alias.
68130 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68131             H.J. Lu  <hongjiu.lu@intel.com>
68133         [BZ #12495]
68134         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68135         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68136         (largebin_index_32_big): New.
68137         (largebin_index): Use it for 16-byte alignment.
68138         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68139         correction with front_misalign.
68141 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68145         Likewise.
68146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68147         Likewise.
68148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68149         Likewise.
68150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68151         Likewise.
68152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68153         Likewise.
68154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68155         Likewise.
68156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68157         Likewise.
68158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68159         Likewise.
68160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68161         Likewise.
68162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68163         Likewise.
68164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68165         Likewise.
68166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68167         Likewise.
68169         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68170         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68172 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68174         [BZ #10846]
68175         [BZ #14036]
68176         * math/libm-test.inc (exp_test): Add test from bug 14036.
68177         (pow_test): Add test from bug 10846.
68179         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68180         and other flags.
68181         (special_function): Do not include flags in test name.
68182         (parse_args): Likewise.
68183         * sysdeps/i386/fpu/libm-test-ulps: Update.
68184         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68185         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68186         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68189         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68190         exceptions.
68191         * math/libm-test.inc ("Philosophy"): Update comment about
68192         exception testing.
68193         (UNDERFLOW_EXCEPTION): New macro.
68194         (UNDERFLOW_EXCEPTION_OK): Likewise.
68195         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68196         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68197         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68198         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68199         (INVALID_EXCEPTION_OK): Update value.
68200         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68201         (OVERFLOW_EXCEPTION_OK): Likewise.
68202         (IGNORE_ZERO_INF_SIGN): Likewise.
68203         (test_exceptions): Handle underflow exceptions.
68204         (acos_test): Update for underflow exception expectations.
68205         (cexp_test): Likewise.
68206         (clog_test): Likewise.
68207         (clog10_test): Likewise.
68208         (csqrt_test): Likewise.
68209         (ctan_test): Likewise.
68210         (ctanh_test): Likewise.
68211         (exp_test): Likewise.
68212         (exp10_test): Likewise.
68213         (exp2_test): Likewise.
68214         (expm1_test): Likewise.
68215         (fma_test): Likewise.
68216         (j0_test): Likewise.
68217         (jn_test): Likewise.
68218         (nexttoward_test): Likewise.
68219         (pow_test): Likewise.
68220         (scalbn_test): Likewise.
68221         (scalbln_test): Likewise.
68222         (tan_test): Likewise.
68223         (y1_test): Likewise.
68224         * sysdeps/i386/fpu/libm-test-ulps: Update.
68225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68227 2012-05-23  David S. Miller  <davem@davemloft.net>
68229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68230         (__libc_sigaction): Remove unused local variables.
68232 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68234         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68236 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68238         mktime: avoid signed integer overflow
68239         * time/mktime.c (__mktime_internal): Do not mishandle the case
68240         where diff == INT_MIN.
68242         mktime: simplify computation of average
68243         * time/mktime.c (ranged_convert): Use new time_t_avg function
68244         instead of rolling our own (probably-slower) code.
68246         mktime: do not assume signed right shift propagates sign bit
68247         * time/mktime.c (isdst_differ): New static function.
68248         (__mktime_internal): No need to normalize tm_isdst now.
68249         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68250         tm_isdst values.
68252         mktime: merge another wrapv change from gnulib
68253         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68254         from some compilers.
68256         mktime: remove incorrect attempt at unusual arithmetics
68257         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68258         The code didn't really work on such machines anyway.
68259         (TYPE_MINIMUM): Assume two's complement.
68260         (twos_complement_arithmetic): Verify that long_int and time_t
68261         are two's complement (or unsigned, in the latter case).
68263         mktime: check signed shifts on long_int and time_t, too
68264         * time/mktime.c (SHR): Check that shifts work as desired
68265         on the types long_int and time_t too, as SHR is used on
68266         such types.
68268         mktime: do not assume 'long' is wide enough
68269         * time/mktime.c (verify): Move decl up.
68270         (long_int): New type.
68271         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68272         to remove assumption in the code that 'long' is wide enough to
68273         store year values.  This assumption is not true on x32 and on
68274         some non-glibc platforms.
68276         mktime: merge wrapv change from gnulib
68277         * time/mktime.c (WRAPV): New macro.
68278         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68279         (guess_time_tm, __mktime_internal): Do not assume that signed
68280         integer overflow wraps around; modern compilers generate code
68281         where this assumption is no longer valid.
68283 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68285         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68286         Replace "jmp L(pseudo_end)" with "ret".
68287         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68288         Likewise.
68290 2012-05-23  Andreas Jaeger  <aj@suse.de>
68292         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68293         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68295 2012-05-23  Andreas Jaeger  <aj@suse.de>
68296             Maximilian Attems  <max@stro.at>
68298         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68299         New macros.
68301 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68304         code so that pseudo_end is just ret and the stack pointer is
68305         correct also for static library in error case.
68307 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68309         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68310         move to syscalls.list.
68311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68316         * manual/install.texi (Running make install): Do not mention Linux
68317         kernel version for which pt_chown is not needed.
68318         (Linux): Do not mention problems with nscd with 2.0 kernels.
68319         * INSTALL: Regenerated.
68321 2012-05-23  Andreas Jaeger  <aj@suse.de>
68323         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68324         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68325         macro.
68326         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68327         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68328         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68329         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68330         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68331         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68333         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68334         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68335         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68336         * sysdeps/unix/sysv/linux/bits/in.h
68337         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68339 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68341         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68342         (PREPARE_VERSION): Just use assert instead, it will be elided
68343         under [NDEBUG] anyway.
68345 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68347         * sysdeps/unix/sysv/linux/Makefile: Include
68348         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68349         (sysdep_routines): Remove sysctl.
68350         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68351         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68352         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68353         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68354         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68356 2012-05-22  Andreas Jaeger  <aj@suse.de>
68358         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68359         that pseudo_end is just ret and the stack pointer is correct also
68360         for static library in error case.
68362 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68364         [BZ #14122]
68365         * nss/nsswitch.c (defconfig_entries): New variable.
68366         (__nss_database_lookup): Don't leak defconfig entries.
68367         (nss_parse_service_list): Don't leak on error paths.
68368         (free_database_entries): New function.
68369         (free_defconfig): New function.
68370         (free_mem): Move common code to free_database_entries.
68372 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68374         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68375         Add arch_prctl.
68376         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68378         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68379         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68381         New macro.
68382         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68383         (INTERNAL_SYSCALL_TYPES): Likewise.
68384         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68385         (LOAD_REGS_TYPES_[1-6]): Likewise.
68386         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68387         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68389 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68391         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68392         copysignl for GLIBC_2_0.
68393         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68394         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68396         logbl for GLIBC_2_0.
68397         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68400 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68402         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68403         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68405         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68406         Use "neg %eax".
68408         * time/mktime.c: Update copyright years.
68410 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68412         mktime: merge comment-quoting-style change from gnulib
68413         * time/mktime.c: Quote 'like this' in comments.
68414         The GNU coding standards suggest that we no longer quote `like this',
68415         as "`" and "'" are typically rendered asymmetrically nowadays.
68416         The typical gnulib style is to quote 'like this' when quoting
68417         code, and "like this" when quoting English.
68419         * time/mktime.c (compile-command): Add "-I.".
68421         mktime: merge mktime-internal.h change from gnulib
68422         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68424         mktime: merge time_r change from gnulib
68425         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68427         mktime: merge DEBUG change from gnulib
68428         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68429         case system <time.h> has a #define.
68431         mktime: merge <sys/types.h> change from gnulib
68432         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68433         since <time.t> is now guaranteed to define time_t.
68435         mktime: merge HAVE_CONFIG_H change from gnulib
68436         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68438 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68441         Use "neg %eax".
68443         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68444         __rlim_t cast.
68445         (struct rusage): Use anonymous union to pad each field to
68446         __syscall_slong_t.
68448 2012-05-21  David S. Miller  <davem@davemloft.net>
68450         * Makefules (o-iterator): Remove .s cases.
68451         (compile-command.s): Delete.
68452         (COMPILE.s): Delete.
68453         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68455 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68457         * configure.in (libc_cv_predef_stack_protector): Only consider
68458         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68459         * configure: Regenerated.
68461 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68464         New macro.  Use R*LP on int and pointer.
68465         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68466         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68467         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68468         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68470         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68471         [__WORDSIZE_TIME64_COMPAT32] instead of
68472         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68473         (struct utmp): Likewise.
68474         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68475         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68476         Renamed to ...
68477         (__WORDSIZE_TIME64_COMPAT32): This.
68478         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68479         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68480         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68481         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68482         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68483         (__WORDSIZE_TIME64_COMPAT32): New macro.
68485 2012-05-21  Andreas Jaeger  <aj@suse.de>
68487         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68488         only if [SHARED]. Add prototype for __wcschr_ia32.
68490 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68492         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68493         of %rbp unmolested in the jmp_buf while mangling the low bits.
68494         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68495         unmolested high bits of %rbp while demangling the low bits.
68496         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68498 2012-05-21  Andreas Jaeger  <aj@suse.de>
68500         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68501         * sunrpc/svc_simple.c: Use it for registerrpc.
68502         * sunrpc/xcrypt.c: Use it for passwd2des.
68504         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68506 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68508         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68509         Don't define if [__SYSCALL_WORDSIZE != 32].
68510         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68511         New macro.
68513 2012-05-21  Bruno Haible  <bruno@clisp.org>
68514             Andreas Jaeger  <aj@suse.de>
68516         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68517         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68518         inptr and inend for must_buffer_ch.
68519         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68520         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68521         * stdio-common/Makefile (tests): Remove bug15.
68522         (bug15-ENV): Remove macro.
68523         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68524         anymore.
68526 2012-05-19  Andreas Jaeger  <aj@suse.de>
68527             Roland McGrath  <roland@hack.frob.com>
68529         * manual/contrib.texi: Completely rewritten. It contains now an
68530         alphabetical list of contributors and their contributions.
68532 2012-05-21  Richard Henderson  <rth@twiddle.net>
68534         * misc/getauxval.c (__getauxval): Use unsigned long int.
68535         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68536         (getauxval): Use unsigned long int.
68538 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68540         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68542 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68544         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68545         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68546         __alignof__ (long double).
68548 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68552 2012-05-20  Richard Henderson  <rth@twiddle.net>
68554         * misc/getauxval.c: New file.
68555         * misc/sys/auxv.h: New file.
68556         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68557         (routines): Add getauxval.
68558         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68559         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68560         * elf/dl-sysdep.c (_dl_auxv): Remove.
68561         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68562         * elf/dl-support.c (_dl_auxv): New variable.
68563         (_dl_aux_init): Initialize it.
68564         * manual/startup.texi (Auxiliary Vector): New node.
68565         * sysdeps/generic/bits/hwcap.h: New file.
68566         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68567         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68568         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68569         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68570         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68571         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68573         Update.
68574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68583 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68587 2012-05-19  David S. Miller  <davem@davemloft.net>
68589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68591 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68593         [BZ #14123]
68594         * math/s_ccosh.c: Include <float.h>
68595         (__ccosh): Avoid internal overflow calculating sinh and cosh
68596         values before multiplying by sin and cos values.
68597         * math/s_ccoshf.c: Likewise.
68598         * math/s_ccoshl.c: Likewise.
68599         * math/s_csin.c: Likewise.
68600         * math/s_csinf.c: Likewise.
68601         * math/s_csinl.c: Likewise.
68602         * math/s_csinh.c: Likewise.
68603         * math/s_csinhf.c: Likewise.
68604         * math/s_csinhl.c: Likewise.
68605         * math/libm-test.inc (ccos_test): Add more tests.
68606         (ccosh_test): Likewise.
68607         (csin_test): Likewise.
68608         (csinh_test): Likewise.
68609         * sysdeps/i386/fpu/libm-test-ulps: Update.
68610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68612 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68614         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68615         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68617         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68619 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68621         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68622         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68623         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68624         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68625         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68626         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68627         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68628         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68629         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68630         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68631         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68632         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68633         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68634         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68635         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68636         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68637         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68638         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68639         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68640         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68641         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68642         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68643         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68644         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68645         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68646         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68647         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68648         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68649         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68650         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68651         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68653 2012-05-18  Andreas Jaeger  <aj@suse.de>
68655         * csu/.gitignore: Delete.
68657 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68659         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68660         (timex): Use __syscall_slong_t.
68662 2012-05-18  Andreas Jaeger  <aj@suse.de>
68663             Carlos O'Donell  <carlos_odonell@mentor.com>
68665         * manual/install.texi (Configuring and compiling): Update
68666         description about files modified in the source directory.
68667         * INSTALL: Regenerated.
68669 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68671         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68672         value.  Use "or" to set return value to -1.
68673         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68674         negate return value.
68676 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68678         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68679         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68680         failure if the compiler has Graphite support disabled.
68681         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68682         Likewise.
68683         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68684         (CFLAGS-memmove.c): Likewise.
68685         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68686         Likewise.
68688 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68690         * sysdeps/x86_64/x32/_itoa.h: New file.
68692         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68693         getdents system call only if kernel and user dirents have the
68694         same d_ino and d_off.
68696         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68697         LLONG_MAX != LONG_MAX.
68698         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68699         (_fitoa_word): Likewise.
68701         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68702         years.
68703         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68704         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68705         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68707         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68708         include <bits/wordsize.h>.  Check __x86_64__ instead of
68709         __WORDSIZE.
68710         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68711         if __x86_64__ is defined.  Use anonymous union on fpstate.
68713         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68714         anonymous union.
68716 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68718         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68719         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68720         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68721         Refer to _rtld_local_ro instead of _rtld_global_ro.
68722         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68723         Likewise.
68724         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68725         Likewise.
68726         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68727         Likewise.
68728         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68729         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68730         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68732         [BZ #10882]
68733         * sysdeps/powerpc/powerpc32/dl-machine.c
68734         (__elf_machine_runtime_setup) [PROF]: Don't reference
68735         _dl_prof_resolve.
68737 2012-05-18  Andreas Jaeger  <aj@suse.de>
68739         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68740         function only available for GCCs before 3.4 since GCC 3.4
68741         introduced a builtin.
68742         (lrint): Likewise.
68743         (llrintf): Likewise.
68744         (llrint): Likewise.
68745         (fmaxf): Likewise.
68746         (fmax): Likewise.
68747         (fminf): Likewise.
68748         (fmin): Likewise.
68749         (rint): Likewise.
68750         (rintf): Likewise.
68751         (nearbyint): Likewise.
68752         (nearbyintf): Likewise.
68753         (ceil): Likewise.
68754         (ceilf): Likewise.
68755         (floor): Likewise.
68756         (floorf): Likewise.
68758 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68760         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68761         on both fields and cast pointer to __syscall_ulong_t.
68763         * bits/types.h (__fsword_t): New type.
68764         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68765         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68766         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68767         (__FSWORD_T_TYPE): Likewise.
68768         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68769         (__FSWORD_T_TYPE): Likewise.
68770         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68771         (__FSWORD_T_TYPE): Likewise.
68772         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68773         (__FSWORD_T_TYPE): Likewise.
68774         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68775         __SWORD_TYPE with __fsword_t.
68776         (statfs64): Likewise.
68778 2012-05-17  David S. Miller  <davem@davemloft.net>
68780         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68782 2012-05-17  Andreas Jaeger  <aj@suse.de>
68784         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68785         warning.
68787 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68789         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68791 2012-05-17  Andreas Jaeger  <aj@suse.de>
68793         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68794         when it is used.
68796 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68798         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68800 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68802         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68803         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68805 2012-05-17  Andreas Jaeger  <aj@suse.de>
68806             Carlos O'Donell  <carlos_odonell@mentor.com>
68808         [BZ #14059]
68809         * sysdeps/x86_64/multiarch/init-arch.h
68810         (bit_YMM_Usable): Rename to...
68811         (bit_AVX_Usable): ... this.
68812         (bit_FMA4_Usable): New macro.
68813         (bit_XMM_state): New macro.
68814         (bit_YMM_state): New macro.
68815         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68816         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68817         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68818         (CPUID_OSXSAVE): New macro.
68819         (CPUID_AVX): New macro.
68820         (CPUID_FMA4): New macro.
68821         (index_YMM_Usable): Rename to...
68822         (index_AVX_Usable): ... this.
68823         (HAS_AVX): Use HAS_ARCH_FEATURE.
68824         (HAS_FMA4): Likewise.
68825         (HAS_YMM_USABLE): Remove.
68826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68827         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68828         are present.
68829         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68830         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68831         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68832         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68833         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68835 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68837         * math/libm-test.c: Support platforms without multiple rounding modes.
68838         * math/bug-nextafter.c: Support platforms without FP exceptions.
68839         * math/bug-nexttoward.c: Likewise.
68840         * math/test-fenv.c: Likewise.
68841         * math/test-misc.c: Likewise.
68842         * stdlib/bug-getcontext.c: Likewise.
68844 2012-05-17  Andreas Jaeger  <aj@suse.de>
68846         * manual/examples/search.c (critter_cmp): Change signature to
68847         avoid warnings.
68848         * manual/string.texi (Collation Functions): Likewise.
68850 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68852         * bits/types.h: Fold copyright years.
68853         * bits/typesizes.h: Likewise.
68854         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68857         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68858         * time/time.h: Likewise.
68860 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68862         [BZ #208]
68863         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68864         in instead of returning them.  Return void.
68865         (__libc_mallinfo): Accumulate over all arenas.
68866         (__malloc_stats): Adjust for change in int_mallinfo interface.
68868 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68870         [BZ #10375]
68871         * configure.in (NM): Add AC_CHECK_TOOL for it.
68872         (libc_extra_cflags): New substituted variable.
68873         Check for -fstack-protector being used implicitly.
68874         * configure: Regenerated.
68875         * config.make.in (config-extra-cflags): New variable,
68876         gets @libc_extra_cflags@.
68877         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68879         [BZ #10375]
68880         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68881         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68882         * configure: Regenerated.
68883         * config.make.in (CPPUNDEFS): New substituted variable.
68884         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68885         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68886         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68890         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68891         (mq_attr): Use __syscall_slong_t.
68893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68895         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68896         Check __x86_64__ instead of __WORDSIZE.
68897         (_STAT_VER_LINUX): Likewise.
68898         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68899         __syscall_ulong_t and __syscall_slong_t.
68900         (stat64): Likewise.
68902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68908         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68912         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68913         __syscall_ulong_t.
68915         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68916         include <bits/wordsize.h>.  Check __x86_64__ instead of
68917         __WORDSIZE.
68918         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68919         defined.
68920         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68922         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68923         include <bits/wordsize.h>.  Check __x86_64__ instead of
68924         __WORDSIZE.
68925         (user_regs_struct): Use "__extension__ unsigned long long"
68926         instead of "unsigned long" if __x86_64__ is defined.
68927         (user): Likewise.  Pad after pointer field if __ILP32__ is
68928         defined.
68930 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68932         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68933         versions 5 to 9.
68934         * configure: Regenerated.
68935         * manual/install.texi (texinfo): Increase version requirement to
68936         4.5 or later.
68937         * INSTALL: Regenerated.
68939         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68941 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68943         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68945         * sysdeps/x86_64/x32/ffs.c: New file.
68947         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68948         __syscall_ulong_t.
68949         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68950         defined.  Use __syscall_ulong_t.
68951         (shminfo): Use __syscall_ulong_t.
68952         (shm_info): Likewise.
68954         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68955         __syscall_ulong_t.
68957         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68958         <bits/wordsize.h>.
68959         (msgqnum_t): Use __syscall_ulong_t.
68960         (msglen_t): Likewise.
68961         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68962         __syscall_ulong_t.
68964         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68965         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68967         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68969         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68970         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68972         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68973         __syscall_slong_t.
68975         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68976         include <bits/wordsize.h>.  Check __x86_64__ instead of
68977         __WORDSIZE.
68979         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68980         "unsigned long long int" if __x86_64__ is defined.
68981         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68983         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68984         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68985         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68987         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68988         <stdint.h>.
68989         (GET_PC): Cast to uintptr_t first.
68990         (GET_FRAME): Likewise.
68991         (GET_STACK): Likewise.
68993         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68994         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68995         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68997         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68999         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69000         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69001         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69002         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69003         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69004         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69005         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69006         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69007         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69008         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69010         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69012         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69013         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69014         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69015         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69016         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69017         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69018         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69019         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69020         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69021         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69023 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69025         * Makerules (+depfiles): Also collect depfiles from .oS in
69026         $(extra-objs).
69027         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69028         .oS, $(libnldbl-routines)).
69030         * Makerules (native-compile-mkdep-flags): Define.
69031         * sunrpc/Makefile (extra-objs): Add $(addprefix
69032         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69033         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69034         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69035         calling $(make-target-directory).
69037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69039         * bits/types.h (__snseconds_t): Removed.
69040         * time/time.h (struct timespec): Replace __snseconds_t with
69041         __syscall_slong_t.
69042         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69043         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69044         Likewise.
69045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69046         (__SNSECONDS_T_TYPE): Likewise.
69047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69048         (__SNSECONDS_T_TYPE): Likewise.
69049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69050         (__SNSECONDS_T_TYPE): Likewise.
69052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69054         * sysdeps/mach/hurd/bits/typesizes.h
69055         (__SYSCALL_SLONG_TYPE): New macro.
69056         (__SYSCALL_ULONG_TYPE): Likewise.
69058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69060         * bits/types.h (__syscall_slong_t): New type.
69061         (__syscall_ulong_t): Likewise.
69063         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69064         (__SYSCALL_ULONG_TYPE): Likewise.
69065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69066         (__SYSCALL_SLONG_TYPE): Likewise.
69067         (__SYSCALL_ULONG_TYPE): Likewise.
69068         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69069         (__SYSCALL_SLONG_TYPE): Likewise.
69070         (__SYSCALL_ULONG_TYPE): Likewise.
69071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69072         (__SYSCALL_SLONG_TYPE): Likewise.
69073         (__SYSCALL_ULONG_TYPE): Likewise.
69075 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69077         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69078         Add sigaltstack-offsets.sym.
69079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69080         <sigaltstack-offsets.h>.
69081         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69082         longjmp_msg pointer.
69083         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69084         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69085         signal stack.
69086         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69088 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69090         * elf/stackguard-macros.h: Remove file.
69091         * sysdeps/generic/stackguard-macros.h: New file.
69092         * sysdeps/i386/stackguard-macros.h: Likewise.
69093         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69094         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69095         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69096         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69097         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69098         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69099         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69100         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69101         <elf/stackguard-macros.h>.
69103         [BZ #14109]
69104         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69105         __aligned__ in attribute.
69106         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69107         (gregset_t): Likewise.
69109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69111         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69112         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69113         * sysdeps/x86_64/x32/Implies-after: New file.
69115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69117         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69118         and access return value for _dl_profile_fixup.  Use R10_LP to
69119         load frame size.
69121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69123         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69127         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69128         * sysdeps/x86_64/x32/sysdep.h: New file.
69130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69132         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69133         * sysdeps/x86_64/setjmp.S: Likewise.
69135 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69137         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69138         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69139         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69140         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69141         remove unused global constant.
69143 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69145         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69146         include of <not-cancel.h>.
69148 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69150         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69152 2012-05-15  Jeff Law  <law@redhat.com>
69153             Andreas Jaeger  <aj@suse.de>
69155         [BZ #13594]
69156         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69157         out from...
69158         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69159         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69160         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69161         code changing __hst_map_handle.map.
69163 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69165         * configure.in (sysnames): Look for Implies-before and Implies-after
69166         files.
69167         * configure: Regenerated.
69169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69172         8-byte data alignment with LP_SIZE alignment.
69174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69177         into R10_LP.
69179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69181         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69185         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69186         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69187         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69188         Likewise.
69189         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69193         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69194         (stackinfo_sub_sp): Likewise.
69196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69198         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69199         RAX_LP.
69201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69204         into R*_LP.
69206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69208         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69209         sizes into R*_LP.
69211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69213         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69217         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69218         into R11_LP and load __x86_64_shared_cache_size_half into
69219         R8_LP.
69221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69223         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69224         R8_LP.
69226 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69229         logb for POWER7.
69230         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69231         logbf for POWER7.
69232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69233         logbl for POWER7.
69234         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69235         powerpc32/power7/fpu/s_logb.c via #include.
69236         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69237         powerpc32/power7/fpu/s_logbf.c via #include.
69238         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69239         powerpc32/power7/fpu/s_logbl.c via #include.
69241 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69243         * README.libm: Remove file.
69245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69247         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69248         count for x32.  Use R*_LP and omit operand-size suffix.
69250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69252         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69253         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69254         * sysdeps/x86_64/x32/shlib-versions: New file.
69256 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69258         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69259         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69260         Use _dl_fatal_printf instead.
69262 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69264         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69265         set if not set by the user.  Do not allow for being unset.
69266         * sysdeps/unix/sysv/linux/configure: Regenerated.
69268 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69270         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69271         the `q' suffix from lea and replace .quad with ASM_ADDR.
69273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69276         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69277         instead of $17.
69278         (PTR_DEMANGLE): Likewise.
69280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69282         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69283         (LP_OP): Likewise.
69284         (ASM_ADDR): Likewise.
69285         (RAX_LP): Likewise.
69286         (RBP_LP): Likewise.
69287         (RBX_LP): Likewise.
69288         (RCX_LP): Likewise.
69289         (RDI_LP): Likewise.
69290         (RSI_LP): Likewise.
69291         (RSP_LP): Likewise.
69292         (R8_LP): Likewise.
69293         (R9_LP): Likewise.
69294         (R10_LP): Likewise.
69295         (R10_LP): Likewise.
69296         (R11_LP): Likewise.
69297         (R12_LP): Likewise.
69298         (R13_LP): Likewise.
69299         (R14_LP): Likewise.
69300         (R15_LP): Likewise.
69302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69304         * sysdeps/x86_64/x32/dl-machine.h: New file.
69306 2012-05-14  Andreas Jaeger  <aj@suse.de>
69308         * manual/Makefile (subdir): Remove export of subdir.
69309         (all): Remove target.
69310         (.PHONY): Remove all from list.
69311         (mkinstalldirs): Remove.
69312         (.PHONY): Remove installdirs from list.
69313         ($(inst_infodir)/libc.info): Use make-target-directory.
69314         (installdirs): Remove.
69315         (subdir_%): Remove.
69316         (glibc-targets): Remove.
69317         (lib): Remove.
69318         (stubs): Remove.
69319         ($(objpfx)stubs ../po/manual.pot): Remove.
69320         ($(objpfx)stamp%): Remove.
69321         (make-target-directory): Remove.
69322         (subdir_install): Remove.
69323         (routines): Remove.
69324         (aux): Remove.
69325         (sources): Remove.
69326         (objects): Remove.
69327         (headers): Remove.
69329         [BZ #13750]
69330         * manual/.gitignore: Remove, it's not needed anymore.
69331         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69332         all files in it.
69333         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69334         directory.
69335         (texis): Renamed to $(objpfx)texis.
69336         (texis-path): New, contains path to generated files.
69337         (chapters.%): Use texis-path for complete path, add extra argument
69338         libc-texinfo.sh.
69339         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69340         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69341         (summary,texi, stamp-summary): Use complete path of
69342         files. Generate files in build dir.
69343         (dir-add.texi): Build in build dir.
69344         (libm-err.texi,stamp-libm-err): Likewise.
69345         (version.texi, stamp-version): Likewise.
69346         (.%c.texi): Likewise.
69347         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69348         (mostlyclean): Remove target.
69349         (realclean): Remove target.
69350         (generated): Add new variable with contents from mostlyclean and
69351         realclean, remove entries duplicated in common-mostlyclean, add
69352         stamp-libm-err and stamp-version.
69353         (generated-dirs): Add libc directory.
69354         ($(inst_infodir)/libc.info): Install files from build dir.
69356         * manual/install.texi (Configuring and compiling): Adjust since
69357         the info files are not part of the tar ball anymore.
69359 2012-05-14  Andreas Jaeger  <aj@suse.de>
69361         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69362         variable.
69364 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69366         [BZ #13717]
69367         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69368         to 2.2.0 where earlier.
69369         * sysdeps/unix/sysv/linux/configure: Regenerated.
69370         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69371         Remove conditional code.
69372         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69373         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69374         Remove conditional code.
69375         [!__NR_lchown]: Likewise.
69376         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69377         [__NR_lchown]: Likewise.
69378         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69379         comment referencing __ASSUME_LCHOWN_SYSCALL.
69380         * sysdeps/unix/sysv/linux/i386/sigaction.c
69381         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69382         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69383         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69384         Remove conditional code.
69385         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69386         (__protocol_available): Remove #if 0 code.
69387         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69388         conditional code.
69389         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69390         * sysdeps/unix/sysv/linux/kernel-features.h
69391         (__ASSUME_GETCWD_SYSCALL): Don't define.
69392         (__ASSUME_REALTIME_SIGNALS): Likewise.
69393         (__ASSUME_PREAD_SYSCALL): Likewise.
69394         (__ASSUME_PWRITE_SYSCALL): Likewise.
69395         (__ASSUME_POLL_SYSCALL): Likewise.
69396         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69397         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69398         non-SPARC.
69399         (__ASSUME_SIOCGIFNAME): Don't define.
69400         (__ASSUME_MSG_NOSIGNAL): Likewise.
69401         (__ASSUME_SENDFILE): Define unconditionally.
69402         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69403         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69404         conditional code.
69405         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69406         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69407         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69408         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69409         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69410         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69411         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69413         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69416         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69419         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69422         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69425         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69428         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69431         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69432         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69434         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69435         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69436         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69437         Remove conditional code.
69438         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69439         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69440         Remove conditional code.
69441         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69442         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69443         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69444         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69445         Remove conditional code.
69446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69447         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69448         Remove conditional code.
69449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69450         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69451         Remove conditional code.
69452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69453         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69454         Remove conditional code.
69455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69456         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69457         Remove conditional code.
69458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69459         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69460         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69461         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69462         * sysdeps/unix/sysv/linux/sigaction.c
69463         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69464         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69465         * sysdeps/unix/sysv/linux/sigpending.c
69466         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69467         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69468         * sysdeps/unix/sysv/linux/sigprocmask.c
69469         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69470         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69471         * sysdeps/unix/sysv/linux/sigsuspend.c
69472         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69473         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69475         (__libc_missing_rt_sigs): Remove.
69476         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69477         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69478         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69479         Remove conditional code.
69480         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69481         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69482         return 1.
69483         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69484         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69485         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69486         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69488 2012-05-14  Andreas Jaeger  <aj@suse.de>
69490         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69491         it's not used in glibc.
69492         (__coshm1): Likewise.
69493         (__acosh1p): Likewise.
69494         (__sgn): Likewise.
69496         * manual/string.texi (Copying and Concatenation): Add missing
69497         variable in concat example.
69498         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69500 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69502         [BZ #14103]
69503         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69504         __builtin_clzl with __builtin_clzll.
69506 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69508         [BZ #14104]
69509         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69510         libc_freeres_ptr.
69512 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69514         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69515         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69516         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69517         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69519 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69521         * NEWS: Update ia64 info.
69523 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69525         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69526         used as bcopy.
69528 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69530         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69531         * sysdeps/unix/syscalls.list (dup3): Likewise.
69532         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69533         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69535 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69537         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69538         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69540 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69542         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69543         thread pointer.
69544         (TLS_IE): Use mov/add instead of movq/addq to load thread
69545         pointer.
69546         (TLS_GD_PREFIX): New.
69547         (TLS_GD): Use it.
69549 2012-05-11  David S. Miller  <davem@davemloft.net>
69551         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69552         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69553         (_FPU_SETCW): Likewise.
69555 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69557         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69558         is 32-byte aligned.
69560 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69562         [BZ #11837]
69563         * iconvdata/gb18030.c: Update tables.
69564         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69565         characters specially.
69566         (BODY for TO_LOOP): Add encoding of missing ranges.
69568 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69570         [BZ #13673]
69571         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69572         * sysdeps/mach/hurd/dup3.c: Likewise.
69573         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69574         * sysdeps/powerpc/memmove.c:: Likewise.
69576 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69579         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69581 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69583         * elf/elf.h (R_X86_64_RELATIVE64): New.
69584         (R_X86_64_NUM): Updated.
69585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69586         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69587         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69588         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69589         tst-quad1pie tst-quad2pie
69590         (modules-names): Add tst-quadmod1 tst-quadmod2.
69591         ($(objpfx)tst-quad1): New dependency.
69592         ($(objpfx)tst-quad2): Likewise.
69593         ($(objpfx)tst-quad1pie): Likewise.
69594         ($(objpfx)tst-quad2pie): Likewise.
69595         * sysdeps/x86_64/tst-quad1.c: New file.
69596         * sysdeps/x86_64/tst-quad1pie.c: New file.
69597         * sysdeps/x86_64/tst-quad2.c: Likewise.
69598         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69599         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69600         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69601         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69602         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69606         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69607         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69608         * streams/stropts.h (t_scalar_t): Define type.
69610         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69611         (_PATH_PRESERVE): Set to "/var/lib".
69612         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69614         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69615         instead of int.
69617         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69618         if __dir_mkfile succeeded.
69620         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69621         checking for _hurd_dtablesize.  Unlock it right after having
69622         finished _hurd_dtable allocation.
69624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69626         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69627         * sysdeps/mach/hurd/configure: Regenerated.
69628         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69629         special-casing to...
69630         * sysdeps/gnu/configure.in: ... this new file.
69631         * sysdeps/unix/sysv/linux/configure: Regenerated.
69632         * sysdeps/gnu/configure: New generated file.
69634         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69635         for Linux: use nsec instead of usec, as well as:
69636         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69637         members of type struct timespec.
69638         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69639         New macros.
69640         (struct stat64): Likewise.
69641         (_STATBUF_ST_NSEC): New macro.
69642         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69644         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69645         __strtoul_internal rather than strtoul.
69647 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69649         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69650         and reject them.
69652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69654         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69655         which preserves existing values.
69656         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69660         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69661         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69662         greater than FD_SETSIZE.
69664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69666         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69667         allocated, call __vm_protect to finish enabling the existing space, and
69668         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69669         allocate the remainder.
69671 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69673         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69674         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69678         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69679         sysdeps/mach/hurd/readlink.c.
69681         * posix/tst-sysconf.c (posix_options): Only use
69682         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69683         _POSIX_SYNCHRONIZED_IO when they are defined
69684         * sysdeps/mach/hurd/bits/posix_opt.h:
69685         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69686         (_XOPEN_REALTIME): Undefine macro.
69687         (_XOPEN_REALTIME_THREADS): Undefine macro.
69688         (_XOPEN_SHM): Undefine macro.
69689         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69690         macro to -1.
69691         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69692         macro to -1.
69693         (_POSIX_ASYNC_IO): Undefine macro.
69694         (_POSIX_PRIORITIZED_IO): Undefine macro.
69695         (_POSIX_SPIN_LOCKS): Define macro to -1.
69697         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69698         SA_NODEFER, SA_RESETHAND.
69699         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69700         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69701         F_DUPFD_CLOEXEC.
69703 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69705         * elf/Makefile (pldd-modules): Define unconditionally.
69707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69709         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69711 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69713         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69714         Return ENOENT when name is empty.
69715         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69719         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69721         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69725         Fix mlock in all cases except non-readable pages.
69726         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69727         instead of VM_PROT_ALL as parameter to __vm_wire function.
69729         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69730         (__mkdir): When path is `/', just fail with EEXIST.
69731         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69735         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69736         <sys/uio.h> (for writev).
69737         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69738         and <sys/param.h> (for MIN).
69740 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69742         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69743         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69744         if interrupted.
69746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69748         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69749         Depend on against $(link-rpcuserlibs).
69751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69753         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69754         (__libc_stack_end): Do not use attribute_relro.
69755         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69756         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69757         to libthread-provided value.
69758         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69759         attribute_relro.
69761 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69763         [BZ #3748]
69764         * bits/libc-lock.h (__libc_once_get): New macro.
69765         * sysdeps/mach/bits/libc-lock.h: Likewise.
69766         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69767         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69768         instead of using implementation details.
69770         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69771         * libio/freopen.c: Likewise.
69772         * libio/freopen64.c: Likewise.
69773         * misc/syslog.c: Likewise.
69774         * nscd/connections.c: Likewise.
69775         * nscd/netgroupcache.c: Likewise.
69776         * sysdeps/posix/getcwd.c: Likewise.
69778 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69780         * math/w_ilogbf.c: Add #include <limits.h>.
69782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69784         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69785         path instead of returning without unlocking.
69787         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69788         immediate-write ioctls.
69789         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69793         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69794         __builtin_frame_address instead of making assumptions about the
69795         location of the return address relative to DATA.  Force early load of
69796         the return address.
69797         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69798         __builtin_frame_address.
69800         dup3 for GNU Hurd.
69801         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69802         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69803         implement dup3 and do some further code clean-ups.
69804         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69805         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69809         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69811         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69812         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69813         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69814         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69815         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69816         d->port.lock.
69818         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69819         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69820         when handler == SIG_ERR, not when handler != SIG_ERR.
69822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69824         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69825         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69826         definitions.
69828         accept4 for GNU Hurd.
69829         * include/sys/socket.h (__libc_accept4): New prototype.
69830         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69831         to implement __libc_accept4.
69832         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69833         __libc_accept4.
69834         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69836         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69837         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69838         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69839         signal-defines.sym.
69841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69843         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69847         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69848         assertion on O_CLOEXEC flag.
69849         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69850         * hurd/intern-fd.c: Likewise.
69851         * hurd/port2fd.c: Likewise.
69853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69855         [BZ #3906]
69856         * bits/in.h (IPV6_PKTINFO): Define new macro.
69857         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69859 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69861         [BZ #13954]
69862         [BZ #13955]
69863         [BZ #13956]
69864         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69866         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69867         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69868         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69869         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69870         * math/libm-test.inc (logb_test) : Additional logb tests.
69872 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69873             Andreas Jaeger  <aj@suse.de>
69875         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69876         * configure: Regenerated.
69877         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69878         * config.make.in (link-obsolete-rpc): New substituted variable.
69879         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69880         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69881         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69882         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69883         so that libc.a contains the symbols.
69884         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69885         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69886         * sunrpc/auth_none.c: Likewise.
69887         * sunrpc/auth_unix.c: Likewise.
69888         * sunrpc/authdes_prot.c: Likewise.
69889         * sunrpc/authuxprot.c: Likewise.
69890         * sunrpc/clnt_gen.c: Likewise.
69891         * sunrpc/clnt_perr.c: Likewise.
69892         * sunrpc/clnt_raw.c: Likewise.
69893         * sunrpc/clnt_simp.c: Likewise.
69894         * sunrpc/clnt_tcp.c: Likewise.
69895         * sunrpc/clnt_udp.c: Likewise.
69896         * sunrpc/clnt_unix.c: Likewise.
69897         * sunrpc/des_crypt.c: Likewise.
69898         * sunrpc/des_soft.c: Likewise.
69899         * sunrpc/get_myaddr.c: Likewise.
69900         * sunrpc/key_call.c: Likewise.
69901         * sunrpc/key_prot.c: Likewise.
69902         * sunrpc/netname.c: Likewise.
69903         * sunrpc/pm_getmaps.c: Likewise.
69904         * sunrpc/pm_getport.c: Likewise.
69905         * sunrpc/pmap_clnt.c: Likewise.
69906         * sunrpc/pmap_prot.c: Likewise.
69907         * sunrpc/pmap_prot2.c: Likewise.
69908         * sunrpc/pmap_rmt.c: Likewise.
69909         * sunrpc/publickey.c: Likewise.
69910         * sunrpc/rpc_cmsg.c: Likewise.
69911         * sunrpc/rpc_common.c: Likewise.
69912         * sunrpc/rpc_dtable.c: Likewise.
69913         * sunrpc/rpc_prot.c: Likewise.
69914         * sunrpc/rpc_thread.c: Likewise.
69915         * sunrpc/rtime.c: Likewise.
69916         * sunrpc/svc.c: Likewise.
69917         * sunrpc/svc_auth.c: Likewise.
69918         * sunrpc/svc_raw.c: Likewise.
69919         * sunrpc/svc_run.c: Likewise.
69920         * sunrpc/svc_tcp.c: Likewise.
69921         * sunrpc/svc_udp.c: Likewise.
69922         * sunrpc/svc_unix.c: Likewise.
69923         * sunrpc/svcauth_des.c: Likewise.
69924         * sunrpc/xcrypt.c: Likewise.
69925         * sunrpc/xdr.c: Likewise.
69926         * sunrpc/xdr_array.c: Likewise.
69927         * sunrpc/xdr_float.c: Likewise.
69928         * sunrpc/xdr_intXX_t.c: Likewise.
69929         * sunrpc/xdr_mem.c: Likewise.
69930         * sunrpc/xdr_rec.c: Likewise.
69931         * sunrpc/xdr_ref.c: Likewise.
69932         * sunrpc/xdr_sizeof.c: Likewise.
69933         * sunrpc/xdr_stdio.c: Likewise.
69935 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69938         change.  Update copyright years.
69940 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69942         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69944 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69945             Joseph Myers  <joseph@codesourcery.com>
69946             Paul Pluzhnikov  <ppluzhnikov@google.com>
69948         [BZ #14012]
69949         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69950         requiring rpcgen.
69951         [cross-compiling] (extra-libs): Likewise.
69952         [cross-compiling] (extra-libs-others): Likewise.
69953         [cross-compiling] (librpcsvc-routines): Likewise.
69954         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69955         [cross-compiling] (omit-deps): Likewise.
69956         (sunrpc-CPPFLAGS): New variable.
69957         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69958         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69959         (cross-rpcgen-objs): New variable.
69960         (extra-objs): Append $(cross-rpcgen-objs).
69961         ($(cross-rpcgen-objs)): New rule.
69962         ($(objpfx)cross-rpcgen): Likewise.
69963         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69964         comment.
69965         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69966         ($(objpfx)x%.stmp): Likewise.
69967         * sunrpc/proto.h [IS_IN_build] (_): Define.
69968         [IS_IN_build] (_libc_intl_domainname): Likewise.
69970 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69973         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69974         and R_X86_64_TPOFF64.
69976 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69978         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69979         sysdeps/unix/sysv/syscalls.list.
69980         (stime): Likewise.
69981         (utime): Likewise.
69982         * sysdeps/unix/sysv/syscalls.list: Remove file.
69984 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69986         [BZ #3440]
69987         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69988         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69989         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69990         (__LC_IDENTIFICATION): Make these macros useful in #if
69991         expressions, as required by C99.
69993 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69995         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69996         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69997         after this.
69999 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70001         * stdlib/longlong.h: Updated from GCC.
70003 2012-05-09  Andreas Jaeger  <aj@suse.de>
70005         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70006         default is first entry.
70007         (run_mode): Set type.
70008         (main): Remove informal message about syslog.
70009         (options): Fix typo.
70011         [BZ #14053]
70012         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70013         to asm.
70014         (lrint): Likewise.
70015         (llrintf): Likewise.
70016         (llrint): Likewise.
70017         (rint): Likewise.
70018         (rintf): Likewise.
70019         (nearbyint): Likewise.
70020         (nearbyintf): Likewise.
70022 2012-05-09  Andreas Jaeger  <aj@suse.de>
70023             Pedro Alves  <palves@redhat.com>
70025         * nscd/nscd.c (run_mode): Use enum.
70026         (main): Cleanup coding style issue.
70028 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70029             Andreas Jaeger  <aj@suse.de>
70031         * nscd/nscd.c (go_background): Replaced with...
70032         (run_mode): ... this.
70033         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70034         (options): Add -F --foreground.
70035         (main): Implement it.
70036         (parse_opt): Parse it.
70038 2012-05-09  Andreas Jaeger  <aj@suse.de>
70040         [BZ #14083]
70041         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70042         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70043         -Wconversion warning.
70044         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70045         Likewise.
70047 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70049         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70050         == 0.
70051         (LC_ALL): Use macro-int-constant.
70052         (LC_COLLATE): Likewise.
70053         (LC_CTYPE): Likewise.
70054         (LC_MESSAGES): Likewise.
70055         (LC_MONETARY): Likewise.
70056         (LC_NUMERIC): Likewise.
70057         (LC_TIME): Likewise.
70058         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70059         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70060         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70061         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70062         Specify type.
70063         [C99-based standards] (float_t): Expect type.
70064         [C99-based standards] (double_t): Expect type.
70065         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70066         type.
70067         [C99-based standards] (HUGE_VALL): Likewise.
70068         [C99-based standards] (INFINITY): Likewise.
70069         [C99-based standards] (NAN): Likewise.
70070         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70071         [C99-based standards] (FP_NAN): Likewise.
70072         [C99-based standards] (FP_NORMAL): Likewise.
70073         [C99-based standards] (FP_SUBNORMAL): Likewise.
70074         [C99-based standards] (FP_ZERO): Likewise.
70075         [C99-based standards] (FP_FAST_FMA): Use
70076         optional-macro-int-constant.  Specify type.  Require == 1.
70077         [C99-based standards] (FP_FAST_FMAF): Likewise.
70078         [C99-based standards] (FP_FAST_FMAL): Likewise.
70079         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70080         [C99-based standards] (FP_ILOGBNAN): Likewise.
70081         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70082         Specify type.
70083         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70084         [C99-based standards] (math_errhandling): Specify type.
70085         [ISO99 || ISO11] (signgam): Do not allow.
70086         [non-C99-based standards] (copysignf): Do not allow.
70087         [non-C99-based standards] (exp2f): Likewise.
70088         [non-C99-based standards] (log2f): Likewise.
70089         [non-C99-based standards] (modff): Allow.
70090         [non-C99-based standards] (erff): Do not allow.
70091         [non-C99-based standards] (erfcf): Likewise.
70092         [non-C99-based standards] (gammaf): Likewise.
70093         [non-C99-based standards] (hypotf): Likewise.
70094         [non-C99-based standards] (j0f): Likewise.
70095         [non-C99-based standards] (j1f): Likewise.
70096         [non-C99-based standards] (jnf): Likewise.
70097         [non-C99-based standards] (lgammaf): Likewise.
70098         [non-C99-based standards] (tgammaf): Likewise.
70099         [non-C99-based standards] (y0f): Likewise.
70100         [non-C99-based standards] (y1f): Likewise.
70101         [non-C99-based standards] (ynf): Likewise.
70102         [non-C99-based standards] (isnanf): Likewise.
70103         [non-C99-based standards] (acoshf): Likewise.
70104         [non-C99-based standards] (asinhf): Likewise.
70105         [non-C99-based standards] (atanhf): Likewise.
70106         [non-C99-based standards] (cbrtf): Likewise.
70107         [non-C99-based standards] (expm1f): Likewise.
70108         [non-C99-based standards] (ilogbf): Likewise.
70109         [non-C99-based standards] (log1pf): Likewise.
70110         [non-C99-based standards] (logbf): Likewise.
70111         [non-C99-based standards] (nextafterf): Likewise.
70112         [non-C99-based standards] (remainderf): Likewise.
70113         [non-C99-based standards] (rintf): Likewise.
70114         [non-C99-based standards] (scalbf): Likewise.
70115         [non-C99-based standards] (copysignl): Likewise.
70116         [non-C99-based standards] (exp2l): Likewise.
70117         [non-C99-based standards] (log2l): Likewise.
70118         [non-C99-based standards] (modfl): Allow.
70119         [non-C99-based standards] (erfl): Do not allow.
70120         [non-C99-based standards] (erfcl): Likewise.
70121         [non-C99-based standards] (gammal): Likewise.
70122         [non-C99-based standards] (hypotl): Likewise.
70123         [non-C99-based standards] (j0l): Likewise.
70124         [non-C99-based standards] (j1l): Likewise.
70125         [non-C99-based standards] (jnl): Likewise.
70126         [non-C99-based standards] (lgammal): Likewise.
70127         [non-C99-based standards] (tgammal): Likewise.
70128         [non-C99-based standards] (y0l): Likewise.
70129         [non-C99-based standards] (y1l): Likewise.
70130         [non-C99-based standards] (ynl): Likewise.
70131         [non-C99-based standards] (isnanl): Likewise.
70132         [non-C99-based standards] (acoshl): Likewise.
70133         [non-C99-based standards] (asinhl): Likewise.
70134         [non-C99-based standards] (atanhl): Likewise.
70135         [non-C99-based standards] (cbrtl): Likewise.
70136         [non-C99-based standards] (expm1l): Likewise.
70137         [non-C99-based standards] (ilogbl): Likewise.
70138         [non-C99-based standards] (log1pl): Likewise.
70139         [non-C99-based standards] (logbl): Likewise.
70140         [non-C99-based standards] (nextafterl): Likewise.
70141         [non-C99-based standards] (remainderl): Likewise.
70142         [non-C99-based standards] (rintl): Likewise.
70143         [non-C99-based standards] (scalbl): Likewise.
70144         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70145         [non-C99-based standards] (FP_*): Do not allow.
70146         [C99-based standards] (FP_*): Change to
70147         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70148         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70149         allow.
70150         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70151         (SIG_ERR): Likewise.
70152         [X/Open-based standards] (SIG_HOLD): Likewise.
70153         (SIG_IGN): Likewise.
70154         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70155         positive value.
70156         (SIGFPE): Likewise.
70157         (SIGILL): Likewise.
70158         (SIGINT): Likewise.
70159         (SIGSEGV): Likewise.
70160         (SIGTER): Likewise.
70161         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70162         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70163         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70164         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70165         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70166         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70167         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70168         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70169         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70170         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70171         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70172         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70173         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70174         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70175         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70176         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70177         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70178         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70179         [X/Open-based standards] (SIGTRAP): Likewise.
70180         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70181         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70182         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70183         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70184         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70185         allow.
70187 2012-05-08  Ian Wienand  <ianw@vmware.com>
70189         [BZ #14080]
70190         * time/tzset.c (__tzset_parse_tz): Update default rules for
70191         daylight time changes in the Energy Policy Act of 2005.
70193 2012-05-09  Andreas Jaeger  <aj@suse.de>
70195         [BZ #13983]
70196         * elf/ldconfig.c (parse_conf): Change string to make clear that
70197         ldconfig only issued a warning if ld.so.conf does not exist.
70199 2012-05-08  David S. Miller  <davem@davemloft.net>
70201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70202         movxtod instead of popping the value on the stack.
70204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70206 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70208         * config.h.in: Add HAVE_ARM_PCS_VFP.
70210 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70212         [BZ #13979]
70213         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70214         checking but the checks are disabled for any reason.
70216 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70218         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70219         and ELF64_R_TYPE with ELFW(R_TYPE).
70221 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70223         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70224         (ulimit): Likewise.
70226         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70227         (settimeofday): Likewise.
70229 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70231         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70232         a struct th_u2 inside the union, and move tu_block/tu_code into
70233         a new th_u3 union of tu_block/tu_code inside of that.  Move
70234         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70235         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70236         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70237         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70238         (th_stuff): Change to th_u1.tu_stuff.
70239         (th_data): Define.
70240         (th_msg): Change to th_u1.th_u2.tu_data.
70242 2012-05-07  David S. Miller  <davem@davemloft.net>
70244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70246         [BZ #14074]
70247         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70248         (SETUP_PIC_REG): Use it.
70249         (SETUP_PIC_REG_LEAF): Use it.
70251 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70253         [BZ #13885]
70254         [BZ #13923]
70255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70256         USE_AS_EXPM1L.
70257         (EXPL_FINITE): Likewise.
70258         (FLDLOG): Likewise.
70259         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70260         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70261         e_expl.S.
70262         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70263         USE_AS_EXPM1L.
70264         (EXPL_FINITE): Likewise.
70265         (FLDLOG): Likewise.
70266         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70267         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70268         e_expl.S.
70269         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70270         test of -max_value argument for long double.
70271         * sysdeps/i386/fpu/libm-test-ulps: Update.
70272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70274 2012-05-06  David S. Miller  <davem@davemloft.net>
70276         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70277         quad soft-float symbols whose references which are compiler
70278         generated.
70279         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70281 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70283         [BZ #13884]
70284         [BZ #13914]
70285         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70286         USE_AS_EXP10L.
70287         (EXPL_FINITE): Likewise.
70288         (FLDLOG): Likewise.
70289         (c0): Likewise.
70290         (c1): Likewise.
70291         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70292         Adjust comments for base varying.
70293         (__expl_finite): Change alias to EXPL_FINITE.
70294         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70295         e_expl.S.
70296         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70297         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70299         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70300         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70301         USE_AS_EXP10L.
70302         (EXPL_FINITE): Likewise.
70303         (FLDLOG): Likewise.
70304         (c0): Likewise.
70305         (c1): Likewise.
70306         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70307         Adjust comments for base varying.
70308         (__expl_finite): Change alias to EXPL_FINITE.
70309         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70310         tests for bugs.
70311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70313         [BZ #14064]
70314         * math/libm-test.inc (check_float_internal): Correct ulp
70315         calculation for subnormal expected results.
70317 2012-05-06  Andreas Jaeger  <aj@suse.de>
70319         * Makeconfig (+math-flags): New, set to -frounding-math.
70320         (+cflags): Add +math-flags so that all of glibc gets compiled with
70321         it.
70323         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70325 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70327         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70328         Disable one test.
70330         [BZ #13787]
70331         [BZ #13922]
70332         [BZ #14036]
70333         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70334         (__ieee754_expl): Allow for and saturate large arguments.
70335         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70336         (u_threshold): Likewise.
70337         (__exp): Call __ieee754_exp before checking for overflow and
70338         underflow.
70339         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70340         (u_threshold): Likewise.
70341         (__expf): Call __ieee754_expf before checking for overflow and
70342         underflow.
70343         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70344         (u_threshold): Likewise.
70345         (__expl): Call __ieee754_expl before checking for overflow and
70346         underflow.
70347         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70348         (__ieee754_expl): Allow for and saturate large arguments.
70349         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70350         missing overflow exception on overflow.
70351         (expm1_test): Do not allow missing overflow exception on overflow.
70353         * sysdeps/i386/fpu/e_expl.c: Move to ...
70354         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70355         rather than using inline asm.
70356         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70357         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70358         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70360         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70361         (nice): Likewise.
70362         (poll): Likewise.
70363         (signal): Likewise.
70364         (time): Likewise.
70365         (times): Likewise.
70367 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70369         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70370         sysdeps/unix/common/syscalls.list.
70371         (fchmod): Likewise.
70372         (fchown): Likewise.
70373         (ftruncate): Likewise.
70374         (getrusage): Likewise.
70375         (gettimeofday): Likewise.
70376         (setpgid): Likewise.
70377         (setregid): Likewise.
70378         (setreuid): Likewise.
70379         (sigaction): Likewise.
70380         (truncate): Likewise.
70381         (vhangup): Likewise.
70382         * sysdeps/unix/common/syscalls.list: Remove file.
70383         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70384         * sysdeps/unix/sysv/linux/Implies: Likewise.
70386 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70388         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70390         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70391         Moved to ...
70392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70393         Here.
70394         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70395         to ...
70396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70397         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70398         to ...
70399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70400         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70401         to ...
70402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70403         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70404         to ...
70405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70406         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70407         to ...
70408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70409         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70410         to ...
70411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70412         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70413         to ...
70414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70415         Here.
70416         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70417         to ...
70418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70419         Here.
70420         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70421         to ...
70422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70423         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70424         Moved to ...
70425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70426         Here.
70427         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70428         to ...
70429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70431 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70433         * sysdeps/unix/common/bits/dirent.h: Remove file.
70434         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70436         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70437         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70438         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70439         * sysdeps/unix/bsd/isatty.c: Likewise.
70440         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70441         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70442         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70444 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70446         [BZ #13563]
70447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70448         long double comparison inaccuracies.
70449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70452 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70454         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70455         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70457 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70459         [BZ #14049]
70460         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70461         nonzero digits before rounding a hex value.
70462         * stdlib/tst-strtod.c (tests): Add another test.
70464 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70466         * sysdeps/s390/fpu/libm-test-ulps: Update.
70468 2012-05-03  Andreas Jaeger  <aj@suse.de>
70470         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70471         does not get optimized out.
70472         (malloc_opt_barrier): New.
70474 2012-05-03  Andreas Jaeger  <aj@suse.de>
70475             Roland McGrath  <roland@hack.frob.com>
70477         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70478         intermediate file deletion.
70479         (generated): Add .symlist files.
70481 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70483         [BZ #13775]
70484         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70485         Redirect under this condition.
70486         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70487         [__USE_GNU] (__dprintf_chk): Not under this condition.
70488         [__USE_GNU] (__vdprintf_chk): Likewise.
70489         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70490         under this condition.
70491         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70492         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70493         [__USE_XOPEN2K8] (vdprintf): Likewise.
70494         [__USE_GNU] (__dprintf_chk): Not under this condition.
70495         [__USE_GNU] (__vdprintf_chk): Likewise.
70496         [__USE_GNU] (dprintf): Likewise.
70497         [__USE_GNU] (vdprintf): Likewise.
70499 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70501         * elf/Makefile (common-generated): Set this instead of generated for
70502         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70503         $(all-built-dso)-derived lists.
70505 2012-05-03  Andreas Jaeger  <aj@suse.de>
70507         * sysdeps/i386/fpu/libm-test-ulps: Update.
70509         * FAQ: Removed.
70510         * FAQ.in: Likewise.
70511         * scripts/gen-FAQ.pl: Likewise.
70512         * manual/install.texi (Installation): Point to online location of
70513         FAQ.
70514         * Makefile (files-for-dist): Remove FAQ.
70515         (FAQ): Remove.
70517 2012-05-02  Allan McRae  <allan@archlinux.org>
70519         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70520         (LDFLAGS-reldepmod5.so): Likewise.
70521         (LDFLAGS-reldep6mod1.so): Likewise.
70522         (LDFLAGS-reldep6mod4.so): Likewise.
70523         (LDFLAGS-reldep8mod3.so): Likewise.
70524         (LDFLAGS-unload4mod1.so): Likewise.
70525         (LDFLAGS-unload4mod2.so): Likewise.
70526         (LDFLAGS-tst-initorder): Likewise.
70527         (LDFLAGS-tst-initordera2.so): Likewise.
70528         (LDFLAGS-tst-initordera3.so): Likewise.
70529         (LDFLAGS-tst-initordera4.so): Likewise.
70530         (LDFLAGS-tst-initorderb2.so): Likewise.
70531         (LDFLAGS-noload): Likewise.
70532         (LDFLAGS-next): Likewise.
70533         (LDFLAGS-order2mod1.so): Likewise.
70534         (LDFLAGS-order2mod2.so): Likewise.
70535         (LDFLAGS-tst-initorder2): Likewise.
70536         (LDFLAGS-tst-initorder2a.so): Likewise.
70537         (LDFLAGS-tst-initorder2b.so): Likewise.
70538         (LDFLAGS-tst-initorder2c.so): Likewise.
70539         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70541 2012-05-02  David S. Miller  <davem@davemloft.net>
70543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70545 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70547         [BZ #14055]
70548         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70550 2012-05-02  Andreas Jaeger  <aj@suse.de>
70552         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70553         since we manipulate rounding mode.
70554         (CPPFLAGS-test-idouble.c): Likewise.
70555         (CPPFLAGS-test-ifloat.c): Likewise.
70556         (CFLAGS-test-ldouble.c): Likewise.
70557         (CFLAGS-test-double.c): Likewise.
70558         (CFLAGS-test-float.c): Likewise.
70559         (CFLAGS-test-misc.c): Likewise.
70560         (CFLAGS-test-test-fenv.c): Likewise.
70562 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70564         [BZ #2550]
70565         [BZ #2570]
70566         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70567         comparisons to determine direction to adjust input.
70569 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70571         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70572         output to the target.
70574         * scripts/localplt.awk: New file.
70575         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70576         (check-localplt-CFLAGS): Variable removed.
70577         ($(all-built-dso:=.jmprel)): New static pattern rule.
70578         (generated): Add those targets.
70579         (localplt-built-dso): New variable.
70580         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70582         * elf/check-localplt.c: File removed.
70584         * scripts/check-execstack.awk: New file.
70585         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70586         (check-execstack-CFLAGS): Variable removed.
70587         ($(objpfx)check-execstack.h): Target removed.
70588         ($(objpfx)execstack-default): New target.
70589         (generated): Add that instead of check-execstack.h.
70590         ($(all-built-dso:=.phdr)): New static pattern rule.
70591         (generated): Add those targets.
70592         * elf/check-execstack.c: File removed.
70594         * scripts/check-textrel.awk: New file.
70595         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70596         (check-textrel-CFLAGS): Variable removed.
70597         (all-built-dso): Use := to define.o
70598         ($(all-built-dso:=.dyn)): New static pattern rule.
70599         (generated): Add those targets.
70600         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70601         * config.make.in (READELF): New substituted variable.
70602         * elf/check-textrel.c: File removed.
70604 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70606         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70607         allow.
70608         * conform/data/ctype.h-data [C99-based standards] (isblank):
70609         Expect function.
70610         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70611         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70612         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70613         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70614         Specify type.  Require positive value.
70615         (EILSEQ): Likewise.
70616         (ERANGE): Likewise.
70617         [ISO || POSIX] (EILSEQ): Do not expect.
70618         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70619         Specify type.  Require positive value.
70620         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70621         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70622         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70623         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70624         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70625         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70626         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70627         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70628         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70629         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70630         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70631         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70632         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70633         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70634         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70635         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70636         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70637         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70638         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70639         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70640         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70641         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70642         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70643         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70644         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70645         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70646         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70647         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70648         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70649         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70650         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70651         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70652         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70653         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70654         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70655         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70656         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70657         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70658         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70659         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70660         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70661         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70662         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70663         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70664         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70665         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70666         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70667         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70668         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70669         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70670         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70671         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70672         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70673         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70674         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70675         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70676         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70677         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70678         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70679         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70680         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70681         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70682         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70683         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70684         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70685         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70686         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70687         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70688         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70689         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70690         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70691         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70692         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70693         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70694         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70695         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70696         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70697         Require >= 2.
70698         (FLT_ROUNDS): Expect as macro, not constant.
70699         (FLT_MANT_DIG): Use macro-int-constant.
70700         (DBL_MANT_DIG): Likewise.
70701         (LDBL_MANT_DIG): Likewise.
70702         (FLT_DIG): Likewise.
70703         (DBL_DIG): Likewise.
70704         (LDBL_DIG): Likewise.
70705         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70706         (DBL_MIN_EXP): Likewise.
70707         (LDBL_MIN_EXP): Likewise.
70708         (FLT_MAX_EXP): Use macro-int-constant.
70709         (DBL_MAX_EXP): Likewise.
70710         (LDBL_MAX_EXP): Likewise.
70711         (FLT_MAX_10_EXP): Likewise.
70712         (DBL_MAX_10_EXP): Likewise.
70713         (LDBL_MAX_10_EXP): Likewise.
70714         (FLT_MAX): Use macro-constant.
70715         (DBL_MAX): Likewise.
70716         (LDBL_MAX): Likewise.
70717         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70718         (DBL_EPSILON): Likewise.
70719         (LDBL_EPSILON): Likewise.
70720         (FLT_MIN): Likewise.
70721         (DBL_MIN): Likewise.
70722         (LDBL_MIN): Likewise.
70723         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70724         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70725         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70726         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70727         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70728         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70729         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70730         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70731         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70732         [ISO11] (FLT_TRUE_MIN): Likewise.
70733         [ISO11] (LDBL_TRUE_MIN): Likewise.
70734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70735         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70736         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70737         (SCHAR_MAX): Likewise.
70738         (UCHAR_MAX): Likewise.
70739         (CHAR_MIN): Likewise.
70740         (CHAR_MAX): Likewise.
70741         (MB_LEN_MAX): Use macro-int-constant.
70742         (SHRT_MIN): Use macro-int-constant.  Specify type.
70743         (SHRT_MAX): Likewise.
70744         (USHRT_MAX): Likewise.
70745         (INT_MAX): Likewise.
70746         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70747         bound negative.
70748         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70749         bound with "U".
70750         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70751         bound with "L".
70752         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70753         bound negative.  Suffix upper bound with "L".
70754         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70755         bound with "UL".
70756         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70757         Specify type.
70758         [C99-based standards] (LLONG_MAX): Likewise.
70759         [C99-based standards] (ULLONG_MAX): Likewise.
70760         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70761         == 0.
70762         [ISO11] (max_align_t): Require type.
70763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70765         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70766         from $CFLAGS, without defining away __attribute__ calls.
70767         (checknamespace): Use $CFLAGS_namespace.
70769         * conform/conformtest.pl (@keywords): Only include C99 keywords
70770         for standards based on C99 or C11.
70772         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70773         Disable tests.
70774         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70775         UNIX98]: Likewise.
70777         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70778         usability of symbols in #if.
70780         * conform/conformtest.pl: If macro or constant types start
70781         "promoted:", expect the symbol to be of the following type
70782         promoted by the integer promotions.
70784         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70785         in one place.  Also handle "macro-constant".
70787         * conform/conformtest.pl: Only accept expected macro values with
70788         "==".  Parse all "macro" lines in one place.
70789         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70791         * conform/conformtest.pl: Handle braced types on "constant" lines
70792         instead of handling "typed-constant".
70793         * conform/data/signal.h-data: Use "constant" instead of
70794         "typed-constant".
70796         * conform/conformtest.pl: Handle "optional-" at start of lines in
70797         one place rather than duplicating several cases.  Handle each
70798         format of "macro" line with initial "optional-".
70800         * conform/conformtest.pl: Only accept expected constant or
70801         optional-constant values with "==".  Parse all "constant" lines in
70802         one place.  Parse all "optional-constant" lines in one place.
70803         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70804         * conform/data/fmtmsg.h-data: Likewise.
70805         * conform/data/netinet/in.h-data: Likewise.
70806         * conform/data/tar.h-data: Likewise.
70807         * conform/data/limits.h-data: Use "==" form on "constant" and
70808         "optional-constant" lines.
70810         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70811         Use -std=c99 for XOPEN2K.
70812         (@knownproblems): Remove.
70813         (newtoken): Don't check %isknown.
70815         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70816         Do not expect macro.
70817         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70818         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70819         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70820         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70821         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70822         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70823         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70824         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70825         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70826         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70827         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70828         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70829         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70830         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70831         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70832         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70833         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70834         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70835         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70836         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70837         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70838         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70839         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70840         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70841         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70842         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70843         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70844         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70845         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70846         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70847         [XPG3] (acosh): Likewise.
70848         [XPG3] (asinh): Likewise.
70849         [XPG3] (atanh): Likewise.
70850         [XPG3] (cbrt): Likewise.
70851         [XPG3] (expm1): Likewise.
70852         [XPG3] (ilogb): Likewise.
70853         [XPG3] (log1p): Likewise.
70854         [XPG3] (logb): Likewise.
70855         [XPG3] (nextafter): Likewise.
70856         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70857         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70858         [XPG3] (remainder): Likewise.
70859         [XPG3] (rint): Likewise.
70860         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70861         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70862         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70863         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70864         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70865         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70866         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70867         [UNIX98 || XOPEN2K] (scalb): Expect.
70868         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70869         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70870         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70871         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70872         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70873         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70874         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70875         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70876         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70877         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70878         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70879         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70880         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70881         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70882         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70883         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70884         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70885         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70886         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70887         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70888         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70889         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70890         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70891         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70892         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70893         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70894         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70895         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70901         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70902         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70906         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70907         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70912         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70913         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70919         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70920         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70923         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70924         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70925         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70926         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70927         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70930         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70931         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70932         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70944         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70945         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70946         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70984         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70985         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70986         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70987         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70988         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70989         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70990         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70991         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70992         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70993         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70994         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70995         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70996         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70997         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70998         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70999         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71000         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71001         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71002         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71003         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71004         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71006         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71007         _XOPEN_SOURCE_EXTENDED for XPG4.
71009         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71011         * Makeconfig (localtime): Remove variable.
71012         (inst_localtime-file): Likewise.
71014 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71017         Update.
71018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71019         Update.
71020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71021         Update.
71022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71023         Update.
71024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71025         Update.
71026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71027         Update.
71028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71029         Update.
71030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71031         Update.
71032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71033         Update.
71035 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71037         [BZ #2550]
71038         [BZ #2570]
71039         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71040         comparisons to determine direction to adjust input.
71041         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71042         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71043         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71044         Likewise.
71045         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71046         Likewise.
71047         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71048         Likewise.
71049         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71050         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71051         Likewise.
71052         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71053         Likewise.
71054         * math/libm-test.inc (nexttoward_test): Add more tests.
71056 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71058         [BZ #14040]
71059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71060         in version GLIBC_2.1, not GLIBC_2.0.
71061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71062         Likewise.
71064 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71066         [BZ #13942]
71067         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71068         (1 - x) * (1 + x).
71069         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71070         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71071         * math/libm-test.inc (acos_test): Add more tests.
71072         (asin_test): Likewise.
71073         * sysdeps/i386/fpu/libm-test-ulps: Update.
71074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71076         [BZ #14034]
71077         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71078         of square root.
71079         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71080         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71081         * math/libm-test.inc (acos_test_tonearest): New function.
71082         (acos_test_towardzero): Likewise.
71083         (acos_test_downward): Likewise.
71084         (acos_test_upward): Likewise.
71085         (asin_test_tonearest): Likewise.
71086         (asin_test_towardzero): Likewise.
71087         (asin_test_downward): Likewise.
71088         (asin_test_upward): Likewise.
71089         (main): Call the new functions.
71090         * sysdeps/i386/fpu/libm-test-ulps: Update.
71091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71093         [BZ #13884]
71094         [BZ #13924]
71095         * math/e_exp10.c: Include <float.h>.
71096         (__ieee754_exp10): Handle underflow here rather than multiplying
71097         large negative argument by M_LN10.
71098         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71099         of __ieee754_expf.
71100         * math/e_exp10l.c: Include <float.h>.
71101         (__ieee754_exp10l): Handle underflow here rather than multiplying
71102         large negative argument by M_LN10l.
71103         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71104         spurious overflow exception on underflow.
71106 2012-04-29  Marek Polacek  <polacek@redhat.com>
71108         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71109         (__fortify_function): New macro.
71110         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71111         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71112         __extern_always_inline.
71113         * libio/bits/stdio2.h: Likewise.
71114         * libio/bits/stdio.h: Likewise.
71115         * string/string.h: Likewise.
71116         * string/bits/string3.h: Likewise.
71117         * include/stdio.h: Likewise.
71118         * stdlib/bits/stdlib.h: Likewise.
71119         * stdlib/stdlib.h: Likewise.
71120         * rt/bits/mqueue2.h: Likewise.
71121         * rt/mqueue.h: Likewise.
71122         * posix/bits/unistd.h: Likewise.
71123         * posix/unistd.h: Likewise.
71124         * io/bits/poll2.h: Likewise.
71125         * io/bits/fcntl2.h: Likewise.
71126         * io/fcntl.h: Likewise.
71127         * io/sys/poll.h: Likewise.
71128         * misc/bits/syslog.h: Likewise.
71129         * misc/bits/syslog-ldbl.h: Likewise.
71130         * misc/sys/syslog.h: Likewise.
71131         * socket/bits/socket2.h: Likewise.
71132         * socket/sys/socket.h: Likewise.
71133         * debug/tst-chk1.c: Likewise.
71134         * wcsmbs/bits/wchar2.h: Likewise.
71135         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71136         * wcsmbs/wchar.h: Likewise.
71138 2012-04-29  Andreas Jaeger  <aj@suse.de>
71140         * Makerules (tests): Remove enable-check-abi protection.
71141         (check-abi-warn): Remove.
71142         (check-abi-%): Remove check-abi-warn usage.
71144         * configure.in: Remove check-abi configure option.
71145         * configure: Regenerated.
71146         * config.make.in (enable-check-abi): Remove.
71148 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71150         [BZ #14033]
71151         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71152         double functions to double *_finite functions.
71154         [BZ #13941]
71155         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71156         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71157         LDBL_MIN_EXP.
71158         * stdio-common/Makefile (tests): Add tst-sprintf3.
71159         * stdio-common/tst-sprintf3.c: New file.
71161         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71162         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71164 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71166         * conform/conformtest.pl: Remove duplicate typed-constant
71167         handling.
71169 2012-04-28  David S. Miller  <davem@davemloft.net>
71171         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71172         (check-abi-%): Remove AWK script prerequisite and explicit
71173         abilist directory.
71174         (check-abi): Rewrite to just diff the symlist with the abilist.
71175         (config-tls, config-abi-config): Delete, no longer used.
71176         (update-abi-%): Remove AWK script and explicit abilist directory.
71177         (update-abi): Rewrite to simply compare and conditionally copy the
71178         symlist and the sysdep abilist file.  Remove update-abi-config
71179         checks.
71180         * abilist/ld.abilist: Remove.
71181         * abilist/libBrokenLocale.abilist: Remove.
71182         * abilist/libanl.abilist: Remove.
71183         * abilist/libcrypt.abilist: Remove.
71184         * abilist/libdl.abilist: Remove.
71185         * abilist/librt.abilist: Remove.
71186         * abilist/libthread_db.abilist: Remove.
71187         * abilist/libutil.abilist: Remove.
71188         * scripts/extract-abilist.awk: Remove.
71189         * scripts/merge-abilist.awk: Remove.
71190         * sysdeps/generic/libcidn.abilist: New file.
71191         * sysdeps/generic/libnss_compat.abilist: New file.
71192         * sysdeps/generic/libnss_db.abilist: New file.
71193         * sysdeps/generic/libnss_dns.abilist: New file.
71194         * sysdeps/generic/libnss_files.abilist: New file.
71195         * sysdeps/generic/libnss_hesiod.abilist: New file.
71196         * sysdeps/generic/libnss_nis.abilist: New file.
71197         * sysdeps/generic/libnss_nisplus.abilist: New file.
71198         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71199         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71200         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71201         file.
71202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71203         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71204         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71205         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71206         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71207         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71208         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71209         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71210         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71211         file.
71212         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71213         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71214         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71215         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71216         file.
71217         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71218         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71219         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71220         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71221         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71222         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71223         file.
71224         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71225         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71226         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71227         file.
71228         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71230         New file.
71231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71232         New file.
71233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71234         New file.
71235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71236         New file.
71237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71238         New file.
71239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71240         New file.
71241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71242         New file.
71243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71244         New file.
71245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71246         New file.
71247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71248         New file.
71249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71250         New file.
71251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71252         New file.
71253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71254         New file.
71255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71256         file.
71257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71258         New file.
71259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71260         New file.
71261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71262         file.
71263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71264         New file.
71265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71266         New file.
71267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71268         file.
71269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71270         New file.
71271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71272         New file.
71273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71274         New file.
71275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71276         New file.
71277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71278         New file.
71279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71280         New file.
71281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71283         file.
71284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71285         New file.
71286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71287         file.
71288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71289         file.
71290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71291         file.
71292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71293         file.
71294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71295         file.
71296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71297         New file.
71298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71299         file.
71300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71301         file.
71302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71303         New file.
71304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71305         file.
71306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71308         file.
71309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71310         New file.
71311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71312         file.
71313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71314         file.
71315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71316         file.
71317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71318         file.
71319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71320         file.
71321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71322         New file.
71323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71324         file.
71325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71326         file.
71327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71328         New file.
71329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71330         file.
71331         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71332         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71333         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71334         file.
71335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71336         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71337         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71338         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71339         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71340         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71341         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71342         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71343         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71344         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71347         file.
71348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71349         New file.
71350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71351         file.
71352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71353         file.
71354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71355         file.
71356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71357         file.
71358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71359         file.
71360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71361         New file.
71362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71363         New file.
71364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71365         file.
71366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71367         New file.
71368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71369         file.
71370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71372         file.
71373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71374         New file.
71375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71376         file.
71377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71378         file.
71379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71380         file.
71381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71382         file.
71383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71384         file.
71385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71386         New file.
71387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71388         New file.
71389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71390         file.
71391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71392         New file.
71393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71394         file.
71396 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71398         * conform/conformtest.pl: Fix typo in handling typed-constant from
71399         allow-header.
71401 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71403         * README: Cut down references to pre-2.6 Linux kernels and
71404         Linuxthreads.  Update lists of configurations in libc and ports
71405         and sort alphabetically.  Say "or newer" with Linux kernel version
71406         requirements.
71408         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71410 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71412         [BZ #887]
71413         * math/libm-test.inc (logb_test_downward): New test to expose
71414         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71415         rounding mode.
71417 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71419         [BZ #14027]
71420         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71421         to be done.
71422         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71423         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71425 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71427         * sysdeps/unix/i386/brk.S: Remove file.
71428         * sysdeps/unix/i386/dl-brk.S: Likewise.
71429         * sysdeps/unix/i386/pipe.S: Likewise.
71430         * sysdeps/unix/i386/sigreturn.S: Likewise.
71431         * sysdeps/unix/i386/syscall.S: Likewise.
71432         * sysdeps/unix/i386/vfork.S: Likewise.
71433         * sysdeps/unix/i386/wait.S: Likewise.
71435         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71436         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71438         * configure.in (arm*-none*): Do not allow without
71439         --enable-hacker-mode.
71440         (netbsd*): Remove case setting base_os.
71441         (386bsd*): Likewise.
71442         (freebsd*): Likewise.
71443         (bsdi*): Likewise.
71444         (osf*): Likewise.
71445         (sunos*): Likewise.
71446         (ultrix*): Likewise.
71447         (newsos*): Likewise.
71448         (dynix*): Likewise.
71449         (*bsd*): Likewise.
71450         (sysv*): Likewise.
71451         (isc*): Likewise.
71452         (esix*): Likewise.
71453         (sco*): Likewise.
71454         (minix*): Likewise.
71455         (irix4*): Likewise.
71456         (irix6*): Likewise.
71457         (solaris[2-9]*): Likewise.
71458         (none): Likewise.
71459         * configure: Regenerated.
71461 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71463         [BZ #11521]
71464         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71465         overflow or cancellation in calculating denominator.
71466         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71467         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71468         down expression to avoid unexpected rounding in newer GCCs.
71469         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71471 2012-04-26  David S. Miller  <davem@davemloft.net>
71473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71474         long-double compat symbols.
71475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71489 2012-04-25  David S. Miller  <davem@davemloft.net>
71491         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71492         HWCAP_* values only after the memory barriers have been defined.
71493         (atomic_full_barrier): Define.
71494         (atomic_read_barrier): Define.
71495         (atomic_write_barrier): Define.
71497 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71499         * shlib-versions: Add libgcc_s version information.
71500         * sysdeps/generic/libgcc_s.h: Remove.
71501         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71502         libgcc_s.h.
71503         * sysdeps/gnu/unwind-resume.c: Likewise.
71504         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71506 2012-04-25  David S. Miller  <davem@davemloft.net>
71508         * sysdeps/unix/sparc/brk.S: Delete.
71509         * sysdeps/unix/sparc/dl-brk.S: Delete.
71510         * sysdeps/unix/sparc/pipe.S: Delete.
71511         * sysdeps/unix/sparc/sysdep.S: Delete.
71512         * sysdeps/unix/sparc/sysdep.h: Delete.
71513         * sysdeps/unix/sparc/vfork.S: Delete.
71514         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71515         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71516         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71517         (ret_ERRVAL, r0, r1, MOVE): Define.
71518         (JUMPTARGET): Remove.
71519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71520         sysdeps/unix/sparc/sysdep.h
71521         (ENTRY, END): Remove.
71522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71524 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71526         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71527         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71528         -DIS_IN_build.
71530         * timezone/README: Update upstream location and email address for
71531         tzcode and tzdata.
71532         * timezone/zdump.c: Update from tzcode 2012b.
71533         * timezone/zic.c: Likewise.
71535         * configure.in (libc_cv_as_needed): Remove test.
71536         * configure: Regenerated.
71537         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71538         conditional definition.
71539         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71540         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71541         * config.make.in (have-as-needed): Remove variable.
71543 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71544             Paul Pluzhnikov  <ppluzhnikov@google.com>
71546         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71547         strings correctly.
71549 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71551         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71552         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71553         * sysdeps/sh/strlen.S: Likewise.
71555 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71557         * sysdeps/unix/fork.S: Remove file.
71558         * sysdeps/unix/i386/fork.S: Likewise.
71559         * sysdeps/unix/sparc/fork.S: Likewise.
71561         * sysdeps/unix/system.c: Remove file.
71562         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71564         * sysdeps/unix/getegid.S: Remove file.
71565         * sysdeps/unix/geteuid.S: Likewise.
71567 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71569         * scripts/check-localplt.awk: New file.
71570         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71571         of diff.
71572         * scripts/data/localplt-generic.data: Add a comment.
71574         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71575         NODE when __dir_mkfile failed.
71576         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71577         Reported by Ludovic Courtès <ludo@gnu.org>.
71579 2012-04-24  Andreas Jaeger  <aj@suse.de>
71581         * Makerules (common-clean): Also remove gen-as-const-headers
71582         files.
71584 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71586         * Makerules (native-compile): Do not change working directory for
71587         build.  Use $(OUTPUT_OPTION) in command.
71588         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71590 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71592         [BZ #13886]
71593         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71594         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71595         * math/libm-test.inc (floor_test): Add more tests.
71596         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71598 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71600         * sysdeps/unix/getdents.c: Remove file.
71601         * sysdeps/unix/sysv/getdents.c: Likewise.
71602         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71604         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71605         sysdeps/unix/mman/syscalls.list.
71606         (mmap): Likewise.
71607         (mprotect): Likewise.
71608         (msync): Likewise.
71609         (munmap): Likewise.
71610         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71611         * sysdeps/unix/mman/syscalls.list: Remove.
71612         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71614         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71615         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71616         * configure: Regenerated.
71617         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71618         $(libgcc_s_suffix).
71619         * config.make.in (libgcc_s_suffix): Remove variable.
71621 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71623         * sysdeps/unix/sysv/gethostname.c: Move to ...
71624         * sysdeps/posix/gethostname.c: ... here.
71626         * sysdeps/unix/execve.S: Remove file.
71628         * sysdeps/unix/_exit.S: Remove file.
71630 2012-04-23  Andreas Jaeger  <aj@suse.de>
71632         [BZ #13739]
71633         * manual/Makefile: Remove make dist support, there's no
71634         need for a stand-alone documentation tar ball.
71635         (TEXI2DVI): Define always, it's not in Makeconfig.
71636         (dist): Removed.
71637         (tar-it): Removed.
71638         (edition): Removed.
71639         (glibc-doc-$(edition).tar): Removed
71640         (%.Z): Removed.
71641         (%.gz): Removed.
71642         (%.uu): Removed.
71643         (ETAGS): Remove, it's in Makeconfig.
71644         (move-if-change): Remove, it's in Makeconfig.
71646 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71648         [BZ #13970]
71649         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71650         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71651         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71652         (strtod_l, strtof_l, strtold_l): Remove __wur.
71653         It is not necessarily an error to ignore strtol's return value.
71654         One can reliably look at the stored endptr to decide whether
71655         the number had valid syntax.
71657 2012-04-21  Andreas Jaeger  <aj@suse.de>
71659         [BZ #13739]
71660         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71662 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71664         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71665         * sysdeps/unix/sysv/Versions: Remove file.
71667 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71669         [BZ #13927]
71670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71672 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71674         [BZ #7064]
71675         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71676         version from __vm86.
71678 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71680         * sysdeps/unix/common/lxstat.c: Remove file.
71681         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71683         * sysdeps/unix/sysv/Makefile: Remove file.
71685         * sysdeps/unix/sysv/direct.h: Remove file.
71687         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71688         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71689         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71690         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71691         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71692         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71693         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71695         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71697         * sysdeps/unix/xmknod.c: Remove file.
71698         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71700         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71702         * sysdeps/unix/sysv/i386/time.S: Remove file.
71704         * sysdeps/unix/fxstat.c: Remove file.
71705         * sysdeps/unix/xstat.c: Likewise.
71706         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71708         * sysdeps/unix/sysv/sigaction.c: Remove file.
71710         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71711         (sysdep_headers): Remove variable.
71712         [termio.h not in sysdep_headers] (generated): Likewise.
71713         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71714         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71715         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71716         * sysdeps/unix/sysv/tcflow.c: Likewise.
71717         * sysdeps/unix/sysv/tcflush.c: Likewise.
71718         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71719         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71720         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71721         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71722         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71724         * sysdeps/unix/siglist.c: Remove file.
71726         * sysdeps/unix/getppid.S: Remove file.
71728         * sysdeps/unix/mkdir.c: Remove file.
71729         * sysdeps/unix/rmdir.c: Likewise.
71731 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71733         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71734         ERR_MAX value.
71735         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71736         errlist-compat value.
71738 2012-04-18  David S. Miller  <davem@davemloft.net>
71740         * sysdeps/generic/memcopy.h (reg_char): Delete.
71741         * debug/strcat_chk.c: Use char, not reg_char.
71742         * debug/strcpy_chk.c: Likewise.
71743         * debug/strncat_chk.c: Likewise.
71744         * debug/strncpy_chk.c: Likewise.
71745         * string/memchr.c: Likewise.
71746         * string/memrchr.c: Likewise.
71747         * string/rawmemchr.c: Likewise.
71748         * string/strcat.c: Likewise.
71749         * string/strchr.c: Likewise.
71750         * string/strchrnul.c: Likewise.
71751         * string/strcmp.c: Likewise.
71752         * string/strcpy.c: Likewise.
71753         * string/strncat.c: Likewise.
71754         * string/strncmp.c: Likewise.
71755         * string/strncpy.c: Likewise.
71757 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71759         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71760         __builtin_memcopy is called when src and dest ranges are known to not
71761         overlap.
71763 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71765         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71766         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71767         fwd_align_merge macro call.
71768         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71769         bwd_align_merge macro call.
71770         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71772 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71774         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71775         bwd_align_merge macros.
71776         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71777         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71778         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71780 2012-04-18  David S. Miller  <davem@davemloft.net>
71782         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71784 2012-04-18  Andreas Jaeger  <aj@suse.de>
71786         [BZ# 6794]
71787         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71788         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71789         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71791         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71792         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71793         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71795         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71796         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71797         Adjust for changed ldbl-128 files.
71799         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71800         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71801         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71803 2012-04-17  David S. Miller  <davem@davemloft.net>
71805         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71807 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71809         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71810         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71811         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71812         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71813         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71814         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71816 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71818         [BZ #6794]
71819         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71820         * math/libm-test.inc: Add ilogb errno and exception tests.
71821         * math/w_ilogb.c: New file: ilogb wrapper.
71822         * math/w_ilogbf.c: New file: ilogbf wrapper.
71823         * math/w_ilogbl.c: New file: ilogbl wrapper.
71824         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71825         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71826         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71827         exception being thrown with 0.0 as argument.
71828         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71829         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71830         exception being thrown with 0.0 as argument.
71831         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71832         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71833         exception being thrown with 0.0 as argument.
71834         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71835         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71836         exception being thrown with 0.0 as argument.
71837         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71838         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71839         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71840         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71841         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71842         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71843         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71844         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71845         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71847 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71849         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71850         with altivec.
71852 2012-04-16  Marek Polacek  <polacek@redhat.com>
71854         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71856 2012-04-16  Marek Polacek  <polacek@redhat.com>
71858         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71859         operands of fdivp instruction.
71861 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71863         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71864         * elf/tst-auditmod3b.c: Likewise.
71865         * elf/tst-auditmod4b.c: Likewise.
71866         * elf/tst-auditmod5b.c: Likewise.
71867         * elf/tst-auditmod6b.c: Likewise.
71868         * elf/tst-auditmod6c.c: Likewise.
71869         * elf/tst-auditmod7b.c: Likewise.
71870         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71871         * sysdeps/x86_64/preconfigure.in: Likewise.
71872         * sysdeps/x86_64/preconfigure: Regenerated.
71874 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71876         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71877         __ILP32__.
71879 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71881         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71882         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71884 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71886         [BZ #13973]
71887         * locale/iso-639.def: Fix gl language name. Spotted by
71888         Yaron Shahrabani.
71890 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71892         [BZ #2074]
71893         * libio/libio.h (__io_write_fn): Update comment.
71895 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71897         [BZ #2074]
71898         * stdio.texi (Hook Functions): The user provided writer function
71899         is not allowed to return -1.
71901 2012-04-11  David S. Miller  <davem@davemloft.net>
71903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71905 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71907         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71908         Add a leading slash to rtkaio.
71910 2012-04-11  Jim Meyering  <meyering@redhat.com>
71912         [BZ #11959]
71913         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71914         It is not necessarily an error to ignore fwrite's return
71915         value.  One can reliably use ferror to test for errors after
71916         the fact.
71918 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71920         * bits/types.h (__snseconds_t): New type.
71921         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71923         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71924         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71925         (__SNSECONDS_T_TYPE): Likewise.
71926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71927         (__SNSECONDS_T_TYPE): Likewise.
71928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71929         (__SNSECONDS_T_TYPE): Likewise.
71931 2012-04-10  Andreas Jaeger  <aj@suse.de>
71933         [BZ #2636]
71934         * manual/time.texi (Processor Time): Return type of times is
71935         elapsed real time since an arbitrary point in the past.
71936         (CPU Time): Move CLK_TCK from here...
71937         (Processor Time): ...to here.  Correct description.
71938         * manual/conf.texi (Constants for Sysconf): Correct description of
71939         _SC_CLK_TCK.
71941 2012-04-10  David S. Miller  <davem@davemloft.net>
71943         [BZ #13967]
71944         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71945         where the is a gap between DT_REL(A) and DT_JMPREL.
71947 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71949         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71950         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71951         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71953 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71955         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71956         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71957         (dl_main): Handle --inhibit-cache.
71958         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71959         _dl_inhibit_cache.
71960         * elf/dl-load.c (_dl_map_object): Use it.
71961         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71963 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71965         [BZ #13872]
71966         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71967         (__ieee754_powl): Saturate large exponents rather than testing for
71968         overflow of y*log2(x).
71969         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71970         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71971         exceptions.
71973         [BZ #11521]
71974         * math/s_ctan.c: Include <float.h>.
71975         (__ctan): Avoid internal overflow or cancellation in calculating
71976         denominator.
71977         * math/s_ctanf.c: Likewise.
71978         * math/s_ctanl.c: Likewise.
71979         * math/s_ctanh.c: Likewise.
71980         * math/s_ctanhf.c: Likewise.
71981         * math/s_ctanhl.c: Likewise.
71982         * math/libm-test.inc (ctan_test): Add more tests.
71983         (ctanh_test): Likewise.
71984         * sysdeps/i386/fpu/libm-test-ulps: Update.
71985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71987 2012-04-09  Andreas Jaeger  <aj@suse.de>
71989         [BZ #6894]
71990         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71991         is an optional BSD extension.
71993         [BZ #10254]
71994         * manual/stdio.texi (Opening Streams): Document additional fopen
71995         parameters.
71997 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71999         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72000         %eax without telling the compiler.
72002 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72004         [BZ # 13963]
72005         * manual/install.texi: Use sourceware.org.
72007 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72009         [BZ #13873]
72010         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72011         (__ieee754_pow): Generate overflow and underflow using huge*huge
72012         and tiny*tiny rather than just returning constant infinity or zero
72013         for large exponents.
72014         * math/libm-test.inc (pow_test): Require overflow exceptions for
72015         applicable cases of large exponents.
72017         [BZ #706]
72018         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72019         (__ieee754_pow): Use iterative multiplication algorithm only for
72020         integer exponents with absolute value below 1024.  Check for odd
72021         integer exponents when using algorithm for real exponents.
72022         * math/libm-test.inc (pow_test): Add more tests.
72023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72025 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72027         [BZ #13705]
72028         * math/libm-test.inc (exp_test): Do not allow overflow exception
72029         on underflow test.
72031 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72033         [BZ #13705]
72034         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72035         instead of __kernel_standard_f.
72037 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72039         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72040         * sysdeps/x86_64/memset_chk.S: Likewise.
72042 2012-04-08  Andreas Jaeger  <aj@suse.de>
72044         [BZ #10153]
72045         * manual/startup.texi (Environment Access): Describe return value
72046         for putenv and setenv.
72048         [BZ #6895]
72049         * manual/filesys.texi (Directory Entries): Add description for
72050         DT_LNK.
72052         [BZ #6890]
72053         * manual/filesys.texi (Directory Entries): Clarify that it's file
72054         system not operating system in the description of DT_UNKNOWN.
72056         [BZ #6578]
72057         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72059 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72061         [BZ #6649]
72062         * manual/llio.texi (Opening and Closing Files): Add cross
72063         reference to explain mode argument.
72065 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72067         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72068         * sysdeps/x86_64/memset_chk.S: Likewise.
72070 2012-04-07  David S. Miller  <davem@davemloft.net>
72072         * elf/elf.h (R_SPARC_WDISP10): Define.
72073         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72074         R_SPARC_SIZE32.
72075         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72076         R_SPARC_SIZE64 and R_SPARC_H34.
72078 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72080         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72081         conditions and remove no longer applicable assertion.
72083 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72085         * bits/byteswap.h: Include <features.h>.
72086         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72087         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72089 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72091         * bits/byteswap.h (__bswap_16): Removed.
72092         Include <bits/byteswap-16.h> to get __bswap_16.
72093         * sysdeps/i386/bits/byteswap.h: Likewise.
72094         * sysdeps/s390/bits/byteswap.h: Likewise.
72095         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72096         * bits/byteswap-16.h: New file.
72097         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72098         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72099         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72100         * string/Makefile (headers): Add bits/byteswap-16.h.
72102 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72104         [BZ #13895]
72105         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72106         extra indirection.
72107         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72108         * nss/tst-nss-static.c: New.
72110 2012-04-06  Robert Millan  <rmh@gnu.org>
72112         [BZ #6486]
72113         * manual/llio.texi (File Position Primitive): lseek
72114         refers to WHENCE when it really means OFFSET.
72116 2012-04-06  Andreas Jaeger  <aj@suse.de>
72118         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72119         strncmp declarations.
72121         * abilist/libc.abilist: Add __poll and __ppoll.
72123 2012-04-05  David S. Miller  <davem@davemloft.net>
72125         * scripts/check-local-headers.sh: Accept a host triplet in the
72126         path matched by the exclude regexp.
72128         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72129         definition.
72130         * sysdeps/powerpc/powerpc32/dl-machine.h
72131         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72132         * sysdeps/s390/s390-32/dl-machine.h
72133         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72134         * sysdeps/sparc/sparc32/dl-machine.h
72135         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72136         * sysdeps/sparc/sparc64/dl-machine.h
72137         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72139         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72140         lazy binding.
72141         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72142         undefined symbol errors.
72144         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72145         DT_NEEDED entries.
72147 2012-04-05  Michael Matz  <matz@suse.de>
72149         [BZ #13592]
72150         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72152 2012-04-05  Andreas Jaeger  <aj@suse.de>
72154         [BZ #13908]
72155         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72156         comment.
72158 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72160         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72161         which ROUND is no valid rounding mode.
72163 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72165         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72166         read again.
72167         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72169 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72171         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72172         an exception using FPU order intentionally.
72174 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72176         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72177         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72178         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72179         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72181 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72183         [BZ #12340]
72184         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72185         EINVAL when BUFLEN is too smal.
72187 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72189         [BZ #13553]
72190         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72191         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72193 2012-04-03  Andreas Jaeger  <aj@suse.de>
72195         [BZ #13938]
72196         * manual/setjmp.texi (System V contexts): Fix sentence.
72198         [BZ #13926]
72199         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72200         New macro for this case.
72201         [!__GNUC__] (__bswap_64): New inline function for this case.
72202         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72203         * bits/byteswap.h: Likewise.
72204         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72205         ull, guard with __GLIBC_HAVE_LONG_LONG.
72207         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72208         __GLIBC_HAVE_LONG_LONG.
72210         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72211         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72213 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72215         [BZ #13691]
72216         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72217         inptr and inend, rather than using last_ch.
72219 2012-04-02  David S. Miller  <davem@davemloft.net>
72221         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72222         * stdio-common/printf-parse.h (read_int): Change return type to
72223         'int', return -1 on INT_MAX overflow.
72224         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72225         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72226         overflows INT_MAX.  Check for overflow of in-format-string precision
72227         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72228         SIZE_MAX not INT_MAX for integer overflow test.
72229         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72230         skip the construct in the format string but do not record anything.
72231         * stdio-common/bug22.c: Adjust to test both width/prevision
72232         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72233         explicitly for proper errno values.
72235 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72237         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72238         CHAR_MAX.
72239         * string/test-strcmp.c [! WIDE]: Likewise.
72240         * time/tst-mktime2.c: Likewise for INT_MAX.
72241         * string/test-string.h: #include <sys/param.h> for MIN.
72243         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72244         * sysdeps/i386/init-first.c (init): Likewise.
72245         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72246         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72247         * sysdeps/sh/init-first.c (init): Likewise.
72249 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72251         * po/ru.po: Update from translation team.
72252         * po/vi.po: Likewise.
72254 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72256         * resolv/nss_dns/dns-host.c: Merge copyright years.
72258 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72260         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72261         Optimize memcpy with prefetch if
72262         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72263         src, dst pointers have unequal 16 byte alignments.
72265 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72267         [BZ #13928]
72268         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72269         from a CNAME entry and return the minimum ttl for the query.
72270         (gaih_getanswer_slice): Likewise.
72272 2012-03-30  Jeff Law  <law@redhat.com>
72274         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72275         due to long keys.
72276         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72277         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72279         * resolv/nss_dns/dns-host.c: Update copyright year.
72281 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72283         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72284         requests to save a system call.  Fix check that all bytes are sent.
72286         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72287         comments for sendmmsg.
72289 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72291         [BZ #13691]
72292         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72293         with only 1 character between 0x0041 and 0x01b0.
72294         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72295         * wcsmbs/tst-mbsnrtowcs.c: New file.
72297 2012-03-29  David S. Miller  <davem@davemloft.net>
72299         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72300         small copies by hand.
72302 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72304         [BZ #13761]
72305         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72306         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72307         group memberships.
72309 2012-03-28  David S. Miller  <davem@davemloft.net>
72311         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72312         that branches into memcpy.
72313         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72314         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72315         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72316         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72318         bits.
72319         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72320         implementation too.
72321         * sysdeps/sparc/mempcpy.S: New file.
72323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72324         the IFUNC routine in the libc case.
72325         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72327         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72328         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72329         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72330         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72331         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72332         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72333         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72334         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72336         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72337         loop to 256 bytes instead of 64 bytes and fix test signedness.
72339         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72340         * sysdeps/sparc/sparc32/Makefile: rather than here...
72341         * sysdeps/sparc/sparc64/Makefile: and here.
72343 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72345         * malloc/mallocbug.c: Avoid warnings about unused variables.
72347 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72349         [BZ #13760]
72350         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72351         in the right place. Discard and retry query if response is
72352         larger than input buffer size.
72354 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72356         [BZ #369]
72357         [BZ #2678]
72358         [BZ #3866]
72359         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72360         x for large integer exponent.
72361         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72362         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72363         sign of result as needed afterwards.
72364         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72365         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72366         result for underflowing pow the same as for overflow.
72367         (__kernel_standard_l): Handle powl overflow and underflow here
72368         rather than calling __kernel_standard.
72369         * math/libm-test.inc (pow_test): Add more tests.
72371         [BZ #3868]
72372         [BZ #13879]
72373         [BZ #13910]
72374         [BZ #13911]
72375         [BZ #13912]
72376         [BZ #13913]
72377         [BZ #13915]
72378         [BZ #13916]
72379         [BZ #13917]
72380         [BZ #13918]
72381         [BZ #13919]
72382         [BZ #13920]
72383         [BZ #13921]
72384         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72385         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72386         (__kernel_standard_l): New function.
72387         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72388         __kernel_standard.
72389         * math/w_acosl.c (__acosl): Likewise.
72390         * math/w_asinl.c (__asinl): Likewise.
72391         * math/w_atan2l.c (__atan2l): Likewise.
72392         * math/w_atanhl.c (__atanhl): Likewise.
72393         * math/w_coshl.c (__coshl): Likewise.
72394         * math/w_exp10l.c (__exp10l): Likewise.
72395         * math/w_exp2l.c (__exp2l): Likewise.
72396         * math/w_fmodl.c (__fmodl): Likewise.
72397         * math/w_hypotl.c (__hypotl): Likewise.
72398         * math/w_j0l.c (__j0l, __y0l): Likewise.
72399         * math/w_j1l.c (__j1l, __y1l): Likewise.
72400         * math/w_jnl.c (__jnl, __ynl): Likewise.
72401         * math/w_lgammal.c (__lgammal): Likewise.
72402         * math/w_log10l.c (__log10l): Likewise.
72403         * math/w_log2l.c (__log2l): Likewise.
72404         * math/w_logl.c (__logl): Likewise.
72405         * math/w_powl.c (__powl): Likewise.
72406         * math/w_remainderl.c (__remainderl): Likewise.
72407         * math/w_scalbl.c (sysv_scalbl): Likewise.
72408         * math/w_sinhl.c (__sinhl): Likewise.
72409         * math/w_sqrtl.c (__sqrtl): Likewise.
72410         * math/w_tgammal.c (__tgammal): Likewise.
72411         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72412         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72413         * math/libm-test.inc (acos_test): Add more tests.
72414         (acosh_test): Likewise.
72415         (asin_test): Likewise.
72416         (atanh_test): Likewise.
72417         (exp_test): Likewise.
72418         (exp10_test): Likewise.
72419         (exp2_test): Likewise.
72420         (expm1_test): Likewise.
72421         (lgamma_test): Likewise.
72422         (log_test): Likewise.
72423         (log10_test): Likewise.
72424         (log1p_test): Likewise.
72425         (log2_test): Likewise.
72426         (pow_test): Do not allow some spurious overflow exceptions.
72427         (sqrt_test): Add more tests.
72428         (tgamma_test): Likewise.
72429         (y0_test): Likewise.
72430         (y1_test): Likewise.
72431         (yn_test): Likewise.
72433 2012-03-27  Anton Blanchard  <anton@samba.org>
72435         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72436         MAP_HUGETLB.
72437         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72438         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72439         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72441 2012-03-27  David S. Miller  <davem@davemloft.net>
72443         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72445         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72446         have-as-vis3 check.
72448 2012-03-27  Andreas Jaeger  <aj@suse.de>
72450         * sysdeps/x86_64/elf/configure.in: Moved to ...
72451         * sysdeps/x86_64/configure.in: ... here.
72452         * sysdeps/x86_64/elf/start.S: Moved to ...
72453         * sysdeps/x86_64/start.S: ... here.
72454         * sysdeps/x86_64/elf/configure: Delete.
72456         * sysdeps/x86_64/configure.in: Merge contents from
72457         sysdeps/i386/configure.in (without i686 check).
72459         * sysdeps/i386/elf/Versions: Merge into ...
72460         * sysdeps/i386/Versions: ... this.
72461         * sysdeps/i386/elf/Versions: Delete file.
72462         * sysdeps/i386/elf/start.S: Moved to ...
72463         * sysdeps/i386/start.S: ...here.
72464         * sysdeps/i386/elf/configure.in: Merge into...
72465         * sysdeps/i386/configure.in: ...here.
72466         * sysdeps/i386/elf/configure.in: Delete file.
72467         * sysdeps/i386/elf/configure: Delete file.
72469         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72470         * debug/backtracesyms.c: ... here.
72471         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72472         * debug/backtracesymsfd.c: ... here.
72473         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72474         * sysdeps/generic/ifunc-sel.h: ... here.
72476         * sysdeps/unix/i386/start.c: Delete file.
72477         * sysdeps/unix/sparc/start.c: Delete file.
72478         * sysdeps/unix/start.c: Delete file.
72480         * sysdeps/sh/elf/configure.in: Moved to ...
72481         * sysdeps/sh/configure.in: ... here.
72482         * sysdeps/sh/elf/start.S: Moved to ...
72483         * sysdeps/sh/start.S: ... here.
72484         * sysdeps/sh/elf/configure: Delete file.
72486         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72487         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72488         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72489         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72490         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72491         * sysdeps/powerpc/powerpc64/start.S: here.
72492         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72493         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72494         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72495         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72496         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72498         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72499         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72500         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72501         * sysdeps/powerpc/powerpc32/start.S: ... here.
72502         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72503         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72504         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72506         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72507         * sysdeps/powerpc/ifunc-sel.h: ... here.
72508         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72509         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72511         * sysdeps/sparc/elf/configure.in: Moved to ...
72512         * sysdeps/sparc/configure.in: ... here.
72513         * sysdeps/sparc/elf/configure: Delete file.
72514         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72515         * sysdeps/sparc/sparc32/start.S: ... here.
72516         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72517         * sysdeps/sparc/sparc64/start.S: ... here.
72518         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72519         * sysdeps/sparc/sparc32/Makefile: ... this.
72520         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72521         * sysdeps/sparc/sparc64/Makefile: ... this.
72523         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72524         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72525         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72526         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72527         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72528         * sysdeps/s390/s390-32/setjmp.S: ... here.
72529         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72530         * sysdeps/s390/s390-32/configure.in: ... here.
72531         * sysdeps/s390/s390-32/elf/configure: Delete file.
72532         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72533         * sysdeps/s390/s390-32/start.S: ... here.
72535         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72536         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72537         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72538         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72539         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72540         * sysdeps/s390/s390-64/setjmp.S: ... here.
72541         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72542         * sysdeps/s390/s390-64/configure.in: ... here
72543         * sysdeps/s390/s390-64/elf/configure: Delete file.
72544         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72545         * sysdeps/s390/s390-64/start.S: ... here.
72546         * sysdeps/s390/s390-64/elf/configure: Delete.
72548         * configure.in: Remove support for elf directories in sysdeps.
72550         * configure: Regenerated.
72551         * sysdeps/i386/configure: Regenerated.
72552         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72553         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72554         * sysdeps/s390/s390-32/configure: Regenerated.
72555         * sysdeps/s390/s390-64/configure: Regenerated.
72556         * sysdeps/sh/configure: Regenerated.
72557         * sysdeps/sparc/configure: Regenerated.
72558         * sysdeps/x86_64/configure: Regenerated.
72560 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72564         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72565         denormal result into account.
72567 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72569         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72570         Reported by Allan McRae <allan@archlinux.org>.
72572 2012-03-23  Jeff Law  <law@redhat.com>
72574         * nss/getnssent.c (__nss_getent): Fix typo.
72576 2012-03-23  David S. Miller  <davem@davemloft.net>
72578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72580 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72582         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72583         to pad to uint64_t for each field.
72584         (dl_tls_index): Replace unsigned long with uint64_t.
72586 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72587         Paul Pluzhnikov  <ppluzhnikov@google.com>
72589         [BZ #6528]
72590         * grp/Makefile (otherlibs): Don't set it.
72591         * inet/Makefile (otherlibs): Likewise.
72592         * login/Makefile (otherlibs): Likewise.
72593         * nscd/Makefile (otherlibs): Likewise.
72594         * posix/Makefile (otherlibs): Likewise.
72595         * pwd/Makefile (otherlibs): Likewise.
72596         * rt/Makefile (otherlibs): Likewise.
72597         * sunrpc/Makefile (otherlibs): Likewise.
72598         * nss/Makefile (otherlibs): Likewise.
72599         Add libnss_files to routines and static-only-routines.
72600         ($(objpfx)getent): Remove rule.
72601         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72602         static-only-routines.
72604 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72606         [BZ #13892]
72607         * math/s_cexp.c: Include <float.h>.
72608         (__cexp): Handle exp result overflowing not necessarily
72609         overflowing both real and imaginary parts of result.
72610         * math/s_cexpf.c: Likewise.
72611         * math/s_cexpl.c: Likewise.
72612         * math/libm-test.inc (cexp_test): Add more tests.
72613         * sysdeps/i386/fpu/libm-test-ulps: Update.
72614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72616 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72618         * include/link.h (ELFW): New macro.
72619         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72620         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72622 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72624         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72625         with uint64_t.
72627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72629         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72630         declaration.
72631         (struct La_x32_retval): Likewise.
72633 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72635         * sysdeps/x86_64/preconfigure.in: New file.
72636         * sysdeps/x86_64/preconfigure: New generated file.
72638 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72640         [BZ #13824]
72641         * math/e_exp2l.c: Include <float.h>.
72642         (__ieee754_exp2l): Handle overflow and underflow cases
72643         separately.  Only pass fractional part of argument to
72644         __ieee754_expl.
72645         * math/libm-test.inc (exp2_test): Add more tests.
72647         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72648         negating x to take absolute value.
72649         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72650         Likewise.
72651         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72652         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72653         Likewise.
72654         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72655         computing low part if x was negated.
72656         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72658 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72660         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72661         la_x32_gnu_pltexit.
72662         (pltexit): Cast int_retval to ptrdiff_t.
72663         * elf/tst-auditmod3b.c: Likewise.
72664         * elf/tst-auditmod4b.c: Likewise.
72665         * elf/tst-auditmod5b.c: Likewise.
72666         * elf/tst-auditmod6b.c: Likewise.
72667         * elf/tst-auditmod6c.c: Likewise.
72668         * elf/tst-auditmod7b.c: Likewise.
72670         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72671         and x32_gnu_pltexit.
72673         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72674         __ELF_NATIVE_CLASS.
72675         (La_x32_regs): New macro.
72676         (La_x32_retval): Likewise.
72677         (la_x32_gnu_pltenter): New function prototype.
72678         (la_x32_gnu_pltexit): Likewise.
72680 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72683         exponent.
72685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72687         * configure.in (libc_cv_cc_nofma): Check for option to disable
72688         generation of FMA instructions.
72689         * configure: Regenerate.
72690         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72691         * sysdeps/ieee754/dbl-64/Makefile: New file.
72692         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72693         Remove brandred-fma4.
72694         (CFLAGS-brandred-fma4.c): Remove.
72695         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72696         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72697         define.
72698         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72699         define.
72701 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72703         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72704         LLONG_MAX != LONG_MAX.
72705         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72706         (_fitoa_word): Likewise.
72707         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72708         LLONG_MAX != LONG_MAX.
72709         * stdio-common/_itowa.h: Include <_itoa.h>.
72710         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72711         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72712         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72713         only if not defined.
72714         (_ITOA_WORD_TYPE): Likewise.
72715         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72716         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72718 2012-03-21  David S. Miller  <davem@davemloft.net>
72720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72722 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72724         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72725         of x86_64 when setting libc_cv_slibdir, libdir and
72726         libc_cv_localedir.
72727         * sysdeps/unix/sysv/linux/configure: Regenerated.
72729 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72731         * manual/lang.texi (Old Varargs): Remove section.
72732         (How Variadic): Update menu.
72733         (va_start): Do not mention varargs.h.
72735 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72736             Joseph Myers  <joseph@codesourcery.com>
72738         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72739         link test.
72740         * configure: Regenerated.
72742 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72744         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72745         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72746         conformtest.pl
72748 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72750         * NOTES: Remove.
72751         * Makefile (files-for-dist): Remove NOTES.
72752         (NOTES): Remove rule.
72753         * README: Don't refer to NOTES.
72754         * manual/creature.texi: Don't include macros.texi.
72755         * manual/intro.texi (creature.texi): Remove comment referring to
72756         NOTES.
72758         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72759         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72760         * configure: Regenerated.
72761         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72762         LIBC_TRY_CC_OPTION.
72763         (libc_cv_as_i686): Likewise.
72764         (libc_cv_cc_avx): Likewise.
72765         (libc_cv_cc_sse2avx): Likewise.
72766         (libc_cv_cc_fma4): Likewise.
72767         (libc_cv_cc_novzeroupper): Likewise.
72768         * sysdeps/i386/configure: Regenerated.
72770         [BZ #13883]
72771         * sysdeps/i386/fpu/s_cexp.S: Remove.
72772         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72773         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72774         * math/libm-test.inc (cexp_test): Add more tests.
72775         * sysdeps/i386/fpu/libm-test-ulps: Update.
72776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72778 2012-03-21  Allan McRae  <allan@archlinux.org>
72780         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72782 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72784         [BZ #13871]
72785         * math/w_exp2.c: Do not include <float.h>.
72786         (o_threshold, u_threshold): Remove.
72787         (__exp2): Calculate result before checking finiteness and calling
72788         __kernel_standard.
72789         * math/w_exp2f.c: Likewise.
72790         * math/w_exp2l.c: Likewise.
72791         * math/libm-test.inc (exp2_test): Require overflow exception for
72792         1e6 input.
72794         [BZ #3866]
72795         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72796         range of signed 64-bit integers before using fistpll.  Remove
72797         checks for whether integers fit in mantissa bits.
72798         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72799         the range of signed 32-bit integers before using fistpl.  Remove
72800         checks for whether integers fit in mantissa bits.
72801         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72802         (__ieee754_powl): Test for y outside the range of signed 64-bit
72803         integers before using fistpll.  Reduce 64-bit values to 63-bit
72804         ones as needed.
72805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72806         divide-by-zero is raised for zero to large negative powers.
72807         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72808         (__ieee754_powl): Test for y outside the range of signed 64-bit
72809         integers before using fistpll.  Reduce 64-bit values to 63-bit
72810         ones as needed.
72811         * math/libm-test.inc (pow_test): Add more tests.
72813 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72815         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72816         <stdio-common/_itoa.h>.
72817         * debug/segfault.c: Likewise.
72818         * elf/dl-cache.c: Likewise.
72819         * elf/dl-minimal.c: Likewise.
72820         * elf/dl-misc.c: Likewise.
72821         * elf/dl-sysdep.c: Likewise.
72822         * elf/dl-version.c: Likewise.
72823         * elf/rtld.c: Likewise.
72824         * hurd/hurdsock.c: Likewise.
72825         * hurd/lookup-retry.c: Likewise.
72826         * malloc/malloc.c: Likewise.
72827         * malloc/mtrace.c: Likewise.
72828         * nscd/nscd_getgr_r.c: Likewise.
72829         * nscd/nscd_getpw_r.c: Likewise.
72830         * nscd/nscd_getserv_r.c: Likewise.
72831         * posix/getopt_init.c: Likewise.
72832         * posix/wordexp.c: Likewise.
72833         * stdio-common/_itoa.c: Likewise.
72834         * stdio-common/printf_fphex.c: Likewise.
72835         * stdio-common/vfprintf.c: Likewise.
72836         * string/_strerror.c: Likewise.
72837         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72838         * sysdeps/i386/i686/hp-timing.h: Likewise.
72839         * sysdeps/mach/_strerror.c: Likewise.
72840         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72841         * sysdeps/mach/hurd/sethostid.c: Likewise.
72842         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72843         * sysdeps/mach/xpg-strerror.c: Likewise.
72844         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72846         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72847         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72848         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72849         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72850         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72851         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72852         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72853         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72854         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72855         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72856         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72857         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72858         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72859         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72860         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72861         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72862         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72863         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72864         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72866         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72868         * stdio-common/_itoa.h: Moved to ...
72869         * sysdeps/generic/_itoa.h: Here.
72871         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72873         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72874         instead of "_itoa.h" and "_itowa.h".
72875         * stdio-common/vfprintf.: Likewise.
72877 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72879         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72880         <bits/wordsize.h>.
72881         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72882         (__signbit): Likwise.
72883         (llrintf): Likwise.
72884         (llrint): Likwise.
72886 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72888         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72889         __WORDSIZE != 64.
72891 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72893         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72894         OVERFLOW_EXCEPTION_OK.
72895         * math/libm-test.inc ("Philosophy"): Update comment about
72896         exception testing.
72897         (OVERFLOW_EXCEPTION): Define.
72898         (OVERFLOW_EXCEPTION_OK): Likewise.
72899         (INVALID_EXCEPTION_OK): Renumber.
72900         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72901         (IGNORE_ZERO_INF_SIGN): Likewise.
72902         (test_exceptions): Handle FE_OVERFLOW.
72903         (exp10_test): Expect overflow exceptions.
72904         (exp2_test): Likewise.
72905         (expm1_test): Likewise.
72906         (nextafter_test): Likewise.
72907         (pow_test): Likewise.
72908         (scalbn_test): Likewise.
72909         (scalbln_test): Likewise.
72911 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72913         * sysdeps/x86_64/bits/atomic.h
72914         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72915         64bit integer.
72916         (atomic_exchange_acq): Likewise.
72917         (__arch_exchange_and_add_body): Likewise.
72918         (__arch_add_body): Likewise.
72919         (atomic_add_negative): Likewise.
72920         (atomic_add_zero): Likewise.
72922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72924         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72925         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72927 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72929         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72930         Check __x86_64__ instead of __WORDSIZE.
72932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72934         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72936 2012-03-19  David S. Miller  <davem@davemloft.net>
72938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72940         * sysdeps/sparc/fpu/fenv_private.h: New file.
72941         * sysdeps/sparc/fpu/math_private.h: Use it.
72942         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72943         Remove.
72944         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72945         (libc_feholdexcept_setroundl): Remove.
72946         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72947         Remove.
72948         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72949         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72953         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72954         int64_t instead of long int.
72955         (INSERT_WORDS64): Likwise.
72957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72959         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72960         _Unwind_GetCFA return to _Unwind_Ptr first.
72962 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72964         [BZ #13629]
72965         * math/s_clog.c: Include <float.h>.
72966         (__clog): Scale large or subnormal inputs.
72967         * math/s_clogf.c: Likewise.
72968         * math/s_clogl.c: Likewise.
72969         * math/s_clog10.c: Include <float.h>.
72970         (M_LOG10_2): Define.
72971         (__clog10): Scale large or subnormal inputs.
72972         * math/s_clog10f.c: Likewise.
72973         * math/s_clog10l.c: Likewise.
72974         * math/libm-test.inc (clog_test): Add more tests.
72975         (clog10_test): Likewise.
72976         * sysdeps/i386/fpu/libm-test-ulps: Update.
72977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72979         [BZ #11451]
72980         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72981         x and y.
72982         * math/libm-test.inc (atan2_test): Add another test.
72984         * Makerules (common-objdir-compile): Remove.
72985         * sysdeps/unix/Makefile (config-generated): Do not add
72986         $(unix-generated) to variable.
72987         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72988         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72989         Remove rule.
72990         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72991         Likewise.
72992         [generic bits/local_lim.h] (before-compile): Do not append to
72993         variable.
72994         [generic bits/local_lim.h] (common-generated): Likewise.
72995         [generic sys/param.h] (before-compile): Do not append to variable.
72996         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72997         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72998         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72999         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73000         include.
73001         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73002         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73003         [generic sys/param.h] ($(addprefix
73004         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73005         [generic sys/param.h] (common-generated): Do not append to
73006         variable.
73007         [generic sys/param.h] (sysdep_headers): Likewise.
73008         [generic bits/errno.h] (before-compile): Do not append to
73009         variable.
73010         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73011         rule.
73012         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73013         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73014         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73015         [generic bits/errno.h] (common-generated): Do not append to
73016         variable.
73017         [generic bits/ioctls.h] (before-compile): Do not append to
73018         variable.
73019         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73020         rule.
73021         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73022         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73023         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73024         rule.
73025         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73026         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73027         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73028         [generic bits/ioctls.h] (common-generated): Do not append to
73029         variable.
73030         [generic sys/syscall.h] (syscall.h): Remove variable.
73031         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73032         rule.
73033         [generic sys/syscall.h] (before-compile): Do not append to
73034         variable.
73035         [generic sys/syscall.h] (common-generated): Likewise.
73036         * sysdeps/unix/errnos-tmpl.c: Remove file.
73037         * sysdeps/unix/errnos.awk: Likewise.
73038         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73039         * sysdeps/unix/ioctls.awk: Likewise.
73040         * sysdeps/unix/mk-local_lim.c: Likewise.
73041         * sysdeps/unix/snarf-ioctls: Likewise.
73043 2012-03-19  Richard Henderson  <rth@twiddle.net>
73045         * sysdeps/i386/fpu/fenv_private.h: New file.
73046         * sysdeps/i386/fpu/math_private.h: Use it.
73047         (math_opt_barrier, math_force_eval): Remove.
73048         (libc_feholdexcept_setround_53bit): Remove.
73049         (libc_feupdateenv_53bit): Remove.
73050         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73051         (math_opt_barrier, math_force_eval): Remove.
73052         (libc_feholdexcept): Remove.
73053         (libc_feholdexcept_setround): Remove.
73054         (libc_fetestexcept, libc_fesetenv): Remove.
73055         (libc_feupdateenv_test): Remove.
73056         (libc_feupdateenv, libc_feholdsetround): Remove.
73057         (libc_feresetround): Remove.
73059         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73060         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73062         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73063         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73064         (libc_feupdateenv_testl): New.
73065         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73066         (libc_feupdateenv_testf): New.
73067         (libc_feupdateenv): Use libc_feupdateenv_test.
73068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73069         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73071         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73072         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73073         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73074         (libc_feresetround_noex): New.
73075         (libc_feresetround_noexf): New.
73076         (libc_feresetround_noexl): New.
73077         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73078         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73079         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73080         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73081         SET_RESTORE_ROUND.
73082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73083         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73084         (__cos): Likewise.
73085         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73087         SET_RESTORE_ROUND_NOEX.
73088         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73089         SET_RESTORE_ROUND_NOEXF.
73090         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73091         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73092         (libc_feholdsetroundf): New.
73093         (libc_feresetround, libc_feresetroundf): New.
73095         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73096         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73097         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73099         * sysdeps/generic/math_private.h: Include <fenv.h>.
73100         (default_libc_feholdexcept): New.
73101         (default_libc_feholdexcept_setround): New.
73102         (default_libc_fesetenv, default_libc_feupdateenv): New.
73103         (libc_feholdexcept): Only define if undefined.
73104         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73105         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73106         (libc_feholdexcept_setroundl): Likewise.
73107         (libc_feholdexcept_setround_53bit): Likewise.
73108         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73109         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73110         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73111         (libc_feupdateenv_53bit): Likewise.
73112         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73113         (libc_feholdexcept): Convert from macro to inline function.
73114         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73115         (libc_fesetenv, libc_feupdateenv): Likewise.
73117         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73118         not previously defined.
73119         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73120         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73121         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73122         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73123         * sysdeps/ieee754/flt-32/math_private.h: New file.
73124         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73125         math_private.h below SET_FLOAT_WORD.
73126         (__isnan, __isinf_ns, __finite): Remove.
73127         (__isnanf, __isinf_nsf, __finitef): Remove.
73129 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73133 2012-03-17  David S. Miller  <davem@davemloft.net>
73135         [BZ #6471]
73136         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73137         for 2.16.
73139 2012-03-16  David S. Miller  <davem@davemloft.net>
73141         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73142         warnings.
73144         [BZ #6471]
73145         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73146         properly.
73147         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73148         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73149         sysdep_routines when subdir is sysvipc.
73150         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73151         __getshmlba helper.
73153         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73155 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73157         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73158         [__LP64__].
73160 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73162         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73163         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73164         (__lround): Renamed to ...
73165         (__llround): This.  Replace long int with long long int.
73166         Define lround functions as aliases of llround functions.
73167         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73169 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73171         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73172         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73173         adresses to uintptr_t.  Replace "long int" and "unsigned long
73174         int" with "greg_t" on va_arg.
73176 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73178         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73179         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73181         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73182         Move e_machine check before EI_CLASS check.  Handle x32
73183         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73184         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73185         SKIP_EM_IA_64 and include
73186         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73188         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73189         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73190         (add_system_dir): New macro.
73192         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73193         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73195 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73197         [BZ #2551]
73198         [BZ #2552]
73199         [BZ #2553]
73200         [BZ #2554]
73201         [BZ #2562]
73202         [BZ #2563]
73203         [BZ #2565]
73204         [BZ #2566]
73205         [BZ #2576]
73206         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73207         (y0): Likewise.
73208         * math/w_j0f.c (j0f): Likewise.
73209         (y0f): Likewise.
73210         * math/w_j0l.c (__j0l): Likewise.
73211         (__y0l): Likewise.
73212         * math/w_j1.c (j1): Likewise.
73213         (y1): Likewise.
73214         * math/w_j1f.c (j1f): Likewise.
73215         (y1f): Likewise.
73216         * math/w_j1l.c (__j1l): Likewise.
73217         (__y1l): Likewise.
73218         * math/w_jn.c (jn): Likewise.
73219         (yn): Likewise.
73220         * math/w_jnf.c (jnf): Likewise.
73221         (ynf): Likewise.
73222         * math/w_jnl.c (__jnl): Likewise.
73223         (__ynl): Likewise.
73224         * math/libm-test.inc (j0_test): Add more tests.
73225         (j1_test): Likewise.
73226         (jn_test): Likewise.  Add trailing semicolon to existing test.
73227         (y0_test): Likewise.
73228         (y1_test): Likewise.
73229         * sysdeps/i386/fpu/libm-test-ulps: Update.
73230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73232         [BZ #13851]
73233         [BZ #13854]
73234         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73235         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73236         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73237         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73238         (__tanl): Set errno for infinite argument.
73239         * sysdeps/i386/fpu/mptan.c: Remove.
73240         * sysdeps/i386/fpu/s_tan.S: Likewise.
73241         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73242         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73243         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73244         * math/libm-test.inc (tan_test): Add more tests and enable more
73245         tests for double and long double.
73246         * sysdeps/i386/fpu/libm-test-ulps: Update.
73247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73249 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73251         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73252         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73254 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73256         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73257         * configure.in: Use it for both main tree and add-ons.
73258         * configure: Regenerated.
73260 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73262         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73264 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73266         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73267         in comment.
73269         [BZ #13851]
73270         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73271         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73272         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73273         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73274         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73275         infinite argument.
73276         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73277         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73278         != 0 for prec == 2.
73279         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73280         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73281         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73282         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73283         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73284         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73285         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73286         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73287         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73288         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73289         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73290         * math/libm-test.inc (cos_test): Add more tests and enable more
73291         tests for long double.
73292         (sin_test): Likewise.
73293         (sincos_test): Likewise.
73294         * sysdeps/i386/fpu/libm-test-ulps: Update.
73295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73297 2012-03-16  David S. Miller  <davem@davemloft.net>
73299         * sysdeps/sparc/fpu/math_private.h: New file.
73301 2012-03-15  David S. Miller  <davem@davemloft.net>
73303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73304         file.
73305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73307         file.
73308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73313         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73314         sysdep routines.
73315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73317         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73318         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73320         * sysdeps/sparc/sparc-ifunc.h: New file.
73321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73322         sparc-ifunc.h
73323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73325         Likewise.
73326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73327         Likewise.
73328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73332         Likewise.
73333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73338         Likewise.
73339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73340         Likewise.
73341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73347         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73348         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73351         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73355         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73359         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73361         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73366 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73368         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73369         scaling.
73370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73372 2012-03-15  Andreas Jaeger  <aj@suse.de>
73374         [BZ #13852]
73375         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73376         ieee754/flt-32 implementation for sin, cos and sincos.
73377         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73378         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73379         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73380         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73381         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73382         ieee754/flt-32 implementation for tan.
73384         * math/libm-test.inc (cos_test): Enable some large input tests for
73385         float as well
73386         (sin_test): Likewise.
73387         (sincos_test): Likewise.
73388         (tan_test): Add tests for large input.
73390         * sysdeps/i386/fpu/libm-test-ulps: Update.
73392 2012-03-15  Andreas Jaeger  <aj@suse.de>
73394         [BZ #13658]
73395         * math/libm-test.inc (cos_test): Add more test cases.
73396         (sin_test): Likewise.
73397         (sincos_test): Likewise.
73399 2012-03-15  Andreas Jaeger  <aj@suse.de>
73401         [BZ #13837]
73402         * math/libm-test.inc (cos_test): Add a test case for large input
73403         value.
73404         (sin_test): Likewise.
73405         (sincos_test): Likewise.
73407 2012-03-15  Andreas Jaeger  <aj@suse.de>
73408             Joseph Myers  <joseph@codesourcery.com>
73410         [BZ #13658]
73411         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73412         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73413         * sysdeps/i386/fpu/branred.c: Likewise.
73414         * sysdeps/i386/fpu/dosincos.c: Likewise.
73415         * sysdeps/i386/fpu/mpa.c: Likewise.
73416         * sysdeps/i386/fpu/s_cos.S: Likewise.
73417         * sysdeps/i386/fpu/s_sin.S: Likewise.
73418         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73419         * sysdeps/i386/fpu/sincos32.c: Likewise.
73421         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73422         Define.
73423         (libc_feupdateenv_53bit): Define.
73424         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73425         Define.
73426         (libc_feupdateenv_53bit): Define.
73428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73429         53 bit (without extend i386 double precision).
73431         * math/libm-test.inc (sincos_test): Add tests for large input.
73432         (sin): Likewise.
73433         (cos): Likewise.
73435         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73437 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73441 2012-03-15  David S. Miller  <davem@davemloft.net>
73443         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73444         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73445         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73446         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73459         file.
73460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73462         file.
73463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73465         file.
73466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73468         file.
73469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73471         fmin/fmax sysdep routines.
73472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73474 2012-03-14  David S. Miller  <davem@davemloft.net>
73476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73481         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73482         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73483         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73496         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73497         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73498         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73499         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73500         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73501         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73502         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73503         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73505         routines.
73506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73507         file.
73508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73510         file.
73511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73513         file.
73514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73516         file.
73517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73519         file.
73520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73522         file.
73523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73524         file.
73525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73526         file.
73527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73528         file.
73529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73530         New file.
73531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73532         file.
73533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73534         file.
73535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73537         file.
73538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73540         file.
73541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73543         file.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73546         VIS3 routines.
73548         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73549         New file.
73551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73553         * sysdeps/sparc/configure.in: New file.
73554         * sysdeps/sparc/configure: Generate.
73555         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73556         * configure: Regenerate.
73557         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73558         * config.make.in (have-as-vis3): New.
73559         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73560         available use -Av9d instead of -Av9a.
73561         * sysdeps/sparc/sparc64/Makefile: Likewise.
73562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73564         New file.
73565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73566         file.
73567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73568         New file.
73569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73570         file.
73571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73572         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73574         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73575         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73577         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73578         fzeros/fnegs to load 0x80000000 into a float register instead of
73579         using the stack.
73580         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73582 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73585         bits/syscall.h.
73586         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73587         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73588         ($(inst_includedir)/bits/syscall.h): Remove rule.
73589         ($(objpfx)bits/syscall.d): Include instead of
73590         $(objpfx)syscall-list.d.
73591         (generated): Change syscall-list.h and syscall-list.d to
73592         bits/syscall.h and bits/syscall.d.
73594 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73596         [BZ #13846]
73597         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73599 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73601         [BZ #13841]
73602         * math/s_csqrt.c: Include <float.h>.
73603         (__csqrt): Scale large or subnormal inputs.
73604         * math/s_csqrtf.c: Likewise.
73605         * math/s_csqrtl.c: Likewise.
73606         * math/libm-test.inc (csqrt_test): Add more tests.
73607         * sysdeps/i386/fpu/libm-test-ulps: Update.
73608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73610         [BZ #13840]
73611         * math/libm-test.inc (hypot_test): Add more tests.
73613 2012-03-13  David S. Miller  <davem@davemloft.net>
73615         [BZ #13840]
73616         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73617         double-precision for the calculation instead of scaling.
73619 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73621         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73622         manipulate bits before adding and subtracting TWO52[sx].
73623         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73624         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73625         Likewise.
73626         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73628 2012-03-13  David S. Miller  <davem@davemloft.net>
73630         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73631         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73632         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73633         rtld-global-offsets.h
73634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73636         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73637         large parameters.
73639         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73641         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73642         'err' in the ifdef scope in which it is actually used.
73644         * nss/nss_db/db-init.c: Include string.h
73646 2012-03-12  David S. Miller  <davem@davemloft.net>
73648         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73649         masking out of the most significant byte of random value used.
73650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73651         Fix coding style in previous change.
73653         * sysdeps/unix/sysv/linux/kernel-features.h
73654         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73655         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73656         expression.
73657         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73658         later.
73660 2012-03-11  David S. Miller  <davem@davemloft.net>
73662         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73663         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73664         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73665         for 'resultvar' otherwise things get truncated on 64-bit.
73667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73668         Fix masking out of the most significant byte of random value used.
73670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73672 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73676 2012-03-09  David S. Miller  <davem@davemloft.net>
73678         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73679         variables with appropriate CPP guards.
73680         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73681         from the frame pointer, not the stack pointer.  Correct layout
73682         comments.  Fix test on resulting framesize and the management of
73683         the outregs buffer for pltexit.  Preserve floating point return
73684         values across _dl_call_pltexit call.
73685         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73686         framesize and the management of the outregs buffer for pltexit.
73687         Preserve floating point return values across _dl_call_pltexit
73688         call.
73689         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73690         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73691         (la_sparc64_gnu_pltexit): New functions.
73692         (print_exit): Fix format string for return register value.
73694 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73696         * sunrpc/Makefile (others): Add rpcgen.
73697         ($(objpfx)rpcgen): Remove special build rule and dependency on
73698         libc.
73699         * sunrpc/rpcgen.c: New file.
73701 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73703         [BZ #13673]
73704         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73705         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73706         * sysdeps/i386/crti.S: Likewise.
73707         * sysdeps/i386/crtn.S: Likewise.
73708         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73709         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73710         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73711         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73712         * sysdeps/sh/crti.S: Likewise.
73713         * sysdeps/sh/crtn.S: Likewise.
73714         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73716         [BZ #13673]
73717         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73718         with URL.
73719         * locale/programs/locfile-kw.gperf: Likewise.
73720         * locale/programs/charmap-kw.h: Regenerated.
73721         * locale/programs/locfile-kw.h: Likewise.
73723         [BZ #13673]
73724         * intl/plural.y: Replace FSF snail mail address with URL.
73725         * intl/plural.c: Regenerated.
73727 2012-03-09  Richard Henderson  <rth@twiddle.net>
73729         * include/math_private.h: Remove file.
73730         * math/math_private.h: Move file ...
73731         * sysdeps/generic/math_private.h: ... here.
73733         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73734         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73735         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73737         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73738         and <math_private.h>.
73739         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73740         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73741         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73742         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73743         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73744         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73745         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73746         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73747         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73748         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73750         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73751         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73752         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73753         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73754         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73755         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73756         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73757         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73758         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73760         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73761         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73763         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73764         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73765         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73766         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73768         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73769         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73770         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73771         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73772         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73773         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73774         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73775         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73776         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73777         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73778         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73779         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73780         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73781         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73782         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73783         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73784         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73785         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73786         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73787         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73788         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73789         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73790         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73791         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73792         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73793         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73794         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73795         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73796         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73797         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73798         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73799         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73800         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73801         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73802         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73803         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73804         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73805         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73806         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73807         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73808         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73809         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73810         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73811         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73812         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73813         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73814         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73815         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73817         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73818         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73819         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73820         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73821         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73822         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73823         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73824         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73826         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73827         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73828         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73829         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73830         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73831         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73832         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73833         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73834         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73835         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73836         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73837         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73838         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73839         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73840         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73841         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73842         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73843         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73844         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73845         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73846         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73847         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73848         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73849         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73850         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73851         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73852         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73853         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73854         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73855         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73856         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73857         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73858         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73859         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73860         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73861         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73862         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73863         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73864         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73865         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73866         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73867         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73868         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73869         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73870         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73871         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73872         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73873         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73874         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73875         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73876         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73877         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73878         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73879         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73880         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73881         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73882         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73883         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73884         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73885         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73886         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73887         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73888         * sysdeps/ieee754/k_standard.c: Likewise.
73889         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73890         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73891         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73892         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73893         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73894         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73895         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73896         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73897         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73898         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73899         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73901         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73902         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73908         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73910         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73914         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73915         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73918         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73919         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73920         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73922         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73923         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73927         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73928         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73931         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73932         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73933         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73934         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73937         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73940         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73941         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73942         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73944         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73947         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73948         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73949         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73950         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73952         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73957         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73958         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73959         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73979         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73980         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73982         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73983         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73985         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73987         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73988         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73990         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73992         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73993         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73994         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73995         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73997         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73999         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74000         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74004         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74008         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74009         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74011         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74012         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74016         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74017         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74018         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74021         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74028         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74029         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74030         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74031         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74032         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74033         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74034         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74035         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74036         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74037         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74038         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74039         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74040         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74041         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74042         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74043         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74044         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74045         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74046         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74047         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74049         * sysdeps/ieee754/s_lib_version.c: Likewise.
74050         * sysdeps/ieee754/s_matherr.c: Likewise.
74051         * sysdeps/ieee754/s_signgam.c: Likewise.
74052         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74053         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74054         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74055         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74056         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74057         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74058         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74059         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74060         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74061         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74062         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74063         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74064         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74065         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74066         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74067         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74068         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74069         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74070         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74074 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74076         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74077         * sunrpc/rpc_main.c: Likewise.
74078         * sunrpc/rpc_svcout.c: Likewise.
74080 2012-03-09  David S. Miller  <davem@davemloft.net>
74082         * include/math_private.h: New file.
74084 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74086         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74087         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74088         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74089         from <bits/socket_type.h>.
74090         (enum __socket_type): Don't define here.
74091         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74093         bits/socket_type.h.
74095         [BZ #13566]
74096         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74097         checking __USE_GNU.
74099         * Makerules ($(inst_includedir)/%.h): New rule.
74100         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74101         (install-others): Remove variable setting.
74102         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74104 2012-03-08  Richard Henderson  <rth@twiddle.net>
74106         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74107         from macro to inline function; merge with the
74108         !__LIBC_INTERNAL_MATH_INLINES version.
74109         (__ieee754_sqrtf): Likewise.
74111         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74112         to inline function.
74113         (__rintf, __floor, __floorf): Likewise.
74115         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74116         macro to inline function.
74117         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74119         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74120         not <math/math_private.h>.
74122 2012-03-08  David S. Miller  <davem@davemloft.net>
74124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74125         copyright year.
74126         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74128 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74130         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74131         normalization.
74132         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74133         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74135 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74137         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74138         be defined individually, they must be defined as a block.  Define
74139         S for printing a string instead of hidint the different by using a
74140         macro for adding the 'l'.
74141         * stdio-common/tst-fphex-wide.c: Adjust.
74143 2012-03-07  Marek Polacek  <polacek@redhat.com>
74145         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74147 2012-03-08  Marek Polacek  <polacek@redhat.com>
74149         [BZ #13806]
74150         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74151         * stdio-common/tst-fphex.c: Define a few macros to make the
74152         test reusable.  Use them.
74153         * stdio-common/tst-fphex-wide.c: New file.
74155 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74157         [BZ #6911]
74158         * manual/macros.texi (gnusystems): New macro.
74159         (nongnusystems): Likewise.
74160         (gnulinuxhurdsystems): Likewise.
74161         (gnuhurdsystems): Likewise..
74162         (gnulinuxsystems): Likewise.
74163         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74164         variants of the GNU system, not "GNU system".
74165         * manual/conf.texi: Likewise.
74166         * manual/errno.texi: Likewise.  Update example of errno macro
74167         expansion.
74168         * manual/filesys.texi: Likewise.
74169         (getumask): Document as specific to GNU/Hurd.
74170         * manual/install.texi: Likewise.  Reword some references to
74171         GNU/Linux.
74172         * manual/intro.texi: Likewise.
74173         * manual/io.texi: Likewise.
74174         (File Name Portability): Detail which constraints are inapplicable
74175         to all GNU systems and which are only inapplicable to GNU/Hurd.
74176         * manual/job.texi: Likewise.
74177         * manual/llio.texi: Likewise.
74178         (O_NOCTTY): Document as present on GNU/Linux.
74179         * manual/maint.texi: Likewise.
74180         * manual/memory.texi: Likewise.
74181         * manual/pattern.texi: Likewise.
74182         * manual/pipe.texi: Likewise.
74183         * manual/process.texi: Likewise.
74184         * manual/resource.texi: Likewise.
74185         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74186         child on GNU/Hurd.
74187         * manual/setjmp.texi: Likewise.
74188         * manual/signal.texi: Likewise.
74189         * manual/startup.texi: Likewise.
74190         * manual/stdio.texi: Likewise.
74191         * manual/terminal.texi: Likewise.
74192         (ONLCR): Document as POSIX.
74193         (OXTABS): Document availability on GNU/Linux as XTABS.
74194         (ONOEOT): Document availability separately from other bits.
74195         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74196         * manual/time.texi: Likewise.
74197         * manual/users.texi: Likewise.
74198         * INSTALL: Regenerated.
74199         * sysdeps/gnu/errlist.c: Regenerated.
74201         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74202         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74203         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74204         puts.
74205         * configure: Regenerated.
74207 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74209         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74210         default includes instead of AC_HEADER_CHECK.
74211         * sysdeps/i386/configure: Regenerated.
74213         [BZ #10716]
74214         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74215         * math/s_cacoshf.c (__cacoshf): Likewise.
74216         * math/s_cacoshl.c (__cacoshl): Likewise.
74217         * math/s_casinh.c (__casinh): Set signs of result from argument.
74218         * math/s_casinhf.c (__casinhf): Likewise.
74219         * math/s_casinhl.c (__casinhl): Likewise.
74220         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74221         (casinh_test): Add more tests.
74222         * sysdeps/i386/fpu/libm-test-ulps: Update.
74223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74225 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74227         * po/zh_TW.po: Update from translation team.
74229         * login/Makefile (distribute): Remove variable.
74230         * catgets/Makefile: Likewise.
74231         * mach/Makefile: Likewise.
74232         * malloc/Makefile: Likewise.
74233         * misc/Makefile: Likewise.
74234         * iconv/Makefile: Likewise.
74235         * nscd/Makefile: Likewise.
74236         * hurd/Makefile: Likewise.
74237         * manual/Makefile: Likewise.
74238         * locale/Makefile: Likewise.
74239         * intl/Makefile: Likewise.
74240         * conform/Makefile: Likewise.
74241         * nss/Makefile: Likewise.
74242         * time/Makefile: Likewise.
74243         * soft-fp/Makefile: Likewise.
74244         * dirent/Makefile: Likewise.
74245         * gmon/Makefile: Likewise.
74246         * po/Makefile: Likewise.
74247         * rt/Makefile: Likewise.
74248         * socket/Makefile: Likewise.
74249         * math/Makefile: Likewise.
74250         * signal/Makefile: Likewise.
74251         * debug/Makefile: Likewise.
74252         * elf/Makefile: Likewise.
74253         * timezone/Makefile: Likewise.
74254         * stdlib/Makefile: Likewise.
74255         * iconvdata/Makefile: Likewise.
74256         * sunrpc/Makefile: Likewise.
74257         * io/Makefile: Likewise.
74258         * argp/Makefile: Likewise.
74259         * inet/Makefile: Likewise.
74260         * hesiod/Makefile: Likewise.
74261         * grp/Makefile: Likewise.
74262         * csu/Makefile: Likewise.
74263         * wctype/Makefile: Likewise.
74264         * crypt/Makefile: Likewise.
74265         * libio/Makefile: Likewise.
74266         * string/Makefile: Likewise.
74267         * nis/Makefile: Likewise.
74268         * resolv/Makefile: Likewise.
74269         * stdio-common/Makefile: Likewise.
74270         * wcsmbs/Makefile: Likewise.
74271         * dlfcn/Makefile: Likewise.
74272         * posix/Makefile: Likewise.
74274         [BZ #6959]
74275         * timezone/Makefile: Don't install timezone files, just the programs
74276         and scripts.
74278 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74280         * nss/databases.def: Add missing gshadow entry.
74282         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74284 2012-03-06  Marek Polacek  <polacek@redhat.com>
74286         [BZ #13726]
74287         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74288         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74289         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74290         * stdio-common/tst-long-dbl-fphex.c: New file.
74292 2012-03-06  David S. Miller  <davem@davemloft.net>
74294         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74295         (set_obp_int): New function.
74296         (get_obp_int): New function.
74297         (__get_clockfreq_via_dev_openprom): Likewise.
74298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74299         Avoid unused variable warnings on 'val' and use builtin_expect.
74300         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74301         __builtin_expect.
74302         (INLINE_CLONE_SYSCALL): Likewise.
74304 2012-03-05  David S. Miller  <davem@davemloft.net>
74306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74308 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74312         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74313         only for |x| >= 40.
74314         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74316 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74319         Replace gettimeofday with __vdso_gettimeofday.
74321         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74322         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74323         __vdso_clock_gettime and __vdso_getcpu.
74325         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74326         time with __vdso_time.
74328 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74330         * manual/lang.texi (size_t): Note types to which size_t may be
74331         equivalent with the GNU C Library, but do not describe when
74332         differences between them are significant.
74334 2012-03-05  Andreas Jaeger  <aj@suse.de>
74336         * sysdeps/i386/fpu/libm-test-ulps: Update.
74338 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74340         [BZ #3976]
74341         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74342         (__ieee754_pow): Save and restore rounding mode and use
74343         round-to-nearest for main computations.
74344         * math/libm-test.inc (pow_test_tonearest): New function.
74345         (pow_test_towardzero): Likewise.
74346         (pow_test_downward): Likewise.
74347         (pow_test_upward): Likewise.
74348         (main): Call the new functions.
74349         * sysdeps/i386/fpu/libm-test-ulps: Update.
74350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74352         [BZ #3976]
74353         * math/libm-test.inc (cosh_test_tonearest): New function.
74354         (cosh_test_towardzero): Likewise.
74355         (cosh_test_downward): Likewise.
74356         (cosh_test_upward): Likewise.
74357         (sinh_test_tonearest): Likewise.
74358         (sinh_test_towardzero): Likewise.
74359         (sinh_test_downward): Likewise.
74360         (sinh_test_upward): Likewise.
74361         (main): Call the new functions.
74362         * sysdeps/i386/fpu/libm-test-ulps: Update.
74363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74365 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74367         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74368         default stack guard is set in last bytes.
74369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74371 2012-03-05  Kees Cook  <keescook@chromium.org>
74373         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74375         [BZ #13656]
74376         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74377         possibly allocate from heap instead of stack.
74378         * stdio-common/bug-vfprintf-nargs.c: New file.
74379         * stdio-common/Makefile (tests): Add nargs overflow test.
74381 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74385 2012-03-03  Marek Polacek  <polacek@redhat.com>
74387         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74388         * math/math_private.h: Likewise.
74389         * stdlib/tst-strtod.c: Likewise.
74390         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74391         * sysdeps/x86_64/bits/atomic.h: Likewise.
74393 2012-03-02  David S. Miller  <davem@davemloft.net>
74395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74399         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74400         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74401         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74402         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74404 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74406         [BZ #13792]
74407         * manual/examples/README: New file, says the example source files
74408         can be used under GPL>=2.
74409         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74410         line containing just "*/".
74411         * manual/examples/add.c: Add copyright header (GPL>=2).
74412         * manual/examples/argp-ex1.c: Likewise.
74413         * manual/examples/argp-ex2.c: Likewise.
74414         * manual/examples/argp-ex3.c: Likewise.
74415         * manual/examples/argp-ex4.c: Likewise.
74416         * manual/examples/atexit.c: Likewise.
74417         * manual/examples/db.c: Likewise.
74418         * manual/examples/dir.c: Likewise.
74419         * manual/examples/dir2.c: Likewise.
74420         * manual/examples/execinfo.c: Likewise.
74421         * manual/examples/filecli.c: Likewise.
74422         * manual/examples/filesrv.c: Likewise.
74423         * manual/examples/fmtmsgexpl.c: Likewise.
74424         * manual/examples/genpass.c: Likewise.
74425         * manual/examples/inetcli.c: Likewise.
74426         * manual/examples/inetsrv.c: Likewise.
74427         * manual/examples/isockad.c: Likewise.
74428         * manual/examples/longopt.c: Likewise.
74429         * manual/examples/memopen.c: Likewise.
74430         * manual/examples/memstrm.c: Likewise.
74431         * manual/examples/mkfsock.c: Likewise.
74432         * manual/examples/mkisock.c: Likewise.
74433         * manual/examples/mygetpass.c: Likewise.
74434         * manual/examples/pipe.c: Likewise.
74435         * manual/examples/popen.c: Likewise.
74436         * manual/examples/rprintf.c: Likewise.
74437         * manual/examples/search.c: Likewise.
74438         * manual/examples/select.c: Likewise.
74439         * manual/examples/setjmp.c: Likewise.
74440         * manual/examples/sigh1.c: Likewise.
74441         * manual/examples/sigusr.c: Likewise.
74442         * manual/examples/stpcpy.c: Likewise.
74443         * manual/examples/strdupa.c: Likewise.
74444         * manual/examples/strftim.c: Likewise.
74445         * manual/examples/strncat.c: Likewise.
74446         * manual/examples/subopt.c: Likewise.
74447         * manual/examples/swapcontext.c: Likewise.
74448         * manual/examples/termios.c: Likewise.
74449         * manual/examples/testopt.c: Likewise.
74450         * manual/examples/testpass.c: Likewise.
74451         * manual/examples/timeval_subtract.c: Likewise.
74453         [BZ #13792]
74454         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74455         function to ...
74456         * manual/timeval_subtract.c.texi: ... here, new file.
74458 2012-03-02  David S. Miller  <davem@davemloft.net>
74460         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74462 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74464         [BZ #3976]
74465         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74466         (__sin): Save and restore rounding mode and use round-to-nearest
74467         for all computations.
74468         (__cos): Save and restore rounding mode and use round-to-nearest
74469         for all computations.
74470         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74471         <fenv.h>.
74472         (tan): Save and restore rounding mode and use round-to-nearest for
74473         all computations.
74474         * math/libm-test.inc (cos_test_tonearest): New function.
74475         (cos_test_towardzero): Likewise.
74476         (cos_test_downward): Likewise.
74477         (cos_test_upward): Likewise.
74478         (sin_test_tonearest): Likewise.
74479         (sin_test_towardzero): Likewise.
74480         (sin_test_downward): Likewise.
74481         (sin_test_upward): Likewise.
74482         (tan_test_tonearest): Likewise.
74483         (tan_test_towardzero): Likewise.
74484         (tan_test_downward): Likewise.
74485         (tan_test_upward): Likewise.
74486         (main): Call the new functions.
74487         * sysdeps/i386/fpu/libm-test-ulps: Update.
74488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74490         [BZ #10135]
74491         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74492         small n, then large n, before computing and testing k+n.
74493         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74495         Likewise.
74496         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74497         Likewise.
74498         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74499         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74502         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74503         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74504         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74505         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74506         * math/libm-test.inc (scalbn_test): Add more tests.
74507         (scalbln_test): Likewise.
74509         * manual/filesys.texi (mode_t): Describe constraints on size and
74510         signedness, not exact equivalence to a particular type.
74511         (ino_t): Likewise.
74512         (ino64_t): Likewise.
74513         (dev_t): Likewise.
74514         (nlink_t): Likewise.
74515         (blkcnt_t): Likewise.
74516         (blkcnt64_t): Likewise.
74517         * manual/llio.texi (off_t): Likewise.
74519         [BZ #3976]
74520         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74521         (__ieee754_exp): Save and restore rounding mode and use
74522         round-to-nearest for all computations.
74523         * math/libm-test.inc (exp_test_tonearest): New function.
74524         (exp_test_towardzero): Likewise.
74525         (exp_test_downward): Likewise.
74526         (exp_test_upward): Likewise.
74527         (main): Call the new functions.
74528         * sysdeps/i386/fpu/libm-test-ulps: Update.
74529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74531 2012-03-01  Chris Demetriou  <cgd@google.com>
74533         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74534         have predictable order.
74536 2012-03-01  David S. Miller  <davem@davemloft.net>
74538         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74540         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74541         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74542         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74543         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74545         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74546         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74547         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74549         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74550         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74551         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74552         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74553         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74557         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74558         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74559         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74561         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74562         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74563         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74564         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74565         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74566         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74567         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74569         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74570         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74571         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74575         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74576         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74577         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74578         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74579         * sysdeps/sparc/elf/configure: Regenerated.
74581 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74583         * configure.in (AS, LD): Require binutils 2.20 or later.
74584         * configure: Regenerated.
74585         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74586         as required minimum version.
74587         * INSTALL: Regenerated.
74589         [BZ #2541]
74590         [BZ #4108]
74591         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74592         before squaring exponent.
74593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74594         bottom long double and 27 bits of top long double before squaring
74595         exponent.
74596         * math/libm-test.inc (erfc_test): Add more tests.
74597         * sysdeps/i386/fpu/libm-test-ulps: Update.
74598         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74601 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74603         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74604         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74605         containing bit-fields.
74606         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74607         * soft-fp/single.h (_FP_UNION_S): Likewise.
74608         * soft-fp/double.h (_FP_UNION_D): Likewise.
74610 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74612         [BZ #13786]
74613         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74614         not include ../strcmp.S.
74615         [USE_AS_STRNCASECMP_L]: Likewise.
74616         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74617         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74618         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74619         (__strncasecmp_l_ia32): Define as alias to
74620         __strncasecmp_l_nonascii.
74622         [BZ #5794]
74623         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74624         * sysdeps/i386/fpu/libm-test-ulps: Update.
74625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74627         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74630 2012-02-29  Jeff Law  <law@redhat.com>
74632         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74633         out of bounds read.
74635 2012-02-29  Marek Polacek  <polacek@redhat.com>
74637         [BZ #13706]
74638         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74639         * elf/Makefile: Add rules to run tst-unused-dep.out.
74641 2012-02-28  David S. Miller  <davem@davemloft.net>
74643         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74644         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74645         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74646         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74647         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74648         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74650 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74652         * math/libm-test.inc (llround_test): Move one test from
74653         lround_test.  Use TEST_f_L in moved test.
74654         (lround_test): Move misplaced test to llround_test.  Add testcase
74655         from bug 2561.
74657 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74659         * sysdeps/x86_64/fpu/e_expf.S: New file.
74660         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74662 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74664         [BZ #13637]
74665         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74666         of remain_len that may cause incomplete multi-byte character and
74667         false match.
74668         * posix/bug-regex33.c: New file.
74669         * posix/Makefile (tests): Add bug-regex33.
74671 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74673         * manual/macros.texi: New file.
74674         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74675         * manual/libc.texinfo: Include macros.texi.
74676         * manual/creatute.texi: Likewise.
74677         * manual/install.texi: Likewise.
74678         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74679         @glibcadj{} in references to the GNU C Library.
74680         * manual/charset.texi: Likewise.
74681         * manual/conf.texi: Likewise.
74682         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74683         when not using those macros.
74684         * manual/creature.texi: Likewise.
74685         * manual/crypt.texi: Likewise.
74686         * manual/errno.texi: Likewise.
74687         * manual/filesys.texi: Likewise.
74688         * manual/header.texi: Likewise.
74689         * manual/install.texi: Likewise.
74690         * manual/intro.texi: Likewise.
74691         * manual/io.texi: Likewise.
74692         * manual/job.texi: Likewise.
74693         * manual/lang.texi: Likewise.
74694         * manual/libc.texiinfo: Likewise.
74695         * manual/llio.texi: Likewise.
74696         * manual/locale.texi: Likewise.
74697         * manual/maint.texi: Likewise.
74698         * manual/math.texi: Likewise.
74699         * manual/memory.texi: Likewise.
74700         * manual/message.texi: Likewise.
74701         * manual/nss.texi: Likewise.
74702         * manual/pattern.texi: Likewise.
74703         * manual/process.texi: Likewise.
74704         * manual/resource.texi: Likewise.
74705         * manual/search.texi: Likewise.
74706         * manual/setjmp.texi: Likewise.
74707         * manual/signal.texi: Likewise.
74708         * manual/socket.texi: Likewise.
74709         * manual/startup.texi: Likewise.
74710         * manual/stdio.texi: Likewise.
74711         * manual/string.texi: Likewise.
74712         * manual/sysinfo.texi: Likewise.
74713         * manual/syslog.texi: Likewise.
74714         * manual/terminal.texi: Likewise.
74715         * manual/time.texi: Likewise.
74716         * manual/users.texi: Likewise.
74717         * INSTALL: Regenerated.
74718         * NOTES: Regenerated.
74719         * sysdeps/gnu/errlist.c: Regenerated.
74721 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74723         * include/dirent.h: Include <dirstream.h> before
74724         <dirent/dirent.h>.
74726 2012-02-28  David S. Miller  <davem@davemloft.net>
74728         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74729         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74730         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74731         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74733 2012-02-27  David S. Miller  <davem@davemloft.net>
74735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74737         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74738         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74741         frame pointer instead of stack pointer relative arg slot.
74742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74743         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74744         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74746 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74748         [BZ #3992]
74749         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74751 2012-02-27  David S. Miller  <davem@davemloft.net>
74753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74757         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74758         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74759         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74760         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74762 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74764         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74765         later.  Allow versions 5-9.
74766         * configure: Regenerated.
74767         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74768         required minimum version and 4.6 as recommended version.  Do not
74769         mention bugs in GCC 2.7 and 2.8.
74770         * INSTALL: Regenerated.
74772 2012-02-27  David S. Miller  <davem@davemloft.net>
74774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74778         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74779         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74780         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74781         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74783         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74784         manipulate bits before adding and subtracting TWO112[sx].
74785         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74787 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74789         [BZ #13775]
74790         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74791         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74792         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74793         being in POSIX, because they are in 1003.1-2008.
74795         * rt/tst-aio.c: Include <fcntl.h>.
74796         * rt/tst-aio7.c: Likewise.
74797         * rt/tst-aio64.c: Likewise.
74799         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74801 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74803         * manual/install.texi (--with-headers): Describe headers as
74804         interface headers, not private headers.
74805         (Specific advice for GNU/Linux systems): Describe use of headers
74806         from "make headers_install", not private headers from older
74807         kernels.
74808         * INSTALL: Regenerated.
74809         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74810         Change to 2.6.19.
74811         * sysdeps/unix/sysv/linux/configure: Regenerated.
74813         * manual/llio.texi (fclean): Remove documentation.
74815         * manual/Makefile (libc-texi-generated): New variable.  Include
74816         version.texi.
74817         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74818         $(libc-texi-generated), not duplicated list of files.
74819         (version.texi, stamp-version): New rules.
74820         (realclean): Remove $(libc-texi-generated), not individual files
74821         from that list.  Do not remove dir-add.texinfo.
74822         * manual/libc.texinfo: Comment out uses of edition numbers and
74823         references to printed manual.  Remove last-updated dates.
74824         (EDITION): Comment out.
74825         (ISBN): Likewise.
74826         (VERSION, UPDATED): Remove.
74827         (version.texi): Include.
74829 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74831         * sysdeps/posix/spawni.c: Include <signal.h>.
74832         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74833         * sysdeps/pthread/aio_fsync.c: Likewise.
74835 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74837         * conform/Makefile (tests): Run only when not cross-compiling and
74838         when fast-check is not defined.
74840         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74841         * conform/data/limits.h-data: Fixes for POSIX2008.
74842         * conform/run-conformtest.sh: Run all tests.
74843         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74844         headers.
74845         * include/bits/dlfcn.h: Likewise.
74846         * include/langinfo.h: Likewise.
74847         * include/monetary.h: Likewise.
74848         * include/sys/poll.h: Likewise.
74850         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74851         for __USE_GNU.
74852         * posix/spawn.h: Define __need_sigset_t.
74853         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74854         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74855         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74856         to get sigevent_t only.
74857         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74858         only for __USE_GNU.
74859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74860         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74861         process_vm_writev only for __USE_GNU.
74862         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74864         * conform/Makefile: For now ignore errors from run-conformtest.
74865         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74866         POSIX to avoid namespace pollution.  Don't prepend headers.
74867         * conform/data/aio.h-data: Fixes for POSIX testing.
74868         * conform/data/fcntl.h-data: Likewise.
74869         * conform/data/glob.h-data: Likewise.
74870         * conform/data/grp.h-data: Likewise.
74871         * conform/data/pthread.h-data: Likewise.
74872         * conform/data/pwd.h-data: Likewise.
74873         * conform/data/signal.h-data: Likewise.
74874         * conform/data/spawn.h-data: Likewise.
74875         * conform/data/stdio.h-data: Likewise.
74876         * conform/data/stdlib.h-data: Likewise.
74877         * conform/data/stropts.h-data: Likewise.
74878         * conform/data/sys/mman.h-data: Likewise.
74879         * conform/data/sys/stat.h-data: Likewise.
74880         * conform/data/sys/types.h-data: Likewise.
74881         * conform/data/sys/wait.h-data: Likewise.
74882         * conform/data/time.h-data: Likewise.
74883         * conform/data/unistd.h-data: Likewise.
74884         * conform/data/utime.h-data: Likewise.
74886         * io/sys/stat.h: fchmod was always in POSIX.
74887         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74888         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74889         * rt/aio.h: Define __need_timespec before including <time.h>.
74890         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74891         struct.  Add forward declaration of pthread_attr_t and use it in
74892         sigevent.
74893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74895         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74896         always remove CLK_TCK definition.
74898 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74900         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74902 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74904         * conform/run-conformtest.sh: New file.
74905         * conform/Makefile: Run run-conformtest for tests.
74906         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74907         support.
74909         * conform/data/uchar.h-data: New file.
74910         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74911         * conform/data/arpa/inet.h-data: Likewise.
74912         * conform/data/assert.h-data: Likewise.
74913         * conform/data/complex.h-data: Likewise.
74914         * conform/data/cpio.h-data: Likewise.
74915         * conform/data/ctype.h-data: Likewise.
74916         * conform/data/dirent.h-data: Likewise.
74917         * conform/data/dlfcn.h-data: Likewise.
74918         * conform/data/errno.h-data: Likewise.
74919         * conform/data/fcntl.h-data: Likewise.
74920         * conform/data/float.h-data: Likewise.
74921         * conform/data/fmtmsg.h-data: Likewise.
74922         * conform/data/fnmatch.h-data: Likewise.
74923         * conform/data/ftw.h-data: Likewise.
74924         * conform/data/glob.h-data: Likewise.
74925         * conform/data/grp.h-data: Likewise.
74926         * conform/data/iconv.h-data: Likewise.
74927         * conform/data/inttypes.h-data: Likewise.
74928         * conform/data/langinfo.h-data: Likewise.
74929         * conform/data/libgen.h-data: Likewise.
74930         * conform/data/limits.h-data: Likewise.
74931         * conform/data/locale.h-data: Likewise.
74932         * conform/data/math.h-data: Likewise.
74933         * conform/data/monetary.h-data: Likewise.
74934         * conform/data/mqueue.h-data: Likewise.
74935         * conform/data/ndbm.h-data: Likewise.
74936         * conform/data/net/if.h-data: Likewise.
74937         * conform/data/netdb.h-data: Likewise.
74938         * conform/data/netinet/in.h-data: Likewise.
74939         * conform/data/nl_types.h-data: Likewise.
74940         * conform/data/poll.h-data: Likewise.
74941         * conform/data/pthread.h-data: Likewise.
74942         * conform/data/pwd.h-data: Likewise.
74943         * conform/data/regex.h-data: Likewise.
74944         * conform/data/sched.h-data: Likewise.
74945         * conform/data/search.h-data: Likewise.
74946         * conform/data/semaphore.h-data: Likewise.
74947         * conform/data/setjmp.h-data: Likewise.
74948         * conform/data/signal.h-data: Likewise.
74949         * conform/data/spawn.h-data: Likewise.
74950         * conform/data/stdarg.h-data: Likewise.
74951         * conform/data/stdio.h-data: Likewise.
74952         * conform/data/stdlib.h-data: Likewise.
74953         * conform/data/string.h-data: Likewise.
74954         * conform/data/strings.h-data: Likewise.
74955         * conform/data/stropts.h-data: Likewise.
74956         * conform/data/sys/ipc.h-data: Likewise.
74957         * conform/data/sys/mman.h-data: Likewise.
74958         * conform/data/sys/msg.h-data: Likewise.
74959         * conform/data/sys/resource.h-data: Likewise.
74960         * conform/data/sys/select.h-data: Likewise.
74961         * conform/data/sys/sem.h-data: Likewise.
74962         * conform/data/sys/shm.h-data: Likewise.
74963         * conform/data/sys/socket.h-data: Likewise.
74964         * conform/data/sys/stat.h-data: Likewise.
74965         * conform/data/sys/statvfs.h-data: Likewise.
74966         * conform/data/sys/time.h-data: Likewise.
74967         * conform/data/sys/timeb.h-data: Likewise.
74968         * conform/data/sys/times.h-data: Likewise.
74969         * conform/data/sys/types.h-data: Likewise.
74970         * conform/data/sys/uio.h-data: Likewise.
74971         * conform/data/sys/un.h-data: Likewise.
74972         * conform/data/sys/utsname.h-data: Likewise.
74973         * conform/data/sys/wait.h-data: Likewise.
74974         * conform/data/syslog.h-data: Likewise.
74975         * conform/data/tar.h-data: Likewise.
74976         * conform/data/termios.h-data: Likewise.
74977         * conform/data/utime.h-data: Likewise.
74978         * conform/data/utmpx.h-data: Likewise.
74979         * conform/data/varargs.h-data: Likewise.
74980         * conform/data/wchar.h-data: Likewise.
74981         * conform/data/wctype.h-data: Likewise.
74982         * conform/data/wordexp.h-data: Likewise.
74984         * include/stropts.h: New file.
74985         * include/uchar.h: New file.
74986         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74987         * include/assert.h: Likewise.
74988         * include/ctype.h: Likewise.
74989         * include/dirent.h: Likewise.
74990         * include/dlfcn.h: Likewise.
74991         * include/fcntl.h: Likewise.
74992         * include/fnmatch.h: Likewise.
74993         * include/glob.h: Likewise.
74994         * include/grp.h: Likewise.
74995         * include/libio.h: Likewise.
74996         * include/locale.h: Likewise.
74997         * include/math.h: Likewise.
74998         * include/net/if.h: Likewise.
74999         * include/netdb.h: Likewise.
75000         * include/netinet/in.h: Likewise.
75001         * include/pthread.h: Likewise.
75002         * include/pwd.h: Likewise.
75003         * include/regex.h: Likewise.
75004         * include/sched.h: Likewise.
75005         * include/search.h: Likewise.
75006         * include/setjmp.h: Likewise.
75007         * include/signal.h: Likewise.
75008         * include/stdio.h: Likewise.
75009         * include/stdlib.h: Likewise.
75010         * include/string.h: Likewise.
75011         * include/sys/cdefs.h: Likewise.
75012         * include/sys/mman.h: Likewise.
75013         * include/sys/msg.h: Likewise.
75014         * include/sys/resource.h: Likewise.
75015         * include/sys/select.h: Likewise.
75016         * include/sys/socket.h: Likewise.
75017         * include/sys/stat.h: Likewise.
75018         * include/sys/statvfs.h: Likewise.
75019         * include/sys/time.h: Likewise.
75020         * include/sys/times.h: Likewise.
75021         * include/sys/uio.h: Likewise.
75022         * include/sys/utsname.h: Likewise.
75023         * include/sys/wait.h: Likewise.
75024         * include/termios.h: Likewise.
75025         * include/time.h: Likewise.
75026         * include/ulimit.h: Likewise.
75027         * include/unistd.h: Likewise.
75028         * include/utime.h: Likewise.
75029         * include/wchar.h: Likewise.
75030         * include/wctype.h: Likewise.
75031         * include/wordexp.h: Likewise.
75033         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75035         * time/time.h: TIME_UTC must be a macro.
75036         Make timespec_get available for ISO C11 only as well.
75038 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75040         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75041         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75043 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75045         * configure.in: Use -o not -a in test for unsupported multi-arch.
75047 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75049         * manual/texinfo.tex: Update to version 2012-01-19.16.
75051 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75053         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75055 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75057         [BZ #13738]
75058         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75059         * manual/fdl-1.3.texi: New file.
75060         * manual/fdl-1.1.texi: File removed.
75062         [BZ #13738]
75063         * manual/libc.texinfo (FDL_VERSION): New @set.
75064         Use it for mention of FDL in cover text.
75065         (Documentation License): Use it in @include file name.
75067 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75068             Roland McGrath  <roland@hack.frob.com>
75070         [BZ #5461]
75071         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75072         (not LONG_LONG_MAX and LONG_LONG_MIN.
75073         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75074         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75075         name.
75076         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75080         [BZ #2547]
75081         [BZ #11365]
75082         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75083         manipulate bits before adding and subtracting TWO23[sx].
75084         * math/libm-test.inc (nearbyint_test): Add more tests.
75086 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75088         [BZ #2548]
75089         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75090         bits before adding and subtracting TWO23[sx].
75091         * math/libm-test.inc (rint_test): Add more tests.
75092         (rint_test_tonearest): Likewise.
75093         (rint_test_towardzero): Likewise.
75094         (rint_test_downward): Likewise.
75095         (rint_test_upward: Likewise.
75097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75099         [BZ #10110]
75100         * include/stdc-predef.h: New file.  Extracted from features.h.
75101         * include/features.h: Include stdc-predef.h.
75102         * Makefile (headers): Add stdc-predef.h.
75103         * CONFORMANCE (Compiler limitations): Update.
75105 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75107         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75109 2012-02-21  David S. Miller  <davem@davemloft.net>
75111         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75112         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75114 2012-02-20  David S. Miller  <davem@davemloft.net>
75116         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75117         using a normal save/restore sequence, rather than allocating a
75118         dummy stack frame just to store a frame pointer and restore.
75119         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75121 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75123         * manual/install.texi: Fix stray word in line-wrapped comment.
75125 2012-02-20  David S. Miller  <davem@davemloft.net>
75127         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75128         both binutils and gcc support GOTDATA.
75130         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75131         "rd %pc" in the PIC register setup sequences.
75133         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75134         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75135         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75136         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75137         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75138         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75139         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75140         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75142         (SYSCALL_ERROR_HANDLER): Likewise.
75143         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75144         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75146         (SYSCALL_ERROR_HANDLER): Likewise.
75148         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75149         (HAVE_GCC_GOTDATA): New.
75150         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75151         relocation support in both binutils and gcc.
75152         * sysdeps/sparc/elf/configure: Regenerate.
75154         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75155         * sysdeps/sparc/sparc32/elf/configure: Delete.
75156         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75157         * sysdeps/sparc/sparc64/elf/configure: Delete.
75158         * sysdeps/sparc/elf/configure.in: New file.
75159         * sysdeps/sparc/elf/configure: Generate.
75161         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75162         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75163         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75164         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75165         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75167 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75169         * manual/install.texi: Do not mention specific glibc version
75170         numbers.
75171         * manual/libc.texinfo (VERSION, UPDATED): Update.
75172         (@copying): Use @copyright{} and range of years.
75174 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75176         [BZ #13695]
75177         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75178         [crti.S not in sysdirs] (generated): Do not append.
75179         [crti.S not in sysdirs] (omit-deps): Likewise.
75180         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75181         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75182         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75183         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75184         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75185         Likewise.
75186         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75187         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75188         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75189         * csu/defs.awk: Remove file.
75190         * sysdeps/generic/initfini.c: Likewise.
75191         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75192         variable.
75193         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75194         Likewise.
75196 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75198         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75199         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75200         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75201         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75202         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75203         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75204         <bits/epoll.h>.
75205         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75206         (__EPOLL_PACKED): Define to empty if not defined by
75207         <bits/epoll.h>.
75208         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75210         bits/epoll.h.
75212 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75214         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75215         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75216         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75217         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75218         <bits/timerfd.h>.
75219         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75221         bits/timerfd.h.
75223 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75225         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75226         in C locale.
75227         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75228         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75229         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75232 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75234         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75235         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75237 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75239         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75240         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75241         defined.
75242         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75243         Likewise.
75244         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75245         entry for 2.16.
75247 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75249         * math/w_acos.c: Use non-signaling floating-point comparisons.
75250         * math/w_acosf.c: Likewise.
75251         * math/w_acosh.c: Likewise.
75252         * math/w_acoshf.c: Likewise.
75253         * math/w_acoshl.c: Likewise.
75254         * math/w_acosl.c: Likewise.
75255         * math/w_asin.c: Likewise.
75256         * math/w_asinf.c: Likewise.
75257         * math/w_asinl.c: Likewise.
75258         * math/w_atanh.c: Likewise.
75259         * math/w_atanhf.c: Likewise.
75260         * math/w_atanhl.c: Likewise.
75261         * math/w_exp2.c: Likewise.
75262         * math/w_exp2f.c: Likewise.
75263         * math/w_exp2l.c: Likewise.
75264         * math/w_j0.c: Likewise.
75265         * math/w_j0f.c: Likewise.
75266         * math/w_j0l.c: Likewise.
75267         * math/w_j1.c: Likewise.
75268         * math/w_j1f.c: Likewise.
75269         * math/w_j1l.c: Likewise.
75270         * math/w_jn.c: Likewise.
75271         * math/w_jnf.c: Likewise.
75272         * math/w_log.c: Likewise.
75273         * math/w_log10.c: Likewise.
75274         * math/w_log10f.c: Likewise.
75275         * math/w_log10l.c: Likewise.
75276         * math/w_log2.c: Likewise.
75277         * math/w_log2f.c: Likewise.
75278         * math/w_log2l.c: Likewise.
75279         * math/w_logf.c: Likewise.
75280         * math/w_logl.c: Likewise.
75281         * math/w_sqrt.c: Likewise.
75282         * math/w_sqrtf.c: Likewise.
75283         * math/w_sqrtl.c: Likewise.
75284         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75285         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75286         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75287         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75288         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75290 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75292         [BZ #9739]
75293         * manual/string.texi (strnlen): Use correct parameter name in
75294         equivalent expression.
75296 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75298         [BZ #11174]
75299         * manual/users.texi (seteuid): Consistently use neweuid for
75300         argument name.
75302 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75304         [BZ #13704]
75305         * manual/nss.texi (Services in the NSS configuration): Correct
75306         list of services in example configuration file.
75308 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75310         [BZ #11322]
75311         * manual/arith.texi: Remove statements about negative zero
75312         behaving identically to zero.
75314 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75316         [BZ #5993]
75317         * manual/install.texi: Do not document upgrading from libc5.
75319 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75321         [BZ #4596]
75322         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75324 2012-02-18  David S. Miller  <davem@davemloft.net>
75326         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75327         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75328         %o7 across the call.
75329         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75330         instead.
75331         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75332         SETUP_PIC_REG_LEAF.
75333         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75334         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75335         * sysdeps/sparc/crtn.S: Likewise.
75337 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75339         * aout/Makefile: Remove.
75341 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75343         [BZ #13058]
75344         * manual/examples/argp-ex1.c (main): Format definition in GNU
75345         style.
75346         * manual/examples/argp-ex2.c (main): Likewise.
75347         * manual/examples/argp-ex3.c (main): Likewise.
75348         * manual/examples/argp-ex4.c (main): Likewise.
75349         * manual/examples/longopt.c (main): Use new-style prototype
75350         definition.
75351         * manual/examples/strncat.c (main): Specify return type and use
75352         (void) for arguments.
75353         * manual/examples/subopt.c (main): Use char **argv argument.
75355 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75357         [BZ #5077]
75358         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75359         rounding modes.
75361 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75363         [BZ #6907]
75364         * manual/string.texi (strchr): Change when strchrnul is
75365         recommended.
75367 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75369         [BZ #174]
75370         * manual/locale.texi (setlocale): Document LOCPATH.
75372 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75374         [BZ #10210]
75375         * manual/process.texi (execle): Move @dots{} before last argument.
75377 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75379         [BZ #12047]
75380         * manual/charset.texi (Generic Charset Conversion): Fix typo
75381         (LC_TYPE -> LC_CTYPE).
75383 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75385         [BZ #5805]
75386         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75387         (scalbnf): Likewise.
75388         (scalbnl): Likewise.
75389         (scalbln): Likewise.
75390         (scalblnf): Likewise.
75391         (scalblnl): Likewise.
75392         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75393         (vwarnx): Likewise.
75394         (verr): Likewise.
75395         (verrx): Likewise.
75396         * manual/filesys.texi (telldir): Use braces around return type.
75397         * manual/llio.texi (mmap): Add space after comma.
75398         (mmap64): Likewise.
75399         * manual/math.texi (jn): Use @var{} on parameter names.
75400         (jnf): Likewise.
75401         (jnl): Likewise.
75402         (yn): Likewise.
75403         (ynf): Likewise.
75404         (ynl): Likewise.
75405         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75406         line.
75407         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75408         "...".
75409         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75410         (sched_get_priority_max): Likewise.
75411         * manual/signal.texi (sigvec): Add space after comma.
75412         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75413         names.
75414         (if_indextoname): Likewise.
75415         (if_freenameindex): Likewise.
75416         (sendto): Use ',' instead of '.' in prototype.
75417         * manual/startup.texi (syscall): Use @dots{} instead of literal
75418         "...".
75419         * manual/stdio.texi (__fpending): Separate initial words of
75420         paragraph from @deftypefun line.
75421         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75422         "...".
75423         (vsyslog): Use @var{} on parameter names.
75424         * manual/terminal.texi (stty): Use @var{} on parameter names.
75425         * manual/users.texi (getutmp): Use @var{} on parameter names.
75426         (getutmpx): Likewise.
75428 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75430         [BZ #6884]
75431         * manual/stdio.texi (fopen): Fix typos in description of
75432         ",ccs=STRING".
75434 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75436         [BZ #4026]
75437         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75438         get clock_id definition.
75440 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75442         [BZ #4822]
75443         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75444         (madvise): Cast every argument to void on its own.
75446 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75448         [BZ #9902]
75449         * manual/startup.texi (Exit Status): Fix typo.
75451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75453         [BZ #10140]
75454         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75455         * manual/examples/argp-ex2.c: Likewise.
75456         * manual/examples/argp-ex3.c: Likewise.
75458 2012-02-16  Richard Henderson  <rth@redhat.com>
75460         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75461         * sysdeps/s390/s390-32/initfini.c: Remove.
75462         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75463         * sysdeps/s390/s390-64/initfini.c: Remove.
75465 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75467         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75468         compiler output for sysdeps/generic/initfini.c.
75469         * sysdeps/sh/elf/initfini.c: Remove file.
75471 2012-02-16  David S. Miller  <davem@davemloft.net>
75473         [BZ #11494]
75474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75476         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75477         * sysdeps/sparc/crti.S: New file.
75478         * sysdeps/sparc/crtn.S: New file.
75479         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75480         * sysdeps/sparc/sparc64/Makefile: Likewise.
75482 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75484         [BZ #3335]
75485         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75487 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75489         [BZ #4822]
75490         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75492         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75493         (write, read, close): Likewise.
75494         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75496 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75498         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75499         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75500         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75501         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75502         <bits/signalfd.h>.
75503         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75505         bits/signalfd.h.
75507 2012-02-14  Marek Polacek  <polacek@redhat.com>
75509         * sysdeps/x86_64/crti.S: New file.
75510         * sysdeps/x86_64/crtn.S: New file.
75511         * sysdeps/x86_64/elf/initfini.c: Remove file.
75513 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75515         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75516         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75517         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75518         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75519         <bits/inotify.h>.
75520         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75522         bits/inotify.h.
75524 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75526         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75527         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75528         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75529         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75530         <bits/eventfd.h>.
75531         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75533         bits/eventfd.h.
75535 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75537         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75538         __feraiseexcept instead of feraiseexcept.
75540         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75541         nanosleep invocations.
75542         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75543         strings, and add error checking for a nanosleep invocations.
75545 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75547         Replace FSF snail mail address with URLs, as per GNU coding standards.
75548         Most of the snail mail addresses were wrong anyway, and omitting
75549         them makes the source code easier to maintain.  Almost all of the
75550         changes are to license notices and to locale LC_IDENTIFICATION
75551         addresses, except for this one:
75552         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75553         not its snail mail address.
75555 2012-02-09  Richard Henderson  <rth@twiddle.net>
75557         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75558         of kernel-features.h.
75560         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75562 2012-02-08  Marek Polacek  <polacek@redhat.com>
75564         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75565         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75566         * sysdeps/gnu/_G_config.h: Likewise.
75567         * sysdeps/generic/_G_config.h: Likewise.
75569 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75571         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75572         tests.
75573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75575         * sysdeps/powerpc/powerpc32/crti.S: New file.
75576         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75577         * sysdeps/powerpc/powerpc64/crti.S: New file.
75578         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75580         * Makeconfig (have-initfini): Don't set.
75581         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75582         * configure.in (nopic_initfini): Don't substitute.
75583         * config.h.in (HAVE_INITFINI): Don't #undef.
75584         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75585         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75587 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75589         Support crti.S and crtn.S provided directly by architectures.
75590         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75591         [crti.S in sysdirs] (omit-deps): Likewise.
75592         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75593         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75594         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75595         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75596         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75597         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75598         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75599         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75600         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75601         compiler output for sysdeps/generic/initfini.c.
75602         * sysdeps/i386/elf/Makefile: Remove file.
75603         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75605 2012-02-07  Marek Polacek  <polacek@redhat.com>
75607         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75608         * sysdeps/gnu/_G_config.h: Likewise.
75609         * sysdeps/mach/hurd/_G_config.h: Likewise.
75611 2012-02-07  Marek Polacek  <polacek@redhat.com>
75613         * math/Makefile (tests): Add tst-CMPLX2.
75614         * math/tst-CMPLX2.c: New file.
75616 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75618         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75620         * math/libm-test.inc (jn_test): Add missing L suffix.
75622 2012-02-06  Marek Polacek  <polacek@redhat.com>
75624         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75625         * sysdeps/i386/fpu/e_powf.S: Likewise.
75626         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75627         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75628         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75629         * sysdeps/i386/fpu/e_pow.S: Likewise.
75630         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75631         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75632         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75633         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75634         * sysdeps/i386/fpu/e_log2.S: Likewise.
75635         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75636         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75637         * sysdeps/i386/fpu/e_powl.S: Likewise.
75638         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75639         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75640         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75641         * sysdeps/i386/fpu/e_logl.S: Likewise.
75642         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75643         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75644         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75645         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75646         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75647         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75648         * sysdeps/i386/fpu/e_log.S: Likewise.
75649         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75650         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75651         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75652         * sysdeps/i386/fpu/e_logf.S: Likewise.
75653         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75654         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75655         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75656         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75657         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75658         * sysdeps/i386/fpu/e_log10.S: Likewise.
75659         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75660         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75661         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75662         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75663         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75664         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75665         * sysdeps/i386/asm-syntax.h: Likewise.
75666         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75667         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75668         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75669         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75670         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75671         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75672         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75673         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75674         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75675         * sysdeps/powerpc/sysdep.h: Likewise.
75676         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75677         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75679 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75681         [BZ #411]
75682         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75684 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75686         * sysdeps/i386/sysdep.h: Include <features.h>.
75687         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75688         version.
75690 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75692         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75693         Define.
75694         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75695         LOAD_PIC_REG_STR.
75697 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75699         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75700         (SETUP_PIC_REG): Use GET_PC_THUNK.
75701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75702         macro.
75704 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75706         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75707         for non-PIC compilation.
75708         (SETUP_PIC_REG): Add .p2align directive.
75709         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75710         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75711         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75712         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75713         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75714         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75715         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75716         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75717         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75718         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75719         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75720         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75721         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75722         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75723         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75724         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75725         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75726         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75727         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75728         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75729         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75730         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75731         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75732         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75733         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75734         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75735         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75736         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75737         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75738         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75739         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75740         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75741         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75742         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75743         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75744         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75745         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75746         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75747         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75748         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75749         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75751 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75753         * math/tst-CMPLX.c: Include <stdio.h>.
75755 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75757         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75758         float.
75759         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75760         * sysdeps/sparc/bits/mathdef.h: Likewise.
75762 2012-01-31  Marek Polacek  <polacek@redhat.com>
75764         * libio/libio.h: Don't define _PARAMS.
75765         * locale/programs/config.h: Don't define PARAMS.
75766         * stdlib/strtol_l.c: Likewise.
75767         (__strtol_l): Remove PARAMS from the prototype.
75769 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75771         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75772         names.  Just use the correct names.  Remove unnecessary wrapper
75773         functions.
75774         * malloc/arena.c: Likewise.
75775         * malloc/hooks.c: Likewise.
75777         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75778         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75779         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75781 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75783         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75784         into tail calls.
75785         (update_get_addr): New function.
75786         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75787         GET_ADDR_MODULE parameter.
75789 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75791         * crypt/cert.c: Remove __STDC__ conditionals.
75792         * crypt/crypt-entry.c: Likewise.
75793         * crypt/crypt_util.c: Likewise.
75794         * libio/filedoalloc.c: Likewise.
75795         * libio/fileops.c: Likewise.
75796         * libio/genops.c: Likewise.
75797         * libio/iofclose.c: Likewise.
75798         * libio/iofdopen.c: Likewise.
75799         * libio/iofopen.c: Likewise.
75800         * libio/iofopen64.c: Likewise.
75801         * libio/iogetdelim.c: Likewise.
75802         * libio/iopopen.c: Likewise.
75803         * libio/obprintf.c: Likewise.
75804         * libio/oldfileops.c: Likewise.
75805         * libio/oldiofclose.c: Likewise.
75806         * libio/oldiofdopen.c: Likewise.
75807         * libio/oldiofopen.c: Likewise.
75808         * libio/oldiopopen.c: Likewise.
75809         * libio/wfiledoalloc.c: Likewise.
75810         * libio/wgenops.c: Likewise.
75811         * locale/programs/xmalloc.c: Likewise.
75812         * misc/syslog.c: Likewise.
75813         * stdio-common/xbug.c: Likewise.
75814         * string/memchr.c: Likewise.
75815         * string/memcmp.c: Likewise.
75816         * string/memrchr.c: Likewise.
75817         * string/rawmemchr.c: Likewise.
75818         * sysdeps/posix/getcwd.c: Likewise.
75819         * time/strftime_l.c: Likewise.
75821 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75823         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75824         * config.make.in (config-cflags-sse2avx): Define.
75825         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75826         Fix typo.
75828 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75830         * scripts/config.guess: Update from upstream config git repository.
75831         * scripts/config.sub: Likewise.
75833 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75835         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75836         (EM_NUM): Update.
75837         (R_TILEPRO_*, R_TILEGX_*): New macros.
75839         * scripts/firstversions.awk: Fix bug in version range handling.
75841         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75843         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75845         * include/sys/epoll.h: New file.
75846         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75847         libc_hidden_def.
75849 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75851         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75852         Avoid unnecessary __WORDSIZE == 64 test.
75853         (fmaxf): Use VEX format if possible.
75854         (fmax): Likewise.
75855         (fminf): Likewise.
75856         (fmin): Likewise.
75858         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75859         * math/math_private.h: Remove libc_fegetround* and
75860         libc_fesetround*.
75861         * sysdeps/i386/configure.in: Check for -msse2avx.
75862         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75863         also if SSE2AVX is defined.
75864         Remove libc_fegetround* and libc_fesetround*.
75865         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75866         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75868         of HAS_YMM_USABLE.
75869         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75870         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75872         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75873         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75875         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75877 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75879         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75880         size is not set.
75881         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75883 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75885         [BZ #13618]
75886         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75887         relocation.
75888         * Makeconfig (libm): Define.
75889         * elf/Makefile: Add rules to build and run tst-relsort1.
75890         * elf/tst-relsort1.c: New file.
75891         * elf/tst-relsort1mod1.c: New file.
75892         * elf/tst-relsort1mod2.c: New file.
75894 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75896         * math/s_ldexp.c: Remove __STDC__ conditionals.
75897         * math/s_ldexpf.c: Likewise.
75898         * math/s_ldexpl.c: Likewise.
75899         * math/s_nextafter.c: Likewise.
75900         * math/s_nexttowardf.c: Likewise.
75901         * math/s_significand.c: Likewise.
75902         * math/s_significandf.c: Likewise.
75903         * math/s_significandl.c: Likewise.
75904         * math/w_jnl.c: Likewise.
75905         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75906         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75907         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75908         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75909         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75910         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75911         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75912         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75913         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75914         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75915         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75917         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75918         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75919         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75920         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75921         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75922         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75923         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75924         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75925         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75926         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75927         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75928         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75929         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75930         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75931         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75933         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75934         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75935         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75936         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75937         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75938         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75939         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75940         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75941         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75942         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75943         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75944         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75945         * sysdeps/ieee754/k_standard.c: Likewise.
75946         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75947         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75948         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75949         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75950         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75951         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75953         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75954         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75955         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75956         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75957         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75958         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75959         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75960         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75961         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75962         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75963         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75964         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75965         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75966         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75967         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75968         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75969         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75970         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75971         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75973         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75976         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75977         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75978         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75979         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75981         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75982         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75983         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75984         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75985         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75986         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75988         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75989         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75990         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75991         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75992         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75993         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75994         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75995         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75996         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75997         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75998         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75999         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76000         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76001         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76002         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76003         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76004         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76006         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76007         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76008         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76009         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76010         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76011         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76012         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76013         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76014         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76015         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76016         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76017         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76018         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76019         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76020         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76021         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76022         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76023         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76024         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76025         * sysdeps/ieee754/s_matherr.c: Likewise.
76026         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76027         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76028         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76029         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76031 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76033         * crypt/md5.h: Remove __STDC__ conditionals.
76034         * libio/libioP.h: Likewise.
76035         * locale/programs/config.h: Likewise.
76036         * sysdeps/generic/sysdep.h: Likewise.
76037         * sysdeps/i386/asm-syntax.h: Likewise.
76038         * sysdeps/s390/asm-syntax.h: Likewise.
76039         * sysdeps/unix/sysdep.h: Likewise.
76040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76043 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76045         * libio/libio.h: Remove __STDC__ conditionals.
76046         * malloc/obstack.h: Likewise.
76047         * math/complex.h: Likewise.
76048         * math/math.h: Likewise.
76049         * sysdeps/generic/_G_config.h: Likewise.
76050         * sysdeps/gnu/_G_config.h: Likewise.
76051         * sysdeps/mach/hurd/_G_config.h: Likewise.
76052         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76053         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76054         * sysdeps/sparc/bits/mathdef.h: Likewise.
76056 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76058         [BZ #13583]
76059         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76060         Clean up HAS_* macros.
76061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76062         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76063         possible.
76064         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76065         HAS_AVX.
76066         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76067         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76068         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76069         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76070         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76072 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76074         * elf/tst-unique3.cc (gets): Remove declaration.
76075         * elf/tst-unique3lib.cc (gets): Likewise.
76076         * elf/tst-unique3lib2.cc (gets): Likewise.
76077         * elf/tst-unique4.cc (gets): Likewise.
76079 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76081         * include/stdio.h: Add C++ protection.  Add gets declarations and
76082         definitions.
76083         * debug/tst-chk1.c: Don't declare gets here.
76084         * stdio-common/tst-gets.c: Likewise.
76086 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76088         * posix/glob: Remove directory.
76090 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76092         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76094 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76096         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76097         of the non-standard EPFNOSUPPORT.
76099 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76101         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76102         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76103         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76105 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76107         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76109 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76111         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76112         transient errors.
76113         * nscd/grpcache.c (cache_addgr): Likewise.
76114         * nscd/hstcache.c (cache_addhst): Likewise.
76115         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76116         * nscd/pwdcache.c (cache_addpw): Likewise.
76117         * nscd/servicescache.c (cache_addserv): Likewise.
76119 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76121         * malloc/malloc.c: Various cleanups.
76122         * malloc/hooks.c: Likewise.
76124         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76125         * stdlib/bug-fmtmsg1.c: New file.
76127         * stdlib/fmtmsg.c (init): Add missing unlock.
76128         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76130 2012-01-12  Marek Polacek  <polacek@redhat.com>
76132         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76133         and _GNU_SOURCE.
76135 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76137         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76138         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76139         macro to ensure uniqueness of label name.
76140         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76141         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76143 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76145         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76147         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76148         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76149         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76152 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76154         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76156         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76157         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76158         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76160         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76162         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76163         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76164         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76167         * math/bits/math-finite.h: Add ldexp support.
76169 2012-01-10  Marek Polacek  <polacek@redhat.com>
76171         * locale/programs/localedef.h (show_archive_content): Add noreturn
76172         attribute.
76174 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76176         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76178 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76180         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76182         * io/Makefile (headers): Add bits/poll2.h.
76184 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76187         typo #include statement.
76189 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76191         * include/sys/cdefs.h: Define __attribute_alloc_size.
76192         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76193         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76194         * elf/pldd.c: Likewise.
76195         * iconv/iconv_charmap.c: Likewise.
76196         * iconv/iconvconfig.c: Likewise.
76197         * iconv/strtab.c: Likewise.
76198         * locale/programs/locale.c: Likewise.
76199         * locale/programs/localedef.h: Likewise.
76200         * locale/programs/simple-hash.c: Likewise.
76201         * nscd/nscd.h: Likewise.
76202         * nss/makedb.c: Likewise.
76203         * sysdeps/generic/ldconfig.h: Likewise.
76204         * locale/programs/localedef.c: Remove xmalloc prototype.
76205         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76207 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76209         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76210         appropriate.
76212 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76214         * math/Makefile (tests): Add tst-CMPLX.
76215         * math/tst-CMPLX.c: New file.
76217         * math/complex.h (CMPLXL): Fix typo.
76219         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76220         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76221         GLIBC_2.16.
76222         * debug/tst-chk1.c: Add poll and ppoll tests.
76223         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76224         * include/sys/poll.h: Add hidden proto for ppoll.
76225         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76226         * sysdeps/mach/hurd/ppoll.c: Likewise.
76227         * io/ppoll.c: Likewise.
76228         * debug/poll_chk.c: New file.
76229         * debug/ppoll_chk.c: New file.
76230         * include/bits/poll2.h: New file.
76231         * io/bits/poll2.h: New file.
76233         [BZ #1350]
76234         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76236         * configure.in: static is always set to yes.  Remove.
76237         * config.make.in: Don't set build-static.
76238         * Makeconfig: Remove use of build-static.
76239         * dlfcn/Makefile: Likewise.
76240         * elf/Makefile: Likewise.
76241         * math/Makefile: Likewise.
76242         * misc/Makefile: Likewise.
76243         * nptl/Makefile: Likewise.
76244         * sysdeps/mach/hurd/Makefile: Likewise.
76246         * configure.in: PWD_P is not used anymore.
76247         * config.make.in: Remove PWD_P entry.
76249         * configure.in: Remove last remnants of RANLIB.
76250         No need to check for signed size_t anymore.
76251         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76252         and IA-64.
76253         Remove __builtin_expect test because we require at least gcc 3.4.
76254         * aclocal.m4: Likewise.
76256         * wcsmbs/mbrtoc16.c: Implement using towc function.
76257         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76258         * wcsmbs/wcsmbsload.c: Likewise.
76259         * iconv/gconv_simple.c: Likewise.
76260         * iconv/gconv_int.h: Likewise.
76261         * iconv/gconv_builtin.h: Likewise.
76262         * iconv/iconv_prog.c: Remove CHAR16 handling.
76264         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76266         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76268         * configure.in: Remove --with-elf and --enable-bounded options.
76269         Dont set base_machine for ia64.  More non-ELF conditions removed.
76270         Remove testing and setting of leading underscore information.
76271         * config.make.in (build-bounded): Set to no.
76272         * config.h.in: Remove NO_UNDERSCORES entry.
76273         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76274         them.
76275         * csu/start.c: Remove !NO_UNDERSCORE code.
76276         * locale/localeinfo.h: Likewise.
76277         * sysdeps/generic/machine-gmon.h: Likewise.
76278         * sysdeps/generic/sysdep.h: Likewise.
76279         * sysdeps/i386/sysdep.h: Likewise.
76280         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76281         * sysdeps/mach/sysdep.h: Likewise.
76282         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76283         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76284         * sysdeps/sh/sysdep.h: Likewise.
76285         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76286         * sysdeps/unix/i386/sysdep.S: Likewise.
76287         * sysdeps/unix/sparc/start.c: Likewise.
76288         * sysdeps/unix/sparc/sysdep.S: Likewise.
76289         * sysdeps/unix/sparc/sysdep.h: Likewise.
76290         * sysdeps/unix/start.c: Likewise.
76291         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76292         * sysdeps/x86_64/sysdep.h: Likewise.
76294 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76296         [BZ #13553]
76297         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76298         for non-gcc.
76299         * argp/argp-fmtstream.h: Use const instead __const.
76300         * argp/argp.h: Likewise.
76301         * assert/assert.h: Likewise.
76302         * bits/fenv.h: Likewise.
76303         * bits/sched.h: Likewise.
76304         * bits/sigset.h: Likewise.
76305         * bits/sigthread.h: Likewise.
76306         * catgets/nl_types.h: Likewise.
76307         * conform/data/pthread.h-data: Likewise.
76308         * crypt/crypt-private.h: Likewise.
76309         * crypt/crypt.h: Likewise.
76310         * crypt/crypt_util.c: Likewise.
76311         * ctype/ctype.h: Likewise.
76312         * debug/execinfo.h: Likewise.
76313         * debug/mbsnrtowcs_chk.c: Likewise.
76314         * debug/mbsrtowcs_chk.c: Likewise.
76315         * debug/wcsnrtombs_chk.c: Likewise.
76316         * debug/wcsrtombs_chk.c: Likewise.
76317         * debug/wcstombs_chk.c: Likewise.
76318         * dirent/dirent.h: Likewise.
76319         * dlfcn/dlfcn.h: Likewise.
76320         * elf/neededtest4.c: Likewise.
76321         * grp/grp.h: Likewise.
76322         * gshadow/gshadow.h: Likewise.
76323         * iconv/gconv.h: Likewise.
76324         * iconv/gconv_int.h: Likewise.
76325         * iconv/gconv_simple.c: Likewise.
76326         * iconv/iconv.h: Likewise.
76327         * iconv/loop.c: Likewise.
76328         * iconv/skeleton.c: Likewise.
76329         * include/aio.h: Likewise.
76330         * include/aliases.h: Likewise.
76331         * include/argz.h: Likewise.
76332         * include/arpa/inet.h: Likewise.
76333         * include/assert.h: Likewise.
76334         * include/dirent.h: Likewise.
76335         * include/dlfcn.h: Likewise.
76336         * include/execinfo.h: Likewise.
76337         * include/fcntl.h: Likewise.
76338         * include/fenv.h: Likewise.
76339         * include/glob.h: Likewise.
76340         * include/grp.h: Likewise.
76341         * include/libintl.h: Likewise.
76342         * include/mntent.h: Likewise.
76343         * include/netdb.h: Likewise.
76344         * include/pwd.h: Likewise.
76345         * include/rpc/netdb.h: Likewise.
76346         * include/sched.h: Likewise.
76347         * include/search.h: Likewise.
76348         * include/shadow.h: Likewise.
76349         * include/signal.h: Likewise.
76350         * include/stdio.h: Likewise.
76351         * include/stdlib.h: Likewise.
76352         * include/string.h: Likewise.
76353         * include/sys/socket.h: Likewise.
76354         * include/sys/stat.h: Likewise.
76355         * include/sys/statfs.h: Likewise.
76356         * include/sys/statvfs.h: Likewise.
76357         * include/sys/syslog.h: Likewise.
76358         * include/sys/time.h: Likewise.
76359         * include/sys/uio.h: Likewise.
76360         * include/time.h: Likewise.
76361         * include/unistd.h: Likewise.
76362         * include/utmp.h: Likewise.
76363         * include/wchar.h: Likewise.
76364         * include/wctype.h: Likewise.
76365         * inet/aliases.h: Likewise.
76366         * inet/arpa/inet.h: Likewise.
76367         * inet/netinet/ether.h: Likewise.
76368         * inet/netinet/in.h: Likewise.
76369         * intl/libintl.h: Likewise.
76370         * io/bits/fcntl2.h: Likewise.
76371         * io/fcntl.h: Likewise.
76372         * io/ftw.h: Likewise.
76373         * io/sys/poll.h: Likewise.
76374         * io/sys/stat.h: Likewise.
76375         * io/sys/statfs.h: Likewise.
76376         * io/sys/statvfs.h: Likewise.
76377         * io/utime.h: Likewise.
76378         * libio/bits/stdio.h: Likewise.
76379         * libio/bits/stdio2.h: Likewise.
76380         * libio/libio.h: Likewise.
76381         * libio/libioP.h: Likewise.
76382         * libio/stdio.h: Likewise.
76383         * locale/lc-ctype.c: Likewise.
76384         * locale/locale.h: Likewise.
76385         * login/utmp.h: Likewise.
76386         * malloc/arena.c: Likewise.
76387         * malloc/malloc.c: Likewise.
76388         * malloc/malloc.h: Likewise.
76389         * malloc/mcheck.c: Likewise.
76390         * malloc/mtrace.c: Likewise.
76391         * math/bits/mathcalls.h: Likewise.
76392         * math/fenv.h: Likewise.
76393         * math/math_private.h: Likewise.
76394         * misc/bits/error.h: Likewise.
76395         * misc/bits/syslog.h: Likewise.
76396         * misc/err.h: Likewise.
76397         * misc/error.h: Likewise.
76398         * misc/fstab.h: Likewise.
76399         * misc/mntent.h: Likewise.
76400         * misc/regexp.h: Likewise.
76401         * misc/search.h: Likewise.
76402         * misc/sgtty.h: Likewise.
76403         * misc/sys/mman.h: Likewise.
76404         * misc/sys/syslog.h: Likewise.
76405         * misc/sys/uio.h: Likewise.
76406         * misc/sys/xattr.h: Likewise.
76407         * misc/ttyent.h: Likewise.
76408         * nis/rpcsvc/ypclnt.h: Likewise.
76409         * nss/nss.h: Likewise.
76410         * posix/bits/unistd.h: Likewise.
76411         * posix/fnmatch.h: Likewise.
76412         * posix/glob.h: Likewise.
76413         * posix/sched.h: Likewise.
76414         * posix/spawn.h: Likewise.
76415         * posix/sys/wait.h: Likewise.
76416         * posix/unistd.h: Likewise.
76417         * posix/wordexp.h: Likewise.
76418         * pwd/pwd.h: Likewise.
76419         * resolv/netdb.h: Likewise.
76420         * resource/sys/resource.h: Likewise.
76421         * rt/aio.h: Likewise.
76422         * rt/bits/mqueue2.h: Likewise.
76423         * rt/mqueue.h: Likewise.
76424         * shadow/shadow.h: Likewise.
76425         * signal/signal.h: Likewise.
76426         * socket/send.c: Likewise.
76427         * socket/sendto.c: Likewise.
76428         * socket/sys/socket.h: Likewise.
76429         * stdio-common/printf.h: Likewise.
76430         * stdlib/bits/stdlib.h: Likewise.
76431         * stdlib/fmtmsg.h: Likewise.
76432         * stdlib/monetary.h: Likewise.
76433         * stdlib/stdlib.h: Likewise.
76434         * stdlib/ucontext.h: Likewise.
76435         * streams/stropts.h: Likewise.
76436         * string/argz.h: Likewise.
76437         * string/bits/string2.h: Likewise.
76438         * string/string.h: Likewise.
76439         * string/strings.h: Likewise.
76440         * sunrpc/rpc/auth.h: Likewise.
76441         * sunrpc/rpc/auth_des.h: Likewise.
76442         * sunrpc/rpc/clnt.h: Likewise.
76443         * sunrpc/rpc/netdb.h: Likewise.
76444         * sunrpc/rpc/pmap_clnt.h: Likewise.
76445         * sunrpc/rpc/xdr.h: Likewise.
76446         * sysdeps/generic/inttypes.h: Likewise.
76447         * sysdeps/generic/net/if.h: Likewise.
76448         * sysdeps/generic/sys/swap.h: Likewise.
76449         * sysdeps/gnu/net/if.h: Likewise.
76450         * sysdeps/gnu/utmpx.h: Likewise.
76451         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76452         * sysdeps/i386/i486/bits/string.h: Likewise.
76453         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76454         * sysdeps/s390/bits/string.h: Likewise.
76455         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76456         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76457         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76458         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76459         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76460         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76461         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76462         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76463         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76464         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76465         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76466         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76467         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76468         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76469         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76470         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76471         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76474         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76475         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76476         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76477         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76478         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76479         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76480         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76481         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76482         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76483         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76484         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76485         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76486         * sysvipc/sys/ipc.h: Likewise.
76487         * sysvipc/sys/msg.h: Likewise.
76488         * sysvipc/sys/sem.h: Likewise.
76489         * sysvipc/sys/shm.h: Likewise.
76490         * termios/termios.h: Likewise.
76491         * time/sys/time.h: Likewise.
76492         * time/time.h: Likewise.
76493         * wcsmbs/bits/wchar2.h: Likewise.
76494         * wcsmbs/uchar.h: Likewise.
76495         * wcsmbs/wchar.h: Likewise.
76496         * wctype/wctype.h: Likewise.
76498         [BZ #13551]
76499         * Makeconfig: Remove all but ELF support including AIX support.
76500         * Makerules: Likewise.
76501         * config.h.in: Likewise.
76502         * config.make.in: Likewise.
76503         * configure: Likewise.
76504         * configure.in: Likewise.
76505         * csu/Makefile: Likewise.
76506         * csu/version.c: Likewise.
76507         * debug/Makefile: Likewise.
76508         * dlfcn/Makefile: Likewise.
76509         * elf/Makefile: Likewise.
76510         * extra-lib.mk: Likewise.
76511         * iconv/Makefile: Likewise.
76512         * include/libc-symbols.h: Likewise.
76513         * include/shlib-compat.h: Likewise.
76514         * resolv/Makefile: Likewise.
76515         * resolv/res_libc.c: Likewise.
76516         * rt/Makefile: Likewise.
76517         * sysdeps/i386/asm-syntax.h: Likewise.
76518         * sysdeps/i386/sysdep.h: Likewise.
76519         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76520         * sysdeps/mach/sysdep.h: Likewise.
76521         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76522         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76523         * sysdeps/s390/asm-syntax.h: Likewise.
76524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76526         * sysdeps/sh/sysdep.h: Likewise.
76527         * sysdeps/unix/sparc/sysdep.h: Likewise.
76528         * sysdeps/wordsize-32/divdi3.c: Likewise.
76529         * sysdeps/x86_64/sysdep.h: Likewise.
76531         * argp/Versions: Remove _argp_unlock_xxx.
76533         [BZ #13559]
76534         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76535         * abilist/libBrokenLocale.abilist: Likewise.
76536         * abilist/libanl.abilist: Likewise.
76537         * abilist/libc.abilist: Likewise.
76538         * abilist/libcrypt.abilist: Likewise.
76539         * abilist/libdl.abilist: Likewise.
76540         * abilist/libm.abilist: Likewise.
76541         * abilist/libnsl.abilist: Likewise.
76542         * abilist/libpthread.abilist: Likewise.
76543         * abilist/libresolv.abilist: Likewise.
76544         * abilist/librt.abilist: Likewise.
76545         * abilist/libthread_db.abilist: Likewise.
76546         * abilist/libutil.abilist: Likewise.
76547         * abilist/libnss_db.abilist: New file.
76549         * scripts/abilist.awk: Add support for indirect functions.
76551         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76553         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76555         * shlib-versions: Remove entries for ports architectures.
76557         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76558         files in ports.
76559         * elf/stackguard-macros.h: Remove support for IA-64.
76560         * elf/tst-auditmod1.c: Likewise.
76561         * sysdeps/generic/ldsodefs.h: Likewise.
76563         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76564         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76565         configure files.
76567         [BZ #13552]
76568         * configure.in: Remove --enable-omitfp support.
76569         * FAQ.in: Adjust.
76570         * config.make.in: Likewise.
76571         * Makeconfig: Likewise.
76572         * manual/install.texi: Likewise.
76574         In case anyone cares, the IA-64 architecture could move to ports.
76575         * sysdeps/ia64/*: Removed.
76576         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76577         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76579         [BZ #13555]
76580         * configure.in: Remove entries for unsupported architectures.
76582         [BZ #13533]
76583         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76584         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76585         routines.
76586         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76587         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76588         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76589         fall back to using wcrtomb.
76590         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76591         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76592         renaming.
76593         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76594         * wcsmbs/tst-c16c32-1.c: New file.
76596         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76597         local variable.
76599         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76601         * elf/tst-unique3.cc: Add explicit declaration of gets.
76602         * elf/tst-unique3lib.cc: Likewise.
76603         * elf/tst-unique3lib2.cc: Likewise.
76604         * elf/tst-unique4.cc: Likewise.
76606         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76608 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76610         [BZ #13566]
76611         * assert/assert.h (static_assert): Don't define for C++.
76612         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76613         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76615 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76617         * iconv/loop.c (single loop): Fix assertion in storing of
76618         remaining bytes.
76620         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76622 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76624         * posix/getconf.c: Update copyright year.
76625         * nss/getent.c: Likewise.
76626         * nss/makedb.c: Likewise.
76627         * iconv/iconvconfig.c: Likewise.
76628         * iconv/iconv_prog.c: Likewise.
76629         * elf/ldconfig.c: Likewise.
76630         * elf/pldd.c: Likewise.
76631         * elf/sotruss.ksh: Likewise.
76632         * catgets/gencat.c: Likewise.
76633         * csu/version.c: Likewise.
76634         * elf/ldd.bash.in: Likewise.
76635         * elf/sprof.c (print_version): Likewise.
76636         * locale/programs/locale.c: Likewise.
76637         * locale/programs/localedef.c: Likewise.
76638         * login/programs/pt_chown.c: Likewise.
76639         * nscd/nscd.c (print_version): Likewise.
76640         * debug/xtrace.sh: Likewise.
76641         * malloc/memusage.sh: Likewise.
76642         * malloc/mtrace.pl: Likewise.
76643         * debug/catchsegv.sh: Likewise.
76645 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76647         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76648         pure attribute.
76650 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76652         [BZ #13533]
76653         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76654         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76655         transformations.
76656         * iconv/gconv_int.h: Likewise.
76657         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76658         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76659         from libc for GLIBC_2.16.
76660         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76661         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76662         * wcsmbs/uchar.h: Really define mbstate_t.
76663         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76664         * wcsmbs/c16rtomb.c: New file.
76665         * wcsmbs/mbrtoc16.c: New file.
76666         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76667         for C/POSIX locale.
76668         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76669         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76671         * wcsmbs/wchar.h: Add missing __restrict.
76673 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76675         [BZ #13532]
76676         * time/Makefile (routines): Add timespec_get.
76677         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76678         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76679         timespec for ISO C11.
76680         * time/timespec_get.c: New file.
76681         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76682         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76684         [BZ #13531]
76685         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76686         * stdlib/stdlib.h: Declare aligned_alloc.
76687         * Versions.def: Add GLIBC_2.16 for libc.
76688         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76690         [BZ 13527]
76691         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76692         ISO C11.
76694         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76695         code.
76697         [BZ #13528]
76698         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76700         [BZ #13529]
76701         * assert/assert.h (static_assert): Define.
76703         * version.h: Update for 2.16 development version.
76705         [BZ #13526]
76706         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76707         _ISOC11_SOURCE.
76709         * version.h (RELEASE): Bump for 2.15 release.
76710         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76712         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76713         Patch by Marek Polacek <mpolacek@redhat.com>.
76715         * bits/byteswap.h: Protect long long constants with __extension__.
76716         * sysdeps/i386/bits/byteswap.h: Likewise.
76717         * sysdeps/ia64/bits/byteswap.h: Likewise.
76718         * sysdeps/s390/bits/byteswap.h: Likewise.
76719         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76721 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76723         [BZ #13540]
76724         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76725         destination buffer.
76726         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76728 2011-12-23  Marek Polacek  <polacek@redhat.com>
76730         * elf/dl-addr.c (determine_info): Add inline keyword.
76731         * elf/tst-auditmod4b.c (check_avx): Likewise.
76732         * elf/tst-auditmod6b.c (check_avx): Likewise.
76733         * elf/tst-auditmod6c.c (check_avx): Likewise.
76734         * elf/tst-auditmod7b.c (check_avx): Likewise.
76736 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76738         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76739         !__SSE_MATH__.
76741 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76743         [BZ #13540]
76744         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76745         processing for last bytes.
76747 2011-08-06  Bruno Haible  <bruno@clisp.org>
76749         [BZ #13061]
76750         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76751         U+0385, not to U+1FEE.
76753         [BZ #13062]
76754         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76755         entry for U+00A5 U+0301.
76757 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76759         [BZ #13166]
76760         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76761         buffer for the output is too small.
76763         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76764         optimization.
76766         [BZ #13185]
76767         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76768         SSE flags if possible.
76770 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76772         [BZ #13540]
76773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76774         processing for last bytes.
76776 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76778         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76779         (syscall-list-default-options, syscall-list-default-condition)
76780         (syscall-list-includes): Define.
76781         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76782         list of ABIs and options and #if conditions for each ABI.  Do not
76783         handle common syscalls between ABIs specially.
76784         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76785         Remove.
76786         (syscall-list-variants, syscall-list-32bit-options)
76787         (syscall-list-32bit-condition, syscall-list-64bit-options)
76788         (syscall-list-64bit-condition): Define.
76789         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76790         (syscall-list-variants, syscall-list-32bit-options)
76791         (syscall-list-32bit-condition, syscall-list-64bit-options)
76792         (syscall-list-64bit-condition): Define.
76793         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76794         Remove.
76795         (syscall-list-variants, syscall-list-32bit-options)
76796         (syscall-list-32bit-condition, syscall-list-64bit-options)
76797         (syscall-list-64bit-condition): Define.
76798         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76799         Remove.
76800         (syscall-list-variants, syscall-list-32bit-options)
76801         (syscall-list-32bit-condition, syscall-list-64bit-options)
76802         (syscall-list-64bit-condition): Define.
76804 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76806         * locale/iso-639.def: Add brx entry.
76808         [BZ #13328]
76809         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76810         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76812         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76813         __feraiseexcept_renamed.
76815 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76817         [BZ #13538]
76818         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76819         EPOLLET with unsigned values.
76820         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76821         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76823         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76824         to large cancellation.
76825         * math/s_cacoshf.c: Likewise.
76826         * math/s_cacoshl.c: Likewise.
76828 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76830         [BZ #13305]
76831         [BZ #12786]
76832         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76833         * math/s_cacoshf.c: Likewise.
76834         * math/s_cacoshl.c: Likewise.
76836 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76838         [BZ #13439]
76839         * iconv/gconv.h: Define __GCONV_SWAP.
76840         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76841         * iconvdata/utf-16.c: Likewise.
76842         * iconvdata/utf-32.c: Likewise.
76844 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76846         [BZ #13524]
76847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76848         numerator after shifting it by one limb.
76850 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76852         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76853         under [__USE_EXTERN_INLINES].
76855 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76857         [BZ #13446]
76858         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76860 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76862         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76863         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76864         optimized code.
76865         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76866         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76867         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76868         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76869         for strncasecmp/strncasecmp_l compilation.
76870         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76871         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76873 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76875         [BZ #13484]
76876         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76877         of __asm__.
76879 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76881         [BZ #13506]
76882         * time/tzfile.c (__tzfile_read): Check values from file header.
76884 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76886         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76887         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76888         * powerpc/powerpc32/dl-start.S: Likewise.
76889         * powerpc/powerpc32/elf/start.S: Likewise.
76890         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76891         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76892         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76893         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76894         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76895         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76896         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76897         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76898         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76899         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76900         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76901         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76902         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76903         * powerpc/powerpc32/memset.S: Likewise.
76904         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76905         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76906         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76907         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76908         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76909         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76910         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76911         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76912         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76913         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76914         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76915         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76916         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76918 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76920         * math/libm-test.inc: Added more nearbyint tests.
76921         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76922         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76923         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76926 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76928         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76929         FD_CLOEXEC.
76931 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76933         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76934         Add wcscpy-ssse3 wcscpy-c.
76935         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76936         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76937         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76938         * sysdeps/x86_64/wcschr.S: New file.
76939         * sysdeps/x86_64/wcsrchr.S: New file.
76940         * string/test-strcmp.c: Remove checking of wcscmp function for
76941         wrong alignments.
76942         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76943         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76944         wcsrchr-sse2 wcsrchr-c.
76945         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76946         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76947         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76948         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76949         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76950         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76951         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76952         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76953         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76954         * wcsmbc/wcschr.c (WCSCHR): New macro.
76956 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76958         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76959         * wcsmbs/test-wcsrchr.c: New file.
76960         * string/test-strrchr.c: Add wcsrchr support.
76961         (WIDE): New macro.
76962         * wcsmbs/test-wcscpy.c: New file.
76963         * string/test-strcpy.c: Add wcscpy support.
76964         (WIDE): New macro.
76966 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76968         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76969         the inner loop.
76971 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76973         [BZ #13472]
76974         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76976 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76978         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76979         Minor optimizations.
76981         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76982         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76983         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76985 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76987         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76988         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76989         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76990         for gcc to avoid warnings.
76991         * inet/Makefile (tests): Add tst-checks.
76992         * inet/tst-checks.c: New file.
76994         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76995         warning.
76997         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76998         __wmemcmp_sse2.
77000         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77001         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77003         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77005 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77007         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77008         problem.
77010         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77012 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77014         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77015         conditional on GCC version.
77016         (__arch_compare_and_exchange_val_8_acq)
77017         (__arch_compare_and_exchange_val_16_acq)
77018         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77019         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77020         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77022 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77024         * sysdeps/sh/backtrace.c: New file.
77026 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77028         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77029         parenthesis.
77031 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77033         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77034         falling back to utime.
77036 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77038         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77039         expectations for float.
77041 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77043         * locale/weight.h (findidx): Add parameter len.
77044         * locale/weightwc.h (findidx): Likewise.
77045         * posix/fnmatch_loop.c (FCT): Adjust caller.
77046         * posix/regcomp.c (build_equiv_class): Likewise.
77047         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77048         * posix/regexec.c (check_node_accept_bytes): Likewise.
77049         * string/strcoll_l.c (STRCOLL): Likewise.
77050         * string/strxfrm_l.c (STRXFRM): Likewise.
77052 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77054         * Makefile.in: Remove CVSOPT handling.
77055         * configure.in: Remove use of AC_REVISION.
77056         * iconvdata/Makefile (distribute): No need to filter out CVS.
77057         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77058         handling.
77060 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77063         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77064         [USE_AS_STRNCASECMP_L]: Likewise.
77065         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77066         NO_TLS_DIRECT_SEG_REFS.
77067         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77068         Fix argument offsets for non-PIC.
77069         [USE_AS_STRNCASECMP_L]: Likewise.
77070         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77071         NO_TLS_DIRECT_SEG_REFS.
77073 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77075         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77076         O_CLOEXEC.
77077         * locale/loadlocale.c (_nl_load_locale): Likewise.
77079 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77081         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77082         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77083         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77084         (SYSCALL_GETTIME): Set errno on error.
77086         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77087         count references to noai6ai_cached.
77089 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77091         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77093         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77094         FD_CLOEXEC for /proc/self/maps.
77096         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77097         FD_CLOEXEC for /proc/meminfo.
77099         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77100         gai.conf.
77102         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77103         FD_CLOEXEC for given file.
77105         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77107         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77108         FD_CLOEXEC for /etc/hosts.
77109         (_gethtent): Likewise.
77111         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77113         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77114         cancellation and set FD_CLOEXEC for /etc/netgroup.
77116         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77117         reading /etc/publickey.
77119         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77120         allow cancellation when reading /etc/group.
77122         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77123         cancellation.
77124         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77126         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77127         when using data file.
77129         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77131         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77132         (write_nis_obj): Use "c" and "e" in fopen.
77134         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77136         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77138         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77140         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77142         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77143         locale.alias.
77145         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77147         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77149         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77151         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77152         file parsing and set FD_CLOEXEC.
77154 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77156         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77158 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77160         * malloc/arena.c (arena_get2): Don't call reused_arena when
77161         _int_new_arena failed.
77163 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77165         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77166         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77167         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77169         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77170         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77171         to compile strcasecmp and strncasecmp.
77172         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77173         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77177 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77179         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77180         locale-defines.sym to gen-as-const-headers.
77181         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77182         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77183         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77184         to compile strcasecmp and strncasecmp.
77185         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77186         strcasecmp_l and strncasecmp_l.
77187         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77188         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77189         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77190         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77191         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77192         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77193         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77194         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77195         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77196         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77197         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77199 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77201         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77202         result of SYSDEP_GETTIME_CPU to retval.
77203         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77204         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77206         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77207         variable.
77209         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77210         mantissa words.
77211         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77213         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77214         from unused variable.
77216         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77217         DWARF definitions.
77218         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77219         for assembling.
77221         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77222         over namespaces.
77224         * sunrpc/rpc_prot.c (rejected): Fix case value.
77226         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77227         unsigned long long int to avoid warnings in shift.
77229         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77230         of use of trans.
77231         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77232         variable tmp.
77234         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77235         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77236         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77238         * nis/nis_table.c (nis_list): Use variable of correct type for
77239         result of __follow_path call.
77241 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77243         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77244         of math functions ceil, trunc, floor, round, and sqrt, when
77245         avaliable on the platform.
77246         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77247         name clash.
77248         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77249         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77250         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77252 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77254         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77255         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77257 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77259         * include/unistd.h: Fix __readlink return type.
77260         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77262 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77264         * stdlib/ucontext.h: Undo last change for makecontext.
77266 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77268         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77270         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77271         * setjmp/setjmp.h: Mark functions as non-leaf.
77272         * setjmp/bits/setjmp2.h: Likewise.
77273         * stdlib/ucontext.h: Likewise.
77275 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77277         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77278         (reused_arena): Don't check arena limit.
77279         (arena_get2): Atomically check arena limit.
77281 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77283         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77284         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77286         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77287         instructions.
77289 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77291         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77292         handler when locking.
77294         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77295         Fix size of allocated buffer.
77297 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77299         [BZ #10103]
77300         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77301         declarations for long double functions.
77302         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77304         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77306 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77308         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77309         installed.
77311         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77312         is disabled.
77314 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77316         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77318 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77320         * include/alloca.h (stackinfo_alloca_round): Define.
77321         (extend_alloca): Use it.
77322         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77323         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77324         here.
77326         * scripts/check-local-headers.sh: Ignore libaudit.h.
77328         * nscd/Makefile (extra-objs): Make recursively expanded.
77330 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77332         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77333         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77335         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77336         * posix/tst-rfc3484-2.c: Likewise.
77337         * posix/tst-rfc3484-3.c: Likewise.
77339         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77340         process_vm_writev.
77341         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77342         process_vm_writev.
77343         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77344         process_vm_writev from libc using GLIBC_2.15 version.
77346         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77348 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77350         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77351         stack usage.
77353 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77355         [BZ #13367]
77356         * nss/getent.c (initgroups_keys): Show error message in case no group
77357         names are given.
77359         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77360         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77361         __bump_nl_timestamp.
77362         * nscd/connections (nscd_init): When host database is served open
77363         netlink socket and request notification about configuration changes.
77364         (main_loop_poll): Track netlink file descriptor and bump timestamp
77365         in case data becomes available.
77366         (main_loop_epoll): Likewise.
77367         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77368         (database_pers_head): Add extra_data fileds.
77369         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77370         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77371         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77372         Adjust caller.
77373         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77374         in6ai data, call __free_in6ai.
77375         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77376         Add -DHAVE_NETLINK.
77377         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77378         interface information.  Reuse previous data if netlink timestamp
77379         is not changed.
77380         (__bump_nl_timestamp): New function.
77381         (__free_in6ai): New function.
77383 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77385         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77386         close_not_cancel_no_status here.
77387         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77389 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77391         [BZ #13276]
77392         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77393         return value.
77395         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77396         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77397         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77399 2011-07-03  Andreas Jaeger  <aj@suse.de>
77401         [BZ #10709]
77402         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77403         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77404         * math/libm-test.inc (sin_test): Add test case.
77406 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77408         [BZ #13337]
77409         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77410         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77412         * elf/chroot_canon.c (chroot_canon): Cleanups.
77414         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77416         [BZ #13335]
77417         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77418         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77420         * string/test-strchr.c: Make usable for strchrnul testing.
77421         * string/test-strchrnul.c: New file.
77422         * string/Makefile (strop-tests): Add strchrnul.
77424         * po/it.po: Update from translation team.
77425         * po/es.po: Likewise.
77427 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77430         the three constants needed as parameters.  Drop the others.
77431         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77432         __m128i_strloadu_tolower.
77433         Create and initialize variable zero and use it in all the places
77434         where _mm_setzero_si128 was used.
77436         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77437         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77438         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77439         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77440         anymore.
77441         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77442         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77443         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77444         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77445         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77446         __mpranred, __mptan.
77447         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77448         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77449         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77450         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77451         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77452         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77454         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77455         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77457 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77459         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77460         redefine if SHARED.
77461         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77464         wide char related routines to wcsmbs subdir.
77466 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77468         [BZ #13344]
77469         * misc/sys/cdefs.h (__THROWNL): Define.
77470         * posix/unistd.h: Use __THREADNL instead of __THREAD
77471         for memory synchronization functions.
77473 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77475         [BZ #13349]
77476         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77477         doesn't exist.
77478         * manual/stdio.texi (Obstack Streams): Node removed.
77480 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77482         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77483         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77484         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77486         * math/math_private.h (math_force_eval): Allow non-addressable
77487         arguments.
77488         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77490 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77492         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77493         file is not needed.
77495         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77497         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77498         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77499         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77500         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77501         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77502         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77503         Add AVX variants.
77504         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77505         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77506         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77507         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77508         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77509         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77510         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77511         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77512         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77513         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77514         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77515         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77516         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77517         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77518         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77519         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77520         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77521         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77522         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77524         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77525         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77527         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77528         place.  Use VEX encoding when compiling for AVX.
77530 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77532         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77533         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77535         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77537 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77539         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77540         useless if() expression.
77541         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77542         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77543         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77544         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77545         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77546         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77547         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77548         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77549         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77550         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77551         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77552         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77553         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77554         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77555         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77556         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77557         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77558         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77559         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77561         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77563 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77565         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77566         condition.
77567         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77569 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77571         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77572         .text section.  Avoid duplicate constants.
77573         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77575         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77577         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77581         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77582         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77583         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77584         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77585         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77586         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77587         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77588         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77589         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77590         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77591         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77596         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77597         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77598         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77599         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77600         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77601         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77602         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77603         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77604         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77605         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77606         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77607         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77608         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77609         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77610         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77611         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77612         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77613         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77614         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77615         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77616         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77617         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77619 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77621         * sysdeps/x86_64/dla.h: Move to ...
77622         * sysdeps/x86_64/fpu/dla.h: ...here.
77623         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77624         situations.  Use __builtin_fma only for gcc 4.6 and up.
77626         * config.make.in: Add have-mfma4 entry.
77627         * configure.in: Substitute libc_cv_cc_fma4.
77628         * math/Makefile (dbl-only-routines): Add sincostab.
77629         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77630         Use __sincostab not sincos.
77631         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77632         name is a macro.
77633         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77634         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77637         using __copysign.
77638         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77639         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77640         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77641         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77642         and __inv.
77643         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77644         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77645         __copysign.
77646         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77647         define aliases when function name is a macro.
77648         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77649         sysdeps/ieee754/dbl-64/sincos.tbl.
77650         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77651         fma4-enabled routines.
77652         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77653         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77654         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77655         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77656         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77657         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77658         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77659         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77660         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77661         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77662         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77663         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77664         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77665         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77666         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77667         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77668         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77669         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77670         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77671         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77672         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77673         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77675         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77676         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77677         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77679         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77680         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77681         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77683         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77684         rename.
77685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77692         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77694 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77696         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77698 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77700         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77702         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77703         prediction.
77704         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77706         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77707         Remove unused variable magic_bits.
77708         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77710         * string/strnlen.c: Define and use STRNLEN macro.
77711         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77712         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77713         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77714         * wcsmbs/wcslen.c: Define and use WCSLEN.
77715         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77716         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77717         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77718         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77719         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77720         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77721         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77723 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77726         strnlen-sse2-no-bsf.
77727         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77729         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77730         Add strnlen support.
77731         (USE_AS_STRNLEN): New macro.
77732         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77733         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77734         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77735         * sysdeps/x86_64/wcslen.S: New file.
77737 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77739         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77740         XMM-moves are used for copying on small sizes.
77742 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77744         * wcsmbs/Makefile (strop-tests): Add wcschr.
77745         * wcsmbs/test-wcschr.c: New file.
77746         * string/test-strchr.c: Update.
77747         Add wcschr support.
77748         (WIDE): New macro.
77750 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77752         * wcsmbs/Makefile (strop-tests): Add wcslen.
77753         * wcsmbs/test-wcslen.c: New file.
77754         * string/test-strlen.c: Update.
77755         Add wcslen support.
77756         (WIDE): New macro.
77758 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77760         * po/it.po: Update from translation team.
77762 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77764         * sysdeps/x86_64/wcscmp.S: Update.
77765         Fix wrong comparison semantics.
77766         wcscmp shall use signed comparison not unsigned.
77767         Don't use substraction to avoid overflow bug.
77768         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77769         * wcsmbc/wcscmp.c: Likewise.
77770         * string/test-strcmp.c: Likewise.
77771         Add new tests to check cases with negative values.
77773 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77775         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77776         * sysdeps/x86_64/dla.h: ...here.  New file.
77777         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77782         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77783         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77784         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77785         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77787 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77789         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77790         __ynl_finite aliases.
77792 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77796         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77797         define DLA_FMA.
77798         [DLA_FMA] (EMULV): Use DLA_FMA.
77799         [DLA_FMA] (MUL12): Use EMULV.
77800         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77801         that are not needed.
77802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77806         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77807         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77808         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77810 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77812         * math/s_nan.c: Undef __nan.
77813         * math/s_nanf.c: Undef __nanf.
77814         * math/s_nanl.c: Undef __nanl.
77815         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77816         "math_private.h".
77818 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77820         * math/s_catan.c: Add branch predictions.
77821         * math/s_catanf.c: Likewise.
77822         * math/s_catanh.c: Likewise.
77823         * math/s_catanhf.c: Likewise.
77824         * math/s_catanhl.c: Likewise.
77825         * math/s_catanl.c: Likewise.
77826         * math/s_cexp.c: Likewise.
77827         * math/s_cexpf.c: Likewise.
77828         * math/s_cexpl.c: Likewise.
77829         * math/s_clog.c: Likewise.
77830         * math/s_clog10.c: Likewise.
77831         * math/s_clog10f.c: Likewise.
77832         * math/s_clog10l.c: Likewise.
77833         * math/s_clogf.c: Likewise.
77834         * math/s_clogl.c: Likewise.
77835         * math/s_csqrt.c: Likewise.
77836         * math/s_csqrtf.c: Likewise.
77837         * math/s_csqrtl.c: Likewise.
77838         * math/s_ctanf.c: Likewise.
77839         * math/s_ctanh.c: Likewise.
77840         * math/s_ctanhf.c: Likewise.
77841         * math/s_ctanhl.c: Likewise.
77842         * math/s_ctanl.c: Likewise.
77844         * math/math_private.h: Define __nan, __nanf, __nanl.
77845         * math/s_cacosh.c: Include <math_private.h>.
77846         * math/s_cacoshl.c: Likewise.
77847         * math/s_casinh.c: Likewise.
77848         * math/s_casinhf.c: Likewise.
77849         * math/s_casinhl.c: Likewise.
77850         * math/s_ccos.c: Rely entire on ccosh.
77851         * math/s_ccosf.c: Rely entire on ccoshf.
77852         * math/s_ccosl.c: Rely entirely on ccoshl.
77853         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77854         Remove tests for FE_INVALID.
77855         * math/s_ccoshf.c: Likewise.
77856         * math/s_ccoshl.c: Likewise.
77857         * math/s_csin.c: Likewise.
77858         * math/s_csinf.c: Likewise.
77859         * math/s_csinh.c Likewise.
77860         * math/s_csinhf.c: Likewise.
77861         * math/s_csinhl.c: Likewise.
77862         * math/s_csinl.c: Likewise.
77863         * math/s_ctan.c: Likewise.
77864         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77865         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77866         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77868 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77871         compilation problems.
77873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77874         __builtin_expect.
77876 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77878         * sysdeps/i386/configure.in: Test for -mfma4 option.
77879         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77880         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77881         COMMON_CPUID_INDEX_80000001.
77882         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77883         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77884         use it if FMA3 is not supported.
77885         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77887         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77888         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77890 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77892         [BZ #12892]
77893         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77894         it would create a cycle with a link time dependency.
77896 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77898         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77899         instruction.
77900         * string/Makefile (strop-tests): Add rawmemchr.
77901         * string/test-rawmemchr.c: New file.
77903         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77905         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77906         when compiling str{,n}casecmp and when AVX is available.  Hook up
77907         new optimized code in initializers.
77909 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77911         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77912         __feraiseexcept instead of feraiseexcept.
77914 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77916         * math/math_private.h: Define defaults for libc_fetestexcept and
77917         libc_feupdateenv.
77918         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77919         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77920         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77921         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77922         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77923         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77924         libc_fetestexcept and libc_feupdateenv.
77926         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77927         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77928         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77929         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77930         libc_feholdexcept_setround.
77932         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77933         Add s_nearbyint-c and s_nearbyintf-c.
77934         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77935         nearbyintf inlines.
77936         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77937         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77938         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77939         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77941         * math/math_private.h: Define defaults for libc_fegetround,
77942         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77943         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77944         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77945         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77946         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77947         standard functions.
77948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77949         Remove comments and hacks for old compiler versions.
77950         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77951         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77952         libc_feholdexceptl.
77954 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77956         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77957         (__feraiseexcept_renamed): Add __NTH.
77958         (feraiseexcept): Add __NTH.  Rename local variables to fix
77959         namespace violations.
77961 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77963         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77965         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77967         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77968         recently added interfaces.
77969         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77971         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77972         about macro parameter expansion.
77974         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77975         __NO_MATH_INLINES is defined.  Cleanups.
77977         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77978         and __floorf is target has SSE4.1.
77979         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77980         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77981         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77982         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77984         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77985         name.
77986         (floorf): Likewise.
77988         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77990 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77992         * misc/sys/cdefs.h: Fix last change.
77994         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77995         database lookup.
77997 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77999         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78001         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78002         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78003         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78004         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78006         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78007         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78008         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78009         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78010         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78011         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78012         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78013         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78014         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78015         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78016         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78017         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78018         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78019         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78020         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78021         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78022         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78024         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78025         ceil, ceilf, floor, floorf.
78027         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78028         Perform IRELATIVE relocations last.
78030         * elf/do-rel.h: Add another parameter nrelative, replacing the
78031         local variable with the same name.  Change name of the function
78032         to end in Rel or Rela (uppercase).
78033         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78034         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78035         elf_dynamic_do_##reloc function.
78037 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78039         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78040         is sufficient, at least on modern CPUs.
78042         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78044         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78045         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78047         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78048         __expl_finite.
78049         * math/bits/math-finite.h: Add entries for exp.
78050         * math/e_expl.c: Add __*_finite alias.
78051         * sysdeps/i386/fpu/e_exp.S: Likewise.
78052         * sysdeps/i386/fpu/e_expf.S: Likewise.
78053         * sysdeps/i386/fpu/e_expl.c: Likewise.
78054         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78055         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78058         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78059         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78060         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78062         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78063         is sufficient, at least on modern CPUs.
78065         * ctype/ctype-info.c (__ctype_init): Define.
78066         * include/ctype.h (__ctype_init): Declare.
78067         (__ctype_b_loc): The variable is always initialized.
78068         (__ctype_toupper_loc): Likewise.
78069         (__ctype_tolower_loc): Likewise.
78070         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78071         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78073 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78075         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78077         * configure.in: Also look in $cxxmachine/include for C++ system
78078         headers.
78080 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78082         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78083         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78084         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78085         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78086         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78087         (USE_AS_WMEMCMP): New macro.
78088         Fixing indents.
78089         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78090         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78091         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78092         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78094         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78095         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78096         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78097         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78098         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78099         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78100         (USE_AS_WMEMCMP): New macro.
78101         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78102         * sysdeps/string/test-memcmp.c: Update.
78103         Fix simple_wmemcmp.
78104         Add new tests.
78105         * wcsmbs/wmemcmp.c: Update.
78106         (WMEMCMP): New macro.
78107         Fix overflow bug.
78109 2011-10-12  Andreas Jaeger  <aj@suse.de>
78111         [BZ #13268]
78112         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78114 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78116         * libio/iofwide.c (do_length): Avoid warning.
78118         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78120 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78122         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78124         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78125         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78126         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78127         * sysdeps/i386/i686/fpu/e_log.S: New file.
78128         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78129         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78131         * ctype/ctype.h: Add support for inlined isXXX functions when
78132         compiling C++ code.
78134 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78136         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78138         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78140 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78142         [BZ #13291]
78143         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78145 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78147         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78148         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78149         feraiseexcept.
78151         * sysdeps/x86_64/memrchr.S: Check for zero size.
78153         * string/stratcliff.c: Add memrchr tests.
78155 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78157         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78158         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78159         rawmemchr-sse2 rawmemchr-sse2-bsf.
78160         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78161         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78162         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78163         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78164         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78165         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78166         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78167         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78168         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78169         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78170         * string/memrchr.c (MEMRCHR): New macro.
78172 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78174         Add integration with gcc's -ffinite-math-only and optimize wrapper
78175         functions in libm.
78176         * Versions.def: Define GLIBC_2.15 version for libm.
78177         * math/Makefile (headers): Add bits/math-finite.h.
78178         * math/bits/math-finite.h: New file.
78179         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78180         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78181         * math/e_acoshl.c: Add __*_finite alias.
78182         * math/e_acosl.c: Likewise.
78183         * math/e_asinl.c: Likewise.
78184         * math/e_atan2l.c: Likewise.
78185         * math/e_atanhl.c: Likewise.
78186         * math/e_coshl.c: Likewise.
78187         * math/e_exp10.c: Likewise.
78188         * math/e_exp10f.c: Likewise.
78189         * math/e_exp10l.c: Likewise.
78190         * math/e_exp2l.c: Likewise.
78191         * math/e_fmodl.c: Likewise.
78192         * math/e_gammal_r.c: Likewise.
78193         * math/e_hypotl.c: Likewise.
78194         * math/e_j0l.c: Likewise.
78195         * math/e_j1l.c: Likewise.
78196         * math/e_jnl.c: Likewise.
78197         * math/e_lgammal_r.c: Likewise.
78198         * math/e_log10l.c: Likewise.
78199         * math/e_log2l.c: Likewise.
78200         * math/e_logl.c: Likewise.
78201         * math/e_powl.c: Likewise.
78202         * math/e_sinhl.c: Likewise.
78203         * math/e_sqrtl.c: Likewise.
78204         * math/e_scalb.c: Completely rewritten and optimized.
78205         * math/e_scalbf.c: Likewise.
78206         * math/e_scalbl.c: Likewise.
78207         * math/w_acos.c: Likewise.
78208         * math/w_acosf.c: Likewise.
78209         * math/w_acosl.c: Likewise.
78210         * math/w_acosh.c: Likewise.
78211         * math/w_acoshf.c: Likewise.
78212         * math/w_acoshl.c: Likewise.
78213         * math/w_asin.c: Likewise.
78214         * math/w_asinf.c: Likewise.
78215         * math/w_asinl.c: Likewise.
78216         * math/w_atan2.c: Likewise.
78217         * math/w_atan2f.c: Likewise.
78218         * math/w_atan2l.c: Likewise.
78219         * math/w_atanh.c: Likewise.
78220         * math/w_atanhf.c: Likewise.
78221         * math/w_atanhl.c: Likewise.
78222         * math/w_exp10.c: Likewise.
78223         * math/w_exp10f.c: Likewise.
78224         * math/w_exp10l.c: Likewise.
78225         * math/w_fmod.c: Likewise.
78226         * math/w_fmodf.c: Likewise.
78227         * math/w_fmodl.c: Likewise.
78228         * math/w_j0.c: Likewise.
78229         * math/w_j0f.c: Likewise.
78230         * math/w_j0l.c: Likewise.
78231         * math/w_j1.c: Likewise.
78232         * math/w_j1f.c: Likewise.
78233         * math/w_j1l.c: Likewise.
78234         * math/w_jn.c: Likewise.
78235         * math/w_jnf.c: Likewise.
78236         * math/w_log.c: Likewise.
78237         * math/w_logf.c: Likewise.
78238         * math/w_logl.c: Likewise.
78239         * math/w_log10.c: Likewise.
78240         * math/w_log10f.c: Likewise.
78241         * math/w_log10l.c: Likewise.
78242         * math/w_log2.c: Likewise.
78243         * math/w_log2f.c: Likewise.
78244         * math/w_log2l.c: Likewise.
78245         * math/w_pow.c: Likewise.
78246         * math/w_powf.c: Likewise.
78247         * math/w_powl.c: Likewise.
78248         * math/w_remainder.c: Likewise.
78249         * math/w_remainderf.c: Likewise.
78250         * math/w_remainderl.c: Likewise.
78251         * math/w_scalb.c: Likewise.
78252         * math/w_scalbf.c: Likewise.
78253         * math/w_scalbl.c: Likewise.
78254         * math/w_sqrt.c: Likewise.
78255         * math/w_sqrtf.c: Likewise.
78256         * math/w_sqrtl.c: Likewise.
78257         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78258         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78259         used.
78260         * math/math_private.h: Declare __kernel_standard_f.
78261         * math/w_cosh.c: Remove cruft and optimize a bit.
78262         * math/w_coshf.c: Likewise.
78263         * math/w_coshl.c: Likewise.
78264         * math/w_exp2.c: Likewise.
78265         * math/w_exp2f.c: Likewise.
78266         * math/w_exp2l.c: Likewise.
78267         * math/w_hypot.c: Likewise.
78268         * math/w_hypotf.c: Likewise.
78269         * math/w_hypotl.c: Likewise.
78270         * math/w_lgamma.c: Likewise.
78271         * math/w_lgamma_r.c: Likewise.
78272         * math/w_lgammaf.c: Likewise.
78273         * math/w_lgammaf_r.c: Likewise.
78274         * math/w_lgammal.c: Likewise.
78275         * math/w_lgammal_r.c: Likewise.
78276         * math/w_sinh.c: Likewise.
78277         * math/w_sinhf.c: Likewise.
78278         * math/w_sinhl.c: Likewise.
78279         * math/w_tgamma.c: Likewise.
78280         * math/w_tgammaf.c: Likewise.
78281         * math/w_tgammal.c: Likewise.
78282         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78283         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78284         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78285         Minor optimizations.  Pretty printing.  Remove cruft.
78286         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78287         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78288         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78289         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78290         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78291         * sysdeps/i386/fpu/e_asin.S: Likewise.
78292         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78293         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78294         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78295         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78296         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78297         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78298         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78299         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78300         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78301         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78302         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78303         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78304         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78305         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78306         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78307         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78308         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78309         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78310         * sysdeps/i386/fpu/e_log.S: Likewise.
78311         * sysdeps/i386/fpu/e_log10.S: Likewise.
78312         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78314         * sysdeps/i386/fpu/e_log2.S: Likewise.
78315         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78316         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78317         * sysdeps/i386/fpu/e_logf.S: Likewise.
78318         * sysdeps/i386/fpu/e_logl.S: Likewise.
78319         * sysdeps/i386/fpu/e_pow.S: Likewise.
78320         * sysdeps/i386/fpu/e_powf.S: Likewise.
78321         * sysdeps/i386/fpu/e_powl.S: Likewise.
78322         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78323         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78324         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78325         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78326         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78327         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78328         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78329         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78330         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78331         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78332         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78334         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78335         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78336         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78337         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78338         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78339         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78340         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78341         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78342         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78343         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78344         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78345         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78347         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78348         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78349         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78351         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78352         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78353         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78354         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78355         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78356         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78357         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78358         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78359         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78360         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78361         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78362         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78363         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78364         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78365         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78366         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78367         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78368         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78369         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78370         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78371         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78372         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78396         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78400         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78401         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78402         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78403         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78409         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78411         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78412         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78414         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78416         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78419         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78420         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78421         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78422         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78423         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78424         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78425         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78426         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78427         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78428         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78429         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78430         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78431         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78432         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78433         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78434         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78435         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78436         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78437         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78438         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78439         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78440         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78441         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78442         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78443         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78444         (__isnanf): Likewise.
78445         (__isinf_ns): Likewise.
78446         (__isinf_nsf): Likewise.
78447         (__finite): Likewise.
78448         (__finitef): Likewise.
78449         (__ieee754_sqrt): Define as macro.
78450         (__ieee754_sqrtf): Define as macro.
78451         (__ieee754_sqrtl): Define as macro.
78452         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78453         inlined copy.
78454         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78455         __FINITE_MATH_ONLY__ consistent.
78456         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78458 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78460         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78461         of rawmemchr.
78463         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78465 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78467         * po/ja.po: Update from translation team.
78469 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78471         * locale/programs/locarchive.c (prepare_address_space): New function.
78472         (create_archive, enlarge_archive, open_archive): Use it.
78474         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78475         inside [SHARED], where it is used.
78477         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78479         * nss/getent.c (netgroup_keys): Remove unused variable.
78480         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78482 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78484         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78486         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78487         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78488         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78489         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78490         * math/Makefile (libm-calls): Add s_isinf_ns.
78491         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78492         * math/multc3.c: Likewise.
78493         * math/s_casin.c: Likewise.
78494         * math/s_casinf.c: Likewise.
78495         * math/s_casinl.c: Likewise.
78496         * math/s_ccos.c: Likewise.
78497         * math/s_ccosf.c: Likewise.
78498         * math/s_ccosl.c: Likewise.
78499         * math/s_ctan.c: Likewise.
78500         * math/s_ctanf.c: Likewise.
78501         * math/s_ctanh.c: Likewise.
78502         * math/s_ctanhf.c: Likewise.
78503         * math/s_ctanhl.c: Likewise.
78504         * math/s_ctanl.c: Likewise.
78505         * math/w_fmod.c: Likewise.
78506         * math/w_fmodf.c: Likewise.
78507         * math/w_fmodl.c: Likewise.
78508         * math/w_remainder.c: Likewise.
78509         * math/w_remainderf.c: Likewise.
78510         * math/w_remainderl.c: Likewise.
78511         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78512         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78513         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78515         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78516         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78517         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78518         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78520         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78521         of the number.
78522         * stdio-common/printf_fphex.c: Likewise.
78523         * stdio-common/printf_size.c: Likewise.
78525         * math/e_exp10.c: Include math_private.h using <...> not "...".
78526         * math/e_exp10f.c: Likewise.
78527         * math/e_exp10l.c: Likewise.
78528         * math/e_exp2l.c: Likewise.
78529         * math/e_j0l.c: Likewise.
78530         * math/e_j1l.c: Likewise.
78531         * math/e_jnl.c: Likewise.
78532         * math/e_lgammal_r.c: Likewise.
78533         * math/e_rem_pio2l.c: Likewise.
78534         * math/e_scalb.c: Likewise.
78535         * math/e_scalbf.c: Likewise.
78536         * math/e_scalbl.c: Likewise.
78537         * math/k_cosl.c: Likewise.
78538         * math/k_sinl.c: Likewise.
78539         * math/k_tanl.c: Likewise.
78540         * math/s_cacoshf.c: Likewise.
78541         * math/s_catan.c: Likewise.
78542         * math/s_catanf.c: Likewise.
78543         * math/s_catanh.c: Likewise.
78544         * math/s_catanhf.c: Likewise.
78545         * math/s_catanhl.c: Likewise.
78546         * math/s_catanl.c: Likewise.
78547         * math/s_ccosh.c: Likewise.
78548         * math/s_ccoshf.c: Likewise.
78549         * math/s_ccoshl.c: Likewise.
78550         * math/s_cexp.c: Likewise.
78551         * math/s_cexpf.c: Likewise.
78552         * math/s_cexpl.c: Likewise.
78553         * math/s_clog.c: Likewise.
78554         * math/s_clog10.c: Likewise.
78555         * math/s_clog10f.c: Likewise.
78556         * math/s_clog10l.c: Likewise.
78557         * math/s_clogf.c: Likewise.
78558         * math/s_clogl.c: Likewise.
78559         * math/s_csin.c: Likewise.
78560         * math/s_csinf.c: Likewise.
78561         * math/s_csinh.c: Likewise.
78562         * math/s_csinhf.c: Likewise.
78563         * math/s_csinhl.c: Likewise.
78564         * math/s_csinl.c: Likewise.
78565         * math/s_csqrt.c: Likewise.
78566         * math/s_csqrtf.c: Likewise.
78567         * math/s_csqrtl.c: Likewise.
78568         * math/s_ctan.c: Likewise.
78569         * math/s_ctanf.c: Likewise.
78570         * math/s_ctanh.c: Likewise.
78571         * math/s_ctanhf.c: Likewise.
78572         * math/s_ctanhl.c: Likewise.
78573         * math/s_ctanl.c: Likewise.
78574         * math/s_ldexp.c: Likewise.
78575         * math/s_ldexpf.c: Likewise.
78576         * math/s_ldexpl.c: Likewise.
78577         * math/s_significand.c: Likewise.
78578         * math/s_significandf.c: Likewise.
78579         * math/s_significandl.c: Likewise.
78580         * math/w_acos.c: Likewise.
78581         * math/w_acosf.c: Likewise.
78582         * math/w_acosh.c: Likewise.
78583         * math/w_acoshf.c: Likewise.
78584         * math/w_acoshl.c: Likewise.
78585         * math/w_acosl.c: Likewise.
78586         * math/w_asin.c: Likewise.
78587         * math/w_asinf.c: Likewise.
78588         * math/w_asinl.c: Likewise.
78589         * math/w_atan2.c: Likewise.
78590         * math/w_atan2f.c: Likewise.
78591         * math/w_atan2l.c: Likewise.
78592         * math/w_atanh.c: Likewise.
78593         * math/w_atanhf.c: Likewise.
78594         * math/w_atanhl.c: Likewise.
78595         * math/w_cosh.c: Likewise.
78596         * math/w_coshf.c: Likewise.
78597         * math/w_coshl.c: Likewise.
78598         * math/w_dremf.c: Likewise.
78599         * math/w_exp10.c: Likewise.
78600         * math/w_exp10f.c: Likewise.
78601         * math/w_exp10l.c: Likewise.
78602         * math/w_exp2.c: Likewise.
78603         * math/w_exp2f.c: Likewise.
78604         * math/w_fmod.c: Likewise.
78605         * math/w_fmodf.c: Likewise.
78606         * math/w_fmodl.c: Likewise.
78607         * math/w_hypot.c: Likewise.
78608         * math/w_hypotf.c: Likewise.
78609         * math/w_hypotl.c: Likewise.
78610         * math/w_j0.c: Likewise.
78611         * math/w_j0f.c: Likewise.
78612         * math/w_j0l.c: Likewise.
78613         * math/w_j1.c: Likewise.
78614         * math/w_j1f.c: Likewise.
78615         * math/w_j1l.c: Likewise.
78616         * math/w_jn.c: Likewise.
78617         * math/w_jnf.c: Likewise.
78618         * math/w_jnl.c: Likewise.
78619         * math/w_lgamma.c: Likewise.
78620         * math/w_lgamma_r.c: Likewise.
78621         * math/w_lgammaf.c: Likewise.
78622         * math/w_lgammaf_r.c: Likewise.
78623         * math/w_lgammal.c: Likewise.
78624         * math/w_lgammal_r.c: Likewise.
78625         * math/w_log.c: Likewise.
78626         * math/w_log10.c: Likewise.
78627         * math/w_log10f.c: Likewise.
78628         * math/w_log10l.c: Likewise.
78629         * math/w_log2.c: Likewise.
78630         * math/w_log2f.c: Likewise.
78631         * math/w_log2l.c: Likewise.
78632         * math/w_logf.c: Likewise.
78633         * math/w_logl.c: Likewise.
78634         * math/w_pow.c: Likewise.
78635         * math/w_powf.c: Likewise.
78636         * math/w_powl.c: Likewise.
78637         * math/w_remainder.c: Likewise.
78638         * math/w_remainderf.c: Likewise.
78639         * math/w_remainderl.c: Likewise.
78640         * math/w_scalb.c: Likewise.
78641         * math/w_scalbf.c: Likewise.
78642         * math/w_scalbl.c: Likewise.
78643         * math/w_sinh.c: Likewise.
78644         * math/w_sinhf.c: Likewise.
78645         * math/w_sinhl.c: Likewise.
78646         * math/w_sqrt.c: Likewise.
78647         * math/w_sqrtf.c: Likewise.
78648         * math/w_sqrtl.c: Likewise.
78649         * math/w_tgamma.c: Likewise.
78650         * math/w_tgammaf.c: Likewise.
78651         * math/w_tgammal.c: Likewise.
78653         * po/ja.po: Update from translation team.
78655 2011-09-29  Andreas Jaeger  <aj@suse.de>
78657         [BZ #13179]
78658         * sunrpc/netname.c (netname2host): Fix logic.
78660         [BZ #6779]
78661         [BZ #6783]
78662         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78663         correctly.
78664         * math/w_remainder.c (__remainder): Likewise.
78665         * math/w_remainderf.c (__remainderf): Likewise.
78666         * math/libm-test.inc (remainder_test): Add test cases.
78668 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78670         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78671         sdiv_qrnnd.
78673 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78675         * string/test-memcmp.c: Avoid unncessary #defines.
78676         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78678 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78680         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78681         Use new sse2 version for core i3 - i7 as it's faster
78682         than sse42 version.
78683         (bit_Prefer_PMINUB_for_stringop): New.
78684         * sysdeps/x86_64/rawmemchr.S: Update.
78685         Replace with faster SSE2 version.
78686         * sysdeps/x86_64/memrchr.S: New file.
78687         * sysdeps/x86_64/memchr.S: Update.
78688         Replace with faster SSE2 version.
78690 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78692         * elf/dl-load.c (lose): Add cast to avoid warning.
78694 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78696         * po/ca.po: Update from translation team.
78698         * inet/getnetgrent_r.c: Hook up nscd.
78699         * nscd/Makefile (routines): Add nscd_netgroup.
78700         (nscd-modules): Add netgroupcache.
78701         (CFLAGS-netgroupcache.c): Define.
78702         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78703         (cache_search): Add const to second parameter.
78704         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78705         INNETGR.
78706         (dbs): Add netgrdb entry.
78707         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78708         (verify_persistent_db): Handle netgrdb.
78709         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78710         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78711         GETFDNETGR.
78712         (netgroup_response_header): Define.
78713         (innetgroup_response_header): Define.
78714         (datahead): Add netgroup_response_header and innetgroup_response_header
78715         elements.
78716         * nscd/nscd.conf: Add entries for netgroup cache.
78717         * nscd/nscd.h (dbtype): Add netgrdb.
78718         (_PATH_NSCD_NETGROUP_DB): Define.
78719         (netgroup_iov_disabled): Declare.
78720         (xmalloc, xcalloc, xrealloc): Move declarations here.
78721         (cache_search): Adjust prototype.
78722         Add netgroup-related prototypes.
78723         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78724         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78725         (__nscd_innetgr): Declare.
78726         * nscd/selinux.c (perms): Use access_vector_t as element type and
78727         add netgroup-related initializers.
78728         * nscd/netgroupcache.c: New file.
78729         * nscd/nscd_netgroup.c: New file.
78730         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78731         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78732         For four parameters use innetgr.
78733         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78734         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78735         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78736         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78738         * nscd/connections.c (register_traced_file): Don't register file
78739         for disabled databases.
78741 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78743         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78745         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78746         from tree and freeing node.
78748 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78750         * nss/nsswitch.c (__nss_database_lookup): Handle
78751         nss_parse_service_list out of memory case.
78753 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78755         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78756         out of memory case.
78758 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78760         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78761         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78762         pass it down.
78763         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78764         elf_machine_rela, elf_machine_lazy_rel.
78765         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78766         (ELF_DYNAMIC_DO_REL): Likewise.
78767         (ELF_DYNAMIC_DO_RELA): Likewise.
78768         (ELF_DYNAMIC_RELOCATE): Likewise.
78769         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78770         to ELF_DYNAMIC_DO_REL.
78771         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78772         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78773         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78774         elf_machine_rela.
78775         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78776         skip_ifunc, don't call ifunc function if non-zero.
78777         (elf_machine_rela): Likewise.
78778         (elf_machine_lazy_rel): Likewise.
78779         (elf_machine_lazy_rela): Likewise.
78780         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78781         (elf_machine_lazy_rel): Likewise.
78782         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78783         Likewise.
78784         (elf_machine_lazy_rel): Likewise.
78785         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78786         Likewise.
78787         (elf_machine_lazy_rel): Likewise.
78788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78789         (elf_machine_lazy_rel): Likewise.
78790         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78791         (elf_machine_lazy_rel): Likewise.
78792         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78793         (elf_machine_lazy_rel): Likewise.
78794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78795         (elf_machine_lazy_rel): Likewise.
78796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78797         (elf_machine_lazy_rel): Likewise.
78798         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78799         (elf_machine_lazy_rel): Likewise.
78801 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78803         * nss/nss_files/files-init.c (_nss_files_init): Use static
78804         initialization for all the *_traced_file variables.
78806 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78808         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78810 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78812         [BZ #13226]
78813         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78815 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78818         Reread the line before reparsing it.
78820 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78822         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78824 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78825             Maxim Kuvyrkov  <maxim@codesourcery.com>
78826             Joseph Myers  <joseph@codesourcery.com>
78828         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78829         if needed for __stack_chk_guard.
78831 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78833         * sysdeps/posix/spawni.c (script_execute): Always define it.
78834         It will be optimized away if unused.
78835         (maybe_script_execute): New function.
78836         (__spawni): Call it.
78838         * Makerules: Don't include tls.make.
78839         (config-tls): Always set to thread.
78840         * tls.make.c: File removed.
78842 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78844         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78845         * config.make.in (CPPFLAGS-config): New substituted variable.
78847 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78849         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78851         [BZ #13192]
78852         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78853         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78855 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78857         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78858         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78860         (CALL_FAIL): Likewise.
78861         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78862         (CALL_FAIL): Macro removed.
78863         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78865 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78867         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78868         for __FINITE_MATH_ONLY__ == 1.
78870 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78872         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78873         __ieee754_sqrt instead of sqrt.
78874         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78875         __ieee754_sqrtf instead of sqrtf.
78876         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78877         __floorf instead of floorf.
78878         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78879         __floorf, __truncf instead of floorf, truncf.
78881 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78883         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78885         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78886         __extern_always_inline.
78887         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78888         32-bit.
78890 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78892         * elf/rtld.c (dl_main): Also relocate in dependency order when
78893         doing symbol dependency testing.
78895 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78897         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78898         Always define `refsym'.
78900 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78902         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78903         (__FD_ELT): Renamed from __FDELT.
78904         * misc/bits/select2.h (__FD_ELT): Likewise.
78905         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78906         __FD_MASK instead of __FDELT, __FDMASK.
78907         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78908         Likewise.
78909         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78910         Likewise.
78912         * elf/Makefile (gen-ldd): Fix pattern.
78914         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78915         (init_tls): Likewise.
78917 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78919         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78921 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78923         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78924         `struct cmsghdr *' instead of `void *'.
78925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78926         Likewise.
78928 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78930         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78931         if non-absolute.
78932         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78933         ldd_rewrite_script.
78935 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78937         * configure.in: Remove --with-tls option.
78938         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78939         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78940         out in case it is missing.
78941         * sysdeps/ia64/elf/configure.in: Likewise.
78942         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78943         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78944         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78945         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78946         * sysdeps/sh/elf/configure.in: Likewise.
78947         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78948         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78949         * sysdeps/x86_64/elf/configure.in: Likewise.
78950         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78951         * sysdeps/mach/hurd/tls.h: Likewise.
78953         [BZ #13067]
78954         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78956         [BZ #13090]
78957         * configure.in: Fix use of AC_INIT.
78959         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78961 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78963         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78964         __set_errno.
78965         * malloc/hooks.c: Likewise.
78967         [BZ #11929]
78968         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78969         variables statically.
78970         (narenas): Initialize.
78971         (list_lock): Initialize.
78972         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78973         initializtion of main_arena and list_lock.  Small cleanups.
78974         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78975         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78976         Add initializers to main_arena and mp_.
78977         (malloc_state): Remove pagesize member.  Change all users to use
78978         GLRO(dl_pagesize).
78980         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78981         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78982         is always initialized.
78984         * malloc/malloc.c: Removed unused configurations and dead code.
78985         * malloc/arena.c: Likewise.
78986         * malloc/hooks.c: Likewise.
78987         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78989         * include/tls.h: Removed.  USE___THREAD must always be defined.
78990         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78991         * elf/dl-libc.c: Likewise.
78992         * elf/dl-tsd.c: Likewise.
78993         * include/errno.h: Likewise.
78994         * include/netdb.h: Likewise.
78995         * include/resolv.h: Likewise.
78996         * inet/herrno-loc.c: Likewise.
78997         * inet/herrno.c: Likewise.
78998         * malloc/arena.c: Likewise.
78999         * malloc/hooks.c: Likewise.
79000         * malloc/malloc.c: Likewise.
79001         * resolv/res-state.c: Likewise.
79002         * resolv/res_libc.c: Likewise.
79003         * sysdeps/i386/dl-machine.h: Likewise.
79004         * sysdeps/ia64/dl-machine.h: Likewise.
79005         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79006         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79007         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79008         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79009         * sysdeps/sh/dl-machine.h: Likewise.
79010         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79011         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79012         * sysdeps/unix/i386/sysdep.S: Likewise.
79013         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79014         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79019         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79023         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79024         * sysdeps/x86_64/dl-machine.h: Likewise.
79025         * tls.make.c: Likewise.
79027         * configure.in: Remove --with-__thread option.  Make tests for
79028         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79029         tls_model attribute fail if no support is available.  Remove
79030         USE_IN_LIBIO.
79031         * Makeconfig: Adjust for dropped configure option.  All features are
79032         now mandatory.
79033         * Makerules: Likewise.
79034         * Versions.def: Likewise.
79035         * argp/argp-fmtstream.c: Likewise.
79036         * argp/argp-fmtstream.h: Likewise.
79037         * argp/argp-help.c: Likewise.
79038         * assert/assert.c: Likewise.
79039         * config.h.in: Likewise.
79040         * config.make.in: Likewise.
79041         * configure: Likewise.
79042         * configure.in: Likewise.
79043         * csu/Versions: Likewise.
79044         * csu/init.c: Likewise.
79045         * elf/tst-audit2.c: Likewise.
79046         * elf/tst-tls10.c: Likewise.
79047         * elf/tst-tls10.h: Likewise.
79048         * elf/tst-tls11.c: Likewise.
79049         * elf/tst-tls12.c: Likewise.
79050         * elf/tst-tls14.c: Likewise.
79051         * elf/tst-tlsmod11.c: Likewise.
79052         * elf/tst-tlsmod12.c: Likewise.
79053         * elf/tst-tlsmod13.c: Likewise.
79054         * elf/tst-tlsmod13a.c: Likewise.
79055         * elf/tst-tlsmod14a.c: Likewise.
79056         * elf/tst-tlsmod15b.c: Likewise.
79057         * elf/tst-tlsmod16a.c: Likewise.
79058         * elf/tst-tlsmod16b.c: Likewise.
79059         * elf/tst-tlsmod7.c: Likewise.
79060         * elf/tst-tlsmod8.c: Likewise.
79061         * elf/tst-tlsmod9.c: Likewise.
79062         * gmon/gmon.c: Likewise.
79063         * grp/fgetgrent_r.c: Likewise.
79064         * grp/putgrent.c: Likewise.
79065         * hurd/fopenport.c: Likewise.
79066         * include/libc-symbols.h: Likewise.
79067         * include/tls.h: Likewise.
79068         * intl/gettextP.h: Likewise.
79069         * intl/loadinfo.h: Likewise.
79070         * locale/global-locale.c: Likewise.
79071         * locale/localeinfo.h: Likewise.
79072         * mach/devstream.c: Likewise.
79073         * malloc/arena.c: Likewise.
79074         * malloc/set-freeres.c: Likewise.
79075         * misc/err.c: Likewise.
79076         * misc/getttyent.c: Likewise.
79077         * misc/mntent_r.c: Likewise.
79078         * posix/getopt.c: Likewise.
79079         * posix/wordexp.c: Likewise.
79080         * pwd/fgetpwent_r.c: Likewise.
79081         * resolv/Versions: Likewise.
79082         * resolv/res_hconf.c: Likewise.
79083         * shadow/fgetspent_r.c: Likewise.
79084         * shadow/putspent.c: Likewise.
79085         * stdio-common/printf_fphex.c: Likewise.
79086         * stdio-common/tmpfile.c: Likewise.
79087         * stdlib/abort.c: Likewise.
79088         * stdlib/fmtmsg.c: Likewise.
79089         * sunrpc/auth_unix.c: Likewise.
79090         * sunrpc/clnt_perr.c: Likewise.
79091         * sunrpc/clnt_tcp.c: Likewise.
79092         * sunrpc/clnt_udp.c: Likewise.
79093         * sunrpc/clnt_unix.c: Likewise.
79094         * sunrpc/openchild.c: Likewise.
79095         * sunrpc/svc_simple.c: Likewise.
79096         * sunrpc/svc_tcp.c: Likewise.
79097         * sunrpc/svc_udp.c: Likewise.
79098         * sunrpc/svc_unix.c: Likewise.
79099         * sunrpc/xdr.c: Likewise.
79100         * sunrpc/xdr_array.c: Likewise.
79101         * sunrpc/xdr_rec.c: Likewise.
79102         * sunrpc/xdr_ref.c: Likewise.
79103         * sunrpc/xdr_stdio.c: Likewise.
79105 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79107         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79109 2011-07-03  Andreas Jaeger  <aj@suse.de>
79111         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79112         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79113         regenerate with gen-libm-tests.pl.
79115 2010-05-12  Petr Baudis  <pasky@suse.cz>
79117         [BZ #11589]
79118         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79119         around j0() zero points by switching to j1().
79120         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79121         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79122         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79123         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79125 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79127         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79128         instead of 0.
79129         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79130         instead of 0.
79131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79132         Patch in part by Pavel Roskin <proski@gnu.org>.
79134         [BZ #13138]
79135         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79136         realloc.
79137         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79138         Free memory block if necessary.
79140         [BZ #12847]
79141         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79142         be NULL.  Don't lock in this case.
79144 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79146         * elf/elf.h (ELFOSABI_GNU): New macro.
79147         (ELFOSABI_LINUX): Define to that.
79149 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79151         * string/strncat.c (strncat): Undef the symbol in case it has been
79152         defined in bits/string.h.
79154 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79156         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79158         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79159         link map.
79161 2011-08-17  Andreas Jaeger  <aj@suse.de>
79163         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79165 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79166             Ian Lance Taylor  <iant@google.com>
79168         * math/libm-test.inc (lround_test): New testcase.
79169         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79171 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79173         * Makefile: Remove support for automatic cvs check-ins.
79174         * Makerules: Likewise.
79175         * config.make.in: Likewise.
79176         * configure.in: Likewise.
79177         * intl/Makefile: Likewise.
79178         * locale/Makefile: Likewise.
79179         * po/Makefile: Likewise.
79180         * posix/Makefile: Likewise.
79181         * sysdeps/gnu/Makefile: Likewise.
79182         * sysdeps/mach/hurd/Makefile: Likewise.
79183         * sysdeps/sparc/sparc32/Makefile: Likewise.
79185         [BZ #13118]
79186         * posix/Makefile (bug-regex32-ENV): Define.
79187         Patch by John Stanley <jpsinthemix@verizon.net>.
79189         * misc/Makefile (headers): Add bits/select2.h.
79190         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79191         * misc/bits/select2.h: New file.
79192         * include/bits/select2.h: New file.
79193         * debug/Makefile (routines): Add fdelt_chk.
79194         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79195         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79196         FD_ISSET.
79197         * debug/fdelt_chk.c: New file.
79199         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79200         * wcsmbs/test-wmemcmp.c: Likewise.
79201         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79202         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79204 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79206         * string/Makefile (strop-tests): Add memcmp.
79207         * string/test-wmemcmp.c: New file.
79208         * string/test-memcmp.c: Add wmemcmp support.
79210 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79212         [BZ #13153]
79213         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79214         2011-07-19 change.
79216         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79217         garbage value in a __mach_port_mod_refs call in the cases of the
79218         task-self and thread-self ports.
79220 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79222         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79224 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79226         * elf/dl-load.c (lose): Check for non-null L.
79228 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79230         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79232         * elf/dl-libc.c (dlerror_run): Pass back error code from
79233         dl_catch_error.
79235         [BZ #13123]
79236         * elf/dl-load.c (lose): Free l_origin if it is valid.
79238         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79239         names.
79240         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79241         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79242         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79243         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79244         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79245         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79247 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79249         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79250         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79251         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79252         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79253         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79254         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79255         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79256         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79257         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79258         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79260 2011-08-15  Alan Modra  <amodra@gmail.com>
79262         [BZ #13092]
79263         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79264         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79265         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79266         ppc_mcount to static-only-routines.
79267         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79268         __mcount_internal.
79269         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79270         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79272 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79274         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79275         for finite and infinity parameters.
79277 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79279         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79280         and add nop instructions for throughput optimization.
79281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79283 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79285         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79286         aligned copy for power7 with vector-scalar instructions.
79287         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79289 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79292         AVX check.
79294 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79296         [BZ #13144]
79297         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79298         last change.
79300 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79302         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79303         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79304         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79305         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79306         clock_gettime.
79308 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79310         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79311         Forgot to demangle the pointer.
79313         * sysdeps/i386/sysdep.h: Define atom_text_section.
79314         * sysdeps/x86_64/sysdep.h: Likewise.
79315         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79316         section with atom_text_section.
79317         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79318         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79319         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79321         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79323         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79324         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79325         already be defined.  Change to take two parameters and don't assign
79326         result to variable.  Adjust all users.
79327         Define INTERNAL_GETTIME if not already defined.
79328         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79329         call.
79330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79331         HAVE_CLOCK_GETTIME_VSYSCALL.
79332         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79334         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79335         gettimeofday vsyscall, just use time.
79337 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79340         <errno.h>.
79342 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79344         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79345         syscall on x86-64.
79346         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79347         syscall.
79348         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79349         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79350         syscall if possible.
79352 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79354         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79355         e_ident.  Don't pass to find_mapsXX.
79356         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79358 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79361         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79362         * sysdeps/x86_64/multiarch/strchr.S: Update.
79363         Check bit_slow_BSF bit.
79364         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79365         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79366         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79368 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79370         [BZ #13134]
79371         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79372         before glibc 2.15.
79373         (tryshell): Define.
79374         (__spawni): Change last parameter to be flag.  Test
79375         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79376         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79377         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79378         * posix/spawni.c: Likewise.
79379         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79380         * posix/spawnp.c: Likewise.  Change normal version to use
79381         SPAWN_XFLAGS_USE_PATH.
79382         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79383         SPAWN_XFLAGS_TRY_SHELL.
79385         [BZ #13150]
79386         * posix/glob.h: Remove gcc 1.x support.
79388         [BZ #13068]
79389         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79391 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79394         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79395         strrchr-sse2-bsf
79396         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79397         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79398         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79399         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79400         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79401         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79403 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79405         * sysdeps/x86_64/wcscmp.S: New file.
79407         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79408         wcscmp-c wcscmp-sse2
79409         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79410         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79411         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79412         * wcsmbs/wcscmp.c: Allow renaming.
79414 2011-09-05  David S. Miller  <davem@davemloft.net>
79416         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79417         stack slot, rather than the struct return pointer slot.
79418         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79419         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79421         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79423 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79425         * po/ja.po: Update from translation team.
79427         [BZ #13144]
79428         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79429         kernel in 64-bit binaries.
79431 2011-09-01  David S. Miller  <davem@davemloft.net>
79433         * elf/elf.h (HWCAP_SPARC_*): Move to..
79434         * sysdeps/sparc/sysdep.h: this new file and add new values.
79435         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79436         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79437         _DL_HWCAP_COUNT to 24.
79438         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79439         entries.
79440         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79441         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79442         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79444         instead of magic constants.
79445         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79447 2011-08-31  David S. Miller  <davem@davemloft.net>
79449         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79451         Reimplement to do errno handling inline.
79452         (SYSCALL_ERROR_HANDLER): New macro.
79453         (__SYSCALL_STRING): Do not do errno handling in asm.
79454         (__CLONE_SYSCALL_STRING): Delete.
79455         (__INTERNAL_SYSCALL_STRING): Delete.
79456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79457         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79458         (PSEUDO): Reimplement to do errno handling inline.
79459         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79460         (SYSCALL_ERROR_HANDLER): New macro.
79461         (__SYSCALL_STRING): Do not do errno handling in asm.
79462         (__CLONE_SYSCALL_STRING): Delete.
79463         (__INTERNAL_SYSCALL_STRING): Delete.
79464         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79465         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79466         i386.
79467         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79468         (inline_syscall*): Add 'err' argument.
79469         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79470         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79471         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79472         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79474         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79475         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79477 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79479         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79481 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79483         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79484         directive.
79486 2011-08-24  David S. Miller  <davem@davemloft.net>
79488         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79490 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79492         * elf/Makefile: Add rules to build and run unload8 test.
79493         * elf/unload8.c: New file.
79494         * elf/unload8mod1.c: New file.
79495         * elf/unload8mod1x.c: New file.
79496         * elf/unload8mod2.c: New file.
79497         * elf/unload8mod3.c: New file.
79499         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79500         it wasn't used.
79502 2011-08-23  David S. Miller  <davem@davemloft.net>
79504         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79505         subtract stack bias.
79506         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79507         %sp not %fp in calculations.
79508         (_JMPBUF_UNWINDS_ADJ): Likewise.
79510         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79511         (aio_suspend): Call it to force an exception region around the
79512         AIO_MISC_WAIT() invocation.
79514 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79516         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79517         backslash.
79519 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79521         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79522         protection macro.
79523         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79524         and <dl-machine.h>.
79525         (Elf64_FuncDesc): Remove.
79527 2011-08-22  David S. Miller  <davem@davemloft.net>
79529         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79530         sigaltstack check, add missing cfi directives.
79531         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79532         missing cfi directives, and sigaltstack handling.
79534 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79536         [BZ #11724]
79537         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79538         object is seen twice.
79539         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79541         * elf/Makefile (distribute): Add tst-initorder2.c.
79542         (tests): Add tst-initorder2.
79543         (modules-names): Add tst-initorder2a tst-initorder2b
79544         tst-initorder2c tst-initorder2d.  Add rules to build them.
79545         ($(objpfx)tst-initorder2.out): New rule.
79546         * elf/tst-initorder2.c: New file.
79547         * elf/tst-initorder2.exp: New file.
79549 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79551         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79553         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79554         dependencies back to end of function.
79556         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79557         $(elfobjdir)/ld.so.
79559 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79561         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79562         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79564         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79565         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79566         of __vdso_gettimeofday.
79567         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79568         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79569         attribute_hidden.
79570         (_libc_vdso_platform_setup): Remove initialization of
79571         __vdso_gettimeofday and __vdso_time.
79573 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79575         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79576         and fgetc_unlocked.
79577         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79578         getc_unlocked.
79580         * elf/dl-open.c (add_to_global): Report additions to the global scope
79581         for LD_DEBUG=scopes.
79582         (dl_open_worker): Also print scope of newly loaded dependencies.
79583         (_dl_show_scope): Indicate if there is no scope.
79585         [BZ #13114]
79586         * stdio-common/Makefile (tests): Add bug24.
79587         * stdio-common/bug24.c: New file.
79589 2011-08-19  Andreas Jaeger  <aj@suse.de>
79591         [BZ #13114]
79592         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79593         non-existant file when using close-on-exec mode.
79595 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79598         the very first instruction.
79600         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79601         the CFI state in the end.
79602         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79603         inclusion of dl-trampoline.h.
79604         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79606 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79608         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79609         expectations for long double.
79611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79612         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79614 2011-08-14  David S. Miller  <davem@davemloft.net>
79616         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79617         artificual limit depends upon the system page size.
79619 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79621         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79622         * resolv/Makefile: Define CFLAGS-libresolv.
79624 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79626         * nss/makedb.c (compute_tables): Make variables used in nested
79627         function static.
79629 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79631         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79632         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79633         if buffer was too small.
79635         * elf/pldd.c (main): Attach to all threads in the process.
79636         Rewrite /proc handling to use *at functions.
79638 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79640         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79641         specifies first scope to show.
79642         (dl_open_worker): Update callers.  Move printing scope of new
79643         object to before the relocation.
79644         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79645         * sysdeps/generic/ldsodefs.h: Update declaration.
79647         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79648         string for the scope number.
79650 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79652         * nscd/servicescache.c (cache_addserv): Make sure written is always
79653         initialized.
79655 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79657         * sysdeps/i386/i486/bits/atomic.h
79658         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79659         statement expression, so as to suppress "set but not used" warning.
79660         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79662         * string/strncat.c (STRNCAT): Use prototype definition.
79664         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79665         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79666         -Iprograms here.
79667         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79668         (localedef-modules): Add localedef.
79669         (locale-modules): Add locale.
79671         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79672         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79673         to avoid a warning.
79675 2011-08-14  David S. Miller  <davem@davemloft.net>
79677         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79678         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79680 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79682         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79683         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79684         * elf/rtld.c (dl_main): Set l_name of vDSO.
79685         Call _dl_show_scope when DL_DEBUG_SCOPES.
79686         (process_dl_debug): Recognize scopes flag and also set it for all.
79687         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79688         Declare _dl_show_scope.
79690         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79691         (do_dlopen): Pass caller_dlopen to dl_open.
79692         (__libc_dlopen_mode): Initialize caller_dlopen.
79694         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79695         of libc.  Make tolower call locale-independent.  Optimize a bit by
79696         using isdigit instead of isalnum.
79697         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79699 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79701         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79702         was a dependency or dynamically loaded.
79704 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79706         * intl/l10nflist.c: Allow architecture-specific pop function.
79707         * sysdeps/x86_64/l10nflist.c: New file.
79709         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79710         classification.
79712 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79714         * include/dirent.h: Add libc_hidden_proto for scandirat and
79715         scandirat64.  Don't declare __scandirat64.
79716         * dirent/scandirat.c: Add libc_hidden_def.
79717         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79718         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79720 2011-08-10  David S. Miller  <davem@davemloft.net>
79722         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79723         enum.
79724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79725         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79728 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79730         * Versions.def [libc]: Add GLIBC_2.15.
79731         * dirent/Makefile (routines): Add scandirat and scandirat64.
79732         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79733         GLIBC_2.15.
79734         * dirent/dirent.h: Declare scandirat and scandirat64.
79735         * dirent/scandirat.c: New file.
79736         * dirent/scandirat64.c: New file.
79737         * sysdeps/wordsize-64/scandirat.c: New file.
79738         * sysdeps/wordsize-64/scandirat64.c: New file.
79739         * dirent/opendir.c: Define opendirat.
79740         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79741         using scandirat.
79742         * dirent/scandir64.c: Adjust for scandir.c change.
79743         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79744         __scandirat64, and __scandir_cancel_handler.
79745         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79746         additional parameter and use openat instead of open (outside of ld.so).
79747         Add new __opendir as wrapper around __opendirat.
79748         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79749         here without requiring old scandirat implementation.
79751 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79753         * dirent/scandir.c (cancel_handler): Renamed to
79754         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79755         defined.  Adjust users.
79756         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79757         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79759 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79761         * string/test-string.h (IMPL): Use __STRING to expand name and then
79762         stringify it.
79764         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79765         of cleanups.
79767 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79769         * string/Makefile: Update.
79770         (strop-tests): Append strncat.
79771         * string/test-wcscmp.c: New file.
79772         New comprehensive test for wcscmp.
79773         * string/test-strcmp.c: Update.
79774         (WIDE): New define.
79776 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79778         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79779         line.
79781 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79784         encoding to ACE if AI_IDN.
79786 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79789         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79791 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79793         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79794         Fix overflow bug in strncat.
79795         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79797         * string/test-strncat.c: Update.
79798         Add new tests for checking overflow bugs.
79800 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79803         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79804         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79805         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79806         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79807         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79808         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79809         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79810         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79812         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79813         (USE_AS_STRCAT): Define.
79814         Add strcat and strncat support.
79815         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79817 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79819         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79820         __n bigger than INT_MAX+1.
79821         (__strncmp_g): Likewise.
79823 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79825         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79826         * libio/stido.h: Likewise.
79828         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79829         (AF_NFC): Define.
79830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79831         (AF_NFC): Define.
79833         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79834         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79835         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79836         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79837         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79839         [BZ #13021]
79840         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79841         installed.
79843         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79844         typo.
79845         (_dl_x86_64_save_sse): Likewise.
79847 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79850         OSXSAVE.
79851         (_dl_x86_64_save_sse): Likewise.
79853         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79855         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79857 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79859         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79860         change.
79861         (_dl_x86_64_save_sse): Use correct AVX check.
79863 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79865         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79866         bug in strncpy/strncat.
79867         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79869 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79871         * string/tester.c (test_strcat): Add tests for different alignments
79872         of source and destination.
79873         (test_strncat): Likewise.
79875 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79877         [BZ #12852]
79878         * posix/glob.c (glob): Check passed in values before using them in
79879         expressions to avoid some overflows.
79880         (glob_in_dir): Likewise.
79882         [BZ #13007]
79883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79884         check for AVX enablement so that we don't crash with old kernels and
79885         new hardware.
79886         * elf/tst-audit4.c: Add same checks here.
79887         * elf/tst-audit6.c: Likewise.
79889         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79891 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79893         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79895 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79897         * po/cs.po: Update from translation team.
79898         * po/bg.po: Likewise.
79900 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79902         * misc/sys/cdefs.h: Add support for const attribute.
79903         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79904         to gnu_dev_{major,minor,makedev} functions.
79906 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79908         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79910 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79912         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79913         strlen results.
79915 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79918         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79919         register in order to avoid conflicts with the soft frame pointer
79920         being held in r11 when necessary.
79921         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79922         (INTERNAL_VSYSCALL_NCS): Likewise.
79924 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79926         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79927         * elf/dl-fini.c (_dl_fini): Adjust caller.
79928         * elf/dl-close.c (_dl_close_worker): Likewise.
79929         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79931 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79933         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79934         "aux_cache->nlibs < 0".
79936         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79937         in the reload-count case.
79939 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79942         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79943         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79944         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79945         * sysdeps/x86_64/multiarch/strcat.S: New file.
79946         * sysdeps/x86_64/multiarch/strncat.S: New file.
79947         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79948         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79949         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79950         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79951         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79952         (USE_AS_STRCAT): Define.
79953         Add strcat and strncat support.
79954         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79955         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79956         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79957         * string/strncat.c: Update.
79958         (USE_AS_STRNCAT): Define.
79959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79960         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79961         and i7.
79962         * sysdeps/x86_64/multiarch/init-arch.h
79963         (bit_Prefer_PMINUB_for_stringop): New.
79964         (index_Prefer_PMINUB_for_stringop): Likewise.
79965         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79966         bit_Prefer_PMINUB_for_stringop.
79968 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79970         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79971         buffer64.
79972         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79973         of casting of buffer.
79974         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79975         buffer32 and buffer64.
79976         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79977         writes instead of casting of buffer.
79978         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79979         buffer32.
79980         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79981         casting of buffer.
79983 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79985         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79987 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79989         * nscd/nscd.c (termination_handler): Don't do anything for a database
79990         if it has not yet been initialized.
79992 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79994         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79996 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79998         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80000 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80002         * po/nl.po: Update from translation team.
80003         * po/sv.po: Likewise.
80005 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80007         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80008         now disallowed by GCC.
80010         * configure.in (use-default-link): Default to yes if a test -shared
80011         link meets our qualifications.
80012         * configure: Regenerated.
80014         * config.make.in (output-format): New variable.
80015         * configure.in: Check for ld --print-output-format support.
80016         * configure: Regenerated.
80017         * Makerules ($(common-objpfx)format.lds)
80018         [$(output-format) != unknown]: Just use $(output-format),
80019         instead of the linker-script munging.
80021 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80023         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80024         of $(common-objpfx)shlib.lds.
80025         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80027         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80028         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80030         * configure.in (-z relro check): Adjust test code to add a large
80031         writable data section after it.
80032         * configure: Regenerated.
80034 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80036         * configure.in (-z relro check): Fix test code to make the variable
80037         truly const.
80038         * configure: Regenerated.
80040 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80042         * nscd/nscd.h (struct traced_file): Define.
80043         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80044         elements.  Add traced_files.
80045         (inotify_fd): Declare.
80046         (register_traced_file): Declare.
80047         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80048         (inotify_fd): Export.
80049         (resolv_conf_descr): Remove.
80050         (nscd_init): Move inotify descriptor creation to main.
80051         Don't register files for notification here.
80052         (register_traced_file): New function.
80053         (invalidate_cache): Don't use reset_res to determine whether to call
80054         res_init, go through the list of registered files.
80055         (main_loop_poll): The inotify descriptors are now stored in the
80056         structures for the traced files.
80057         (main_loop_epoll): Likewise.
80058         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80059         to __nss_disable_nscd.
80060         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80061         for a database anymore.  Check the records for all the registered
80062         files instead.
80063         * nss/Makefile (libnss_files-routines): Add files-init.
80064         (libnss_db-routines): Add db-init.
80065         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80066         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80067         * nss/nss_db/db-init.c: New file.
80068         * nss/nss_files/files-init.c: New file.
80069         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80070         __nss_lookup_function.
80071         (__nss_lookup_function): Call nss_load_library.
80072         (nss_load_all_libraries): New function.
80073         (__nss_disable_nscd): Take parameter with callback function for files
80074         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80075         used for the cached services.
80076         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80077         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80078         options for features to all the files in nscd.
80080         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80082 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80084         * csu/elf-init.c (__libc_csu_init): Comment typo.
80086 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80088         * po/pl.po: Update from translation team.
80089         * po/ja.po: Likewise.
80090         * po/ru.po: Likewise.
80091         * po/ko.po: Likewise.
80092         * po/fr.po: Likewise.
80094 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80096         * configure.in (.ctors/.dtors header and trailer check):
80097         Use an empirical test on a built program.
80098         * configure: Regenerated.
80100         * configure.in (-z relro check): Use an empirical test on a built DSO.
80101         Detect, but do not require, on ia64.
80102         * configure: Regenerated.
80104         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80105         Update tests that use readelf to use $READELF instead.
80106         * configure: Regenerated.
80108 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80110         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80111         if the result is not used.
80113 2011-07-05  Andreas Jaeger  <aj@suse.de>
80115         [BZ#9696]
80116         * stdlib/tst-strtod.c: Add testcase.
80118 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80120         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80121         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80122         The latter has a higher limit.  Take additional parameter to pass to
80123         the new function.
80124         (__pathconf): Pass file to __statfs_link_max.
80125         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80126         __statfs_link_max.
80127         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80128         __statfs_link_max.
80130         [BZ #12868]
80131         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80132         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80133         Handle Lustre.
80134         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80135         (__statfs_filesize_max): Likewise.
80136         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80138 2011-07-05  Andreas Jaeger  <aj@suse.de>
80140         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80142 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80144         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80145         `status' variable.
80146         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80147         Likewise.
80149 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80151         * Makefile (strop-tests): Add strncat.
80152         * string/test-strncat.c: New file.
80154 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80156         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80158 2011-06-21  Andreas Jaeger  <aj@suse.de>
80160         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80161         Copy rule from iconvdata/Makefile.
80163 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80165         [BZ #12922]
80166         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80167         but no long options are defined, just return 'W'.
80169 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80171         [BZ #9696]
80172         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80174 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80176         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80177         netgroups to read.
80178         (innetgr): Likewise.
80180 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80182         * config.make.in (install_root): Default to $(DESTDIR).
80184 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80186         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80188 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80190         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80192         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80193         containing directory rather than embedding absolute directory names.
80195         * scripts/check-local-headers.sh: Rewritten using awk.
80196         Match by word, not by line.  Print error messages for matches.
80197         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80199         * Makerules [shlib-lds-flags empty]:
80200         ($(common-objpfx)libc_pic.opts): New target.
80201         ($(common-objpfx)libc_pic.os.clean): New target.
80202         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80204         * config.make.in (OBJCOPY): New variable.
80205         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80206         * configure: Regenerated.
80208         * config.make.in (use-default-link): New variable.
80209         * configure.in (use_default_link): Grok --with-default-link to set it.
80210         * configure: Regenerated.
80211         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80212         (shlib-lds, shlib-lds-flags): Define to empty.
80214         * Makerules (shlib-lds): New variable.
80215         (shlib-lds-flags): New variable.
80216         (build-shlib, build-moduile, build-module-asneeded): Use it.
80217         ($(common-objpfx)libc.so): Use $(shlib-lds).
80218         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80219         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80221         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80222         DT_FLAGS/DT_FLAGS_1 with zero flags.
80224         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80225         linker script munging.
80227 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80229         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80230         as 128-bit value.
80231         * crypt/sha512.c (sha512_process_block): Perform total addition using
80232         128-bit if possible.
80233         (__sha512_finish_ctx): Likewise.
80234         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80235         as 64-bit value.
80236         * crypt/sha256.c (SWAP64): Define.
80237         (sha256_process_block): Perform total addition using 64-bit if
80238         possible.
80239         (__sha256_finish_ctx): Likewise.
80241 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80243         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80245         * nscd/hstcache.c (cache_addhst): Likewise.
80246         * nscd/grpcache.c (cache_addgr): Likewise.
80247         * nscd/aicache.c (addhstaiX): Likewise.
80248         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80250 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80252         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80254         * nscd/hstcache.c (cache_addhst): Likewise.
80255         * nscd/grpcache.c (cache_addgr): Likewise.
80256         * nscd/aicache.c (addhstaiX): Likewise.
80258 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80260         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80261         domain only when needed.
80263 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80266         is always restored.
80268 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80270         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80271         are re-adding the entry.
80272         * nscd/servicescache.c (cache_addserv): Likewise.
80274 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80276         * sysdeps/generic/dl-irel.h: fix protection against multiple
80277         inclusions.
80278         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80280 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80282         [BZ #12935]
80283         * malloc/memusage.sh: Fix quoting in message.
80284         * debug/xtrace.sh: Likewise.
80286         * configure.in: Remove support for --experimental-malloc option, make
80287         it the default.
80288         * config.make.in: Likewise.
80289         * malloc/Makefile: Likewise.
80291 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80293         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80294         two-byte characters.
80296 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80298         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80299         AC_CACHE_CHECK invocation.
80300         * configure: Regenerated.
80302         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80304 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80306         [BZ #12350]
80307         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80308         bit from old_res_options.
80310         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80312         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80313         value type for setfct.
80315 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80317         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80318         __gettimeofday instead of gettimeofday.
80320 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80322         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80324 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80326         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80329         info.
80331 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80334         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80335         strcpy-sse2-unaligned strncpy-sse2-unaligned
80336         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80337         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80338         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80339         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80340         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80341         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80342         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80343         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80344         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80345         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80346         (STRCPY): Support SSE2 and SSSE3 versions.
80348 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80350         [BZ #12874]
80351         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80352         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80353         kernels which artificially limit size of requests.
80355 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80358         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80359         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80360         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80361         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80362         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80363         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80364         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80365         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80366         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80367         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80368         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80369         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80370         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80371         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80373         Enable unaligned load optimization for Intel Core i3, i5 and i7
80374         processors.
80375         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80376         Define.
80377         (index_Fast_Unaligned_Load): Define.
80378         (HAS_FAST_UNALIGNED_LOAD): Define.
80380 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80382         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80384 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80386         [BZ #12907]
80387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80388         until it is clear that the information is realy needed.
80389         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80391 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80395 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80398         /sys/devices/system/cpu/online if it is usable.
80400         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80401         reading the information from the /proc filesystem to once a second.
80403 2011-06-21  Andreas Jaeger  <aj@suse.de>
80405         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80406         NULL after inclusion of kernel headers.
80408 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80410         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80411         calls to internal_setent.
80413         [BZ #12885]
80414         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80415         addresses using gethostbyname4_r ignore IPv4 addresses.
80417         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80418         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80420         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80422 2011-06-20  David S. Miller  <davem@davemloft.net>
80424         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80425         inclusions.
80426         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80428         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80429         (elf_irel): Use it.
80430         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80431         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80432         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80433         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80434         * sysdeps/x86_64/dl-irel.h: Likewise.
80436         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80437         * elf/dl-sym.c: Likewise.
80439 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80441         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80442         need to dereference resplen2.
80444 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80446         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80448 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80450         * Makeconfig: Define vardbdir and inst_vardbdir.
80451         * nss/Makefile: Add rules to install db-Makefile.
80453         * nss/nss_db/db-XXX.c: Cleanup.
80455         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80456         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80457         GLIBC_PRIVATE.
80458         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80459         * nss/makedb.c: Implement -g option to specify that value strings
80460         are generated and should not be added to table iterated over for
80461         get*ent calls.
80462         * nss/nss_db/db-initgroups.c: New file.
80464         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80465         interface.
80467         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80468         (internal_getgrouplist): Adjust to name change.
80469         Update use_initgroups_entry if this is not the first call.
80470         * nss/databases.def: Add initgroups entry.
80472         * nss/makedb.c (compute_tables): Check result of multiple hash table
80473         sizes to minimize maximum chain length.
80475 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80477         * Versions.def: Add entry for libnss_db.
80478         * shlib-versions: Likewise.
80479         * nss/Makefile: Add rules to build libnss_db.
80480         * nss/Versions: Add libnss_db information.  Organize libnss_files
80481         entries better.
80482         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80483         makedb progra.  Some minor improvements to generate smaller files.
80484         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80485         here from...
80486         * nss/makedb.c: ...here.
80487         Improve database format to be smaller and require less memory at
80488         runtime.
80489         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80490         db anymore.
80491         * nss/nss_db/db-netgrp.c: Likewise.
80492         * nss/nss_db/db-open.c: Likewise.
80493         * nss/nss_files/flies-XXX.x: Adjust comments.
80494         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80495         * nss/nss_files/files-grp.c: Likewise.
80496         * nss/nss_files/files-hosts.c: Likewise.
80497         * nss/nss_files/files-network.c: Likewise.
80498         * nss/nss_files/files-proto.c: Likewise.
80499         * nss/nss_files/files-pwd.c: Likewise.
80500         * nss/nss_files/files-rpc.c: Likewise.
80501         * nss/nss_files/files-service.c: Likewise.
80502         * nss/nss_files/files-sgrp.c: Likewise.
80503         * nss/nss_files/files-spwd.c: Likewise.
80504         * nss/nss_db/db-alias.c: Removed.
80505         * nss/nss_db/dummy-db.h: Removed.
80507 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80509         * nss/makedb.c: Rewritten to not use database library.
80510         * nss/Makefile: Update to build new makedb program.
80512 2011-06-14  Andreas Jaeger  <aj@suse.de>
80514         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80515         memset declaration.
80517 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80520         tmpbuf.
80522 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80524         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80525         * elf/Makefile ($(objpfx)ld.so): Likewise.
80527         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80528         Don't list ld.so twice in dependencies.
80530         * posix/bug-regex31.c: Include <stdlib.h>.
80532         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80534         * nis/nss_compat/compat-spwd.c
80535         (getspent_next_nss_netgr): Remove unused variable.
80536         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80538         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80539         nonmembers" output to use the right array.
80541         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80543         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80545         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80546         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80547         * catgets/gencat.c (read_input_file): Likewise.
80548         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80550         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80551         variable definition inside #if's controlling its use.
80553         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80555         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80557         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80559         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80560         unreachable code.
80562         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80564         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80565         * configure: Regenerated.
80567         * Makerules: Revert last change.
80568         * elf/Makefile: Likewise.
80570 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80572         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80573         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80574         (reloc-link): Likewise.
80576 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80578         * elf/Makefile: Add rules to build pldd.
80579         * elf/pldd.c: New file.
80580         * elf/pldd-xx.c: New file.
80582 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80584         * version.h: Update for 2.15 development version.
80586 2011-06-07  David S. Miller  <davem@davemloft.net>
80588         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80589         ifuncs.
80590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80591         elf_machine_lazy_rel): Likewise.
80592         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80594         elf_machine_lazy_rel): Likewise.
80595         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80596         dl_hwcap via passed in argument.
80597         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80598         Likewise.
80600 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80602         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80604 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80606         [BZ #12849]
80607         * manual/fdl-1.1.texi: New file, verbatim from:
80608         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80609         * manual/lgpl-2.1.texi: New file, verbatim from:
80610         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80611         * manual/Makefile (licenses): New variable, list those new file names.
80612         (texis): Use it.
80613         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80615         * manual/fdl.texi: File removed.
80616         * manual/lesser.texi: File removed.
80617         * manual/libc.texinfo (Copying, Documentation License):
80618         Use new @include file names, put @appendix directive before @include.
80620 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80622         [BZ #12841]
80623         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80624         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80625         (mq_open): Add __NTH.
80627 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80630         Assume Intel Core i3/i5/i7 processor if AVX is available.
80632 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80634         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80635         typo.
80637 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80639         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80640         memory.  Use alloca_account.  Fix memory leak when retrying.
80642 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80644         * version.h (RELEASE): Bump for 2.14 release.
80645         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80647         * config.make.in (RANLIB): Remove entry.
80649 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80651         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80652         (libc.pot): Work around missing support for .ksh extension in xgettext.
80654         [BZ #12684]
80655         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80656         if both request failed.
80657         (send_dg): In case of server errors clear resplen or *resplen2.
80659         [BZ #12454]
80660         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80661         when there are multiple maps.
80662         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80663         (_dl_fini): Remove test here.
80665         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80667 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80669         [BZ #12350]
80670         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80671         bit from old_res_options.
80672         (gaih_inet): Likewise.
80674         [BZ #11099]
80675         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80676         as signed.
80678         * resolv/res_init.c (res_setoptions): Make the code more compact.
80680         [BZ #11558]
80681         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80682         set RES_USEVC.
80684         [BZ #11634]
80685         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80687         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80689         [BZ #11781]
80690         * malloc/malloc.h: Declare malloc hook variables as volatile.
80692         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80693         in last patch.
80695         [BZ #11799]
80696         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80697         raise in the comment.
80698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80700         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80702 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80704         [BZ #12811]
80705         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80706         grow the buffers more if it already has to be sufficient.
80707         (build_wcs_upper_buffer): Likewise.
80708         * posix/regexec.c (check_matching): Likewise.
80709         (clean_state_log_if_needed): Likewise.
80710         (extend_buffers): Don't enlarge buffers beyond size of the input
80711         buffer.
80712         Patches mostly by Emil Wojak <emil@wojak.eu>.
80713         * posix/bug-regex32.c: New file.
80714         * posix/Makefile (tests): Add bug-regex32.
80716         * locale/findlocale.c (_nl_find_locale): Return right away if
80717         _nl_explode_name failed.
80718         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80720         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80722         * debug/xtrace.sh: Unify messages.
80723         * malloc/memusage.sh: Likewise.
80725         [BZ #12813]
80726         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80727         time symbol from vDSO.  Substitute with vsyscall if not available.
80728         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80729         __vdso_time.
80731         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80732         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80733         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80734         Add sendmmsg and internal_sendmmsg.
80735         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80736         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80737         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80739         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80740         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80741         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80743 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80745         [BZ #12813]
80746         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80747         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80748         available.
80749         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80750         __vdso_getcpu.
80752         [BZ #12814]
80753         * iconvdata/Makefile (tests): Add bug-iconv9.
80754         * iconvdata/bug-iconv9.c: New file.
80756 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80758         [BZ #12814]
80759         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80761 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80763         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80764         (struct user_regs_struct): Change intcs field back to cs.
80766 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80768         * po/ja.po: Update from translation team.
80770 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80772         [BZ #12795]
80773         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80774         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80776 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80778         * stdlib/longlong.h: Update from GCC.
80780 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80782         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80783         parameter name.
80784         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80785         Add parameter name.
80786         (__sysconf): Pass it down.
80788 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80790         [BZ #12671]
80791         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80792         some situations.
80793         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80794         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80795         add in in __libc_use_alloca calls.  Adjust callers.
80796         (glob): Use malloc in some situations.
80798         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80799         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80800         pltexit.
80802 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80804         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80805         and CLOCK_BOOTTIME_ALARM.
80807         [BZ #12782]
80808         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80809         is returned.
80811         * string/_strerror.c (__strerror_r): Print negative errors as signed
80812         numbers.
80814         [BZ #12777]
80815         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80816         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80817         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80819         * configure.in: Fix typo in redirection and correct removal of test
80820         files in two cases.
80822         [BZ #12788]
80823         * locale/setlocale.c (new_composite_name): Fix test to check for
80824         identical name of all categories.
80826         [BZ #12792]
80827         * libio/filedoalloc.c (local_isatty): New function.
80828         (_IO_file_doallocate): Use local_isatty.
80829         * stdio-common/perror.c (perror): In case a new stream is used
80830         forward the stream error.
80831         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80832         error flag.
80834 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80836         [BZ #11884]
80837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80838         alloca.
80839         * include/alloca.h (extend_alloca_account): Define.
80841         [BZ #11857]
80842         * posix/regex.h: Fix comments with documentation of user-accessible
80843         fields after compilation and describe correct free'ing of pattern
80844         after re_compile_pattern.
80845         Patch by Reuben Thomas <rrt@sc3d.org>.
80847 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80849         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80850         and -mno-altivec to prevent the compiler from using Altivec and/or
80851         VSX instructions when the corresponding registers are not available.
80853 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80855         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80857 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80859         * libio/freopen.c (freopen): Use __dup2, not dup2.
80860         * libio/freopen64.c (freopen64): Likewise.
80862 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80864         [BZ #12775]
80865         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80866         * math/Makefile (tests): Add test-powl.
80867         (CFLAGS-test-powl.c): Define.
80868         * math/test-powl.c: New file.
80870 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80872         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80874 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80876         [BZ #11837]
80877         * iconvdata/gb18030.c: Update to GB18020-2005.
80879 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80881         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80882         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80883         Patch by Aharon Robbins <arnold@skeeve.com>.
80885         [BZ #11892]
80886         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80887         on the stack.
80889         [BZ #11895]
80890         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80891         through underflows.
80893         [BZ #12766]
80894         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80895         point to strings before performing equality test for error_one_per_line
80896         mode.
80898         [BZ #11697]
80899         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80901         [BZ #11820]
80902         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80903         (struct user_fpregs_struct): Avoid __uint*_t types.
80905         [BZ #6420]
80906         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80907         symbol info.  Use it instead of calling _dl_addr locally.
80908         (lock_and_info): New function.
80909         (tr_freehook): Call lock_and_info and pass symbol info as additional
80910         parameter to tr_where.
80911         (tr_mallochook): Likewise.
80912         (tr_reallochook): Likewise.
80913         (tr_memalignhook): Likewise.
80915         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80916         used and couldn't be at all thread-safe.
80918 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80920         * libio/freopen.c (freopen): Don't close old file descriptor
80921         before the new one is opened.  Instead dup the new file descriptor
80922         to the old one after the new stream is created.
80923         * libio/freopen64.c (freopen64): Likewise.
80924         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80925         * libio/fileops.c (_IO_new_file_close_it): Handle new
80926         _IO_FLAGS2_NOCLOSE flag.
80927         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80928         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80929         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80930         _IO_FLAGS2_NOCLOSE flag.
80931         * include/unistd.h: Add hidden_proto for dup3.
80932         Define __have_dup3.
80933         * io/dup3.c: Define hidden symbol.
80934         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80936         [BZ #7101]
80937         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80938         when an incomplete long option is used.
80939         * posix/tst-getopt_long1.c: New file.
80940         * posix/Makefile (tests): Add tst-getopt_long1.
80942         [BZ #10138]
80943         * scripts/config.guess: Update from autoconf-2.68.
80944         * scripts/config.sub: Likewise.
80946         [BZ #10157]
80947         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80948         tests into ...
80949         (has_cpuclock): ...this.  New function.
80950         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80951         macro here based on has_cpuclock code.
80953         [BZ #10149]
80954         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80955         First byte (not low byte) is now always NUL.
80956         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80959         Use non-cancelable interfaces.
80961         [BZ #9809]
80962         * locale/iso-639.def: Add entry for Sorani.
80964         [BZ #11901]
80965         * include/stdlib.h: Move include protection to the right place.
80966         Define abort_msg_s.  Declare __abort_msg with it.
80967         * stdlib/abort.c (__abort_msg): Adjust type.
80968         * assert/assert.c (__assert_fail_base): New function.  Majority
80969         of code from __assert_fail.  Allocate memory for __abort_msg with
80970         mmap.
80971         (__assert_fail): Now call __assert_fail_base.
80972         * assert/assert-perr.c: Remove bulk of implementation.  Use
80973         __assert_fail_base.
80974         * include/assert.hL Declare __assert_fail_base.
80975         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80976         mmap.
80977         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80979 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80981         [BZ #11952]
80982         [BZ #12453]
80983         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80984         until all modules are registered in the DTV.
80985         * elf/Makefile: Add rules to build and run tst-tls19.
80986         * elf/tst-tls19.c: New file.
80987         * elf/tst-tls19mod1.c: New file.
80988         * elf/tst-tls19mod2.c: New file.
80989         * elf/tst-tls19mod3.c: New file.
80990         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80992         [BZ #12083]
80993         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80994         correctly.
80996         [BZ #12601]
80997         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80998         two-byte sequence errors.
80999         * iconvdata/Makefile (tests): Add bug-iconv8.
81000         * iconvdata/bug-iconv8.c: New file.
81002         [BZ #12626]
81003         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81004         buf2 definition.
81006         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81008         [BZ #12432]
81009         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81010         (dummy_getcfa): New function.
81011         (init): Get _Unwind_GetCFA address, use dummy if not found.
81012         (backtrace_helper): In recursion check, also check whether CFA changes.
81013         (__backtrace): Completely initialize arg.
81015         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81016         storing incomplete byte sequence in state object.  Avoid testing for
81017         guaranteed too small input if we know there is enough data available.
81019 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81021         * Makeconfig (+link-pie): Indent.
81022         * Rules (binaries-pie): Define if $(have-fpie) and
81023         $(build-shared).
81024         (binaries-shared): Also filter out $(binaries-pie).
81025         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81026         * nscd/Makefile (others-pie): Add nscd.
81027         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81028         ($(objpfx)nscd): Remove command override.
81029         * login/Makefile (others-pie): Add pt_chown.
81030         ($(objpfx)pt_chown): Remove command override.
81031         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81032         remove command overrides.
81034 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81036         * libio/tst_putwc.c: Fix error messages.
81038         [BZ #12724]
81039         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81040         currently writing and seek to current position when not.
81041         * libio/Makefile (tests): Add bug-fclose1.
81042         * libio/bug-fclose1.c: New file.
81044 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81046         [BZ #12511]
81047         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81048         don't set DF_1_NODELETE here.
81049         (do_lookup_x): When entering new entry test for copy relocation
81050         and if necessary set DF_1_NODELETE flag.
81051         * elf/tst-unique4.cc: New file.
81052         * elf/tst-unique4.h: New file.
81053         * elf/tst-unique4lib.cc: New file.
81054         * elf/Makefile: Add rules to build and run tst-unique4.
81055         Patch by Piotr Bury <pbury@goahead.com>.
81057 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81059         [BZ #12052]
81060         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81062         [BZ #12625]
81063         * misc/mntent_r.c (addmntent): Flush the stream after the output
81065         [BZ #12393]
81066         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81067         (is_trusted_path_normalize): Skip initial colon.  Append slash
81068         to empty buffer.  Duplicate is_trusted_path code but allow
81069         constructed patch to be prefix.
81070         (is_dst): Allow $ORIGIN followed by /.
81071         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81072         Correct testing of result of is_trusted_path_normalize
81073         (decompose_rpath): Fix warning.
81075 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81077         [BZ #11257]
81078         * grp/initgroups.c (internal_getgrouplist): When we found the service
81079         list through the initgroups entry in nsswitch.conf do not always
81080         continue on a successful lookup.  Don't always use the
81081         __nss_group_database value if it is set.
81082         * nss/nsswitch.conf (initgroups): Change action for successful db
81083         lookup to continue for compatibility.
81085 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81087         [BZ #11532]
81088         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81089         and CP774 modules.
81090         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81091         and CP774 modules.
81092         * iconvdata/tst-tables.sh: Likewise.
81093         * iconvdata/cp770.c: New file.
81094         * iconvdata/cp771.c: New file.
81095         * iconvdata/cp772.c: New file.
81096         * iconvdata/cp773.c: New file.
81097         * iconvdata/cp774.c: New file.
81098         * iconvdata/testdata/CP770: New file.
81099         * iconvdata/testdata/CP770..UTF8: New file.
81100         * iconvdata/testdata/CP771: New file.
81101         * iconvdata/testdata/CP771..UTF8: New file.
81102         * iconvdata/testdata/CP772: New file.
81103         * iconvdata/testdata/CP772..UTF8: New file.
81104         * iconvdata/testdata/CP773: New file.
81105         * iconvdata/testdata/CP773..UTF8: New file.
81106         * iconvdata/testdata/CP774: New file.
81107         * iconvdata/testdata/CP774..UTF8: New file.
81109         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81110         END CHARMAP line.
81111         * iconvdata/gen-8bit-gap.sh: Likewise.
81112         * iconvdata/gen-8bit.sh: Likewise.
81114         * locale/iso-639.def: Add ary entry.
81116         [BZ #11258]
81117         * locale/C-translit.h.in: Add U20A1 transliteration.
81119         [BZ #12178]
81120         * locale/iso-639.def: Add wae entry.
81121         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81123         [BZ #12545]
81124         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81125         for n.
81127         [BZ #12711]
81128         * locale/C-translit.h.in: Add entry for U20B9.
81129         Patch by pravin.d.s@gmail.com.
81131 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81133         [BZ #12713]
81134         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81135         ENAMETOOLONG use generic getcwd.
81136         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81137         in rtld.  Use *stat64.
81138         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81139         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81140         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81141         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81142         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81143         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81144         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81145         __fstatat64 macros.
81146         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81147         * dirent/rewinddir.c: Add libc_hidden_def.
81148         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81149         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81151         * include/dirent.h (__alloc_dir): Add flags parameter.
81152         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81153         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81154         __alloc_dir.
81155         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81156         from fdopendir if O_CLOEXEC is already set.
81158 2011-03-15  Alan Modra  <amodra@gmail.com>
81160         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81161         l_tls_firstbyte_offset non-zero.  Save padding offset in
81162         l_tls_firstbyte_offset for later use.
81163         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81164         freeing static tls block.
81166 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81168         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81169         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81170         being defined by the kernel headers.
81172 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81174         [BZ #12734]
81175         * resolv/resolv.h: Define RES_NOTLDQUERY.
81176         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81177         no-tld-query and set RES_NOTLDQUERY.
81178         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81179         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81180         modern BIND to search name as TLD unless forbidden.
81182 2011-05-07  Petr Baudis  <pasky@suse.cz>
81183             Ulrich Drepper  <drepper@gmail.com>
81185         [BZ #12393]
81186         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81187         (is_trusted_path): ...to here.
81188         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81189         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81190         using is_trusted_path_normalize() in setuid scripts.
81192 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81194         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81195         __BEGIN/__END_DECLS.
81197 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81199         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81200         NSS_STATUS_NOTFOUND if no record was found.
81202 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81204         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81205         (headers-not-in-tirpc): Remove rpc/netdb.h
81206         * resolv/netdb.h: Revert last change.
81208 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81210         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81211         circular dependency between libgcc.a and libc.a.
81213 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81215         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81216         * nis/Makefile: Don't install rpcsvc/*.
81217         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81218         instead of <rpc/types.h>.
81219         (MAXHOSTNAMELEN): Define.
81221 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81223         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81225 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81227         [BZ #12714]
81228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81229         gethostbyname4_r when IPv6 results are possible.
81231 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81233         [BZ #12723]
81234         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81235         _PC_PIPE_BUF handling.
81237 2011-04-30  Bruno Haible  <bruno@clisp.org>
81239         [BZ #12717]
81240         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81241         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81242         to 'int'.
81243         * inet/getnameinfo.c (getnameinfo): Likewise.
81245 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81247         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81248         to groups setting in database lookup.
81249         * nss/nsswitch.conf: Add initgroups entry.
81251 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81253         [BZ #12685]
81254         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81255         mode string.
81256         Patch by Eric Blake <eblake@redhat.com>.
81258 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81260         * sunrpc/Makefile (need-export-routines): Add svc_run.
81261         (routines): Remove svc_run.
81262         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81263         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81264         * sunrpc/svc_run.c (svc_run): Likewise.
81265         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81267 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81269         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81270         problem in reallocation in last patch.
81272 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81274         * sunrpc/Makefile: Move inclusion of Rules.
81276 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81278         * nss/nss_files/files-initgroups.c: New file.
81279         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81280         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81281         _nss_files_initgroups_dyn.
81283 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81285         * elf/elf.h (R_ARM_IRELATIVE): Define.
81287 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81289         * po/ru.po: Update from translation team.
81291 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81293         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81294         dependencies.
81296 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81298         [BZ #12653]
81299         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81300         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81301         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81302         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81303         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81305 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81307         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81308         differing bytes.
81309         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81311         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81313 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81315         [BZ #12420]
81316         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81317         storing it.
81318         * stdlib/bug-getcontext.c: New file.
81319         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81321 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81323         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81324         instructions into .machine "z9-109".
81325         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81326         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81328 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81330         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81331         between environment variables and auxiliary vector.
81333 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81335         * Makefile: Add rules to build linkobj/libc.so.
81336         * include/libc-symbols.h: Define libc_hidden_nolink.
81337         * include/rpc/auth.h: Mark functions which are to be hidden.
81338         * include/rpc/auth_des.h: Likewise.
81339         * include/rpc/auth_unix.h: Likewise.
81340         * include/rpc/clnt.h: Likewise.
81341         * include/rpc/des_crypt.h: Likewise.
81342         * include/rpc/key_prot.h: Likewise.
81343         * include/rpc/pmap_clnt.h: Likewise.
81344         * include/rpc/pmap_prot.h: Likewise.
81345         * include/rpc/pmap_rmt.h: Likewise.
81346         * include/rpc/rpc_msg.h: Likewise.
81347         * include/rpc/svc.h: Likewise.
81348         * include/rpc/svc_auth.h: Likewise.
81349         * include/rpc/xdr.h: Likewise.
81350         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81351         * nss/Makefile: Likewise.
81352         * sunrpc/Makefile: Don't install headers.  Build library with normal
81353         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81354         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81355         for the compat linking library.  Remove use of INTDEF/INTUSE.
81356         * sunrpc/auth_none.c: Likewise.
81357         * sunrpc/auth_unix.c: Likewise.
81358         * sunrpc/authdes_prot.c: Likewise.
81359         * sunrpc/authuxprot.c: Likewise.
81360         * sunrpc/clnt_gen.c: Likewise.
81361         * sunrpc/clnt_perr.c: Likewise.
81362         * sunrpc/clnt_raw.c: Likewise.
81363         * sunrpc/clnt_simp.c: Likewise.
81364         * sunrpc/clnt_tcp.c: Likewise.
81365         * sunrpc/clnt_udp.c: Likewise.
81366         * sunrpc/clnt_unix.c: Likewise.
81367         * sunrpc/des_crypt.c: Likewise.
81368         * sunrpc/des_soft.c: Likewise.
81369         * sunrpc/get_myaddr.c: Likewise.
81370         * sunrpc/key_call.c: Likewise.
81371         * sunrpc/key_prot.c: Likewise.
81372         * sunrpc/netname.c: Likewise.
81373         * sunrpc/pm_getmaps.c: Likewise.
81374         * sunrpc/pm_getport.c: Likewise.
81375         * sunrpc/pmap_clnt.c: Likewise.
81376         * sunrpc/pmap_prot.c: Likewise.
81377         * sunrpc/pmap_prot2.c: Likewise.
81378         * sunrpc/pmap_rmt.c: Likewise.
81379         * sunrpc/publickey.c: Likewise.
81380         * sunrpc/rpc_cmsg.c: Likewise.
81381         * sunrpc/rpc_common.c: Likewise.
81382         * sunrpc/rpc_dtable.c: Likewise.
81383         * sunrpc/rpc_prot.c: Likewise.
81384         * sunrpc/rpc_thread.c: Likewise.
81385         * sunrpc/rtime.c: Likewise.
81386         * sunrpc/svc.c: Likewise.
81387         * sunrpc/svc_auth.c: Likewise.
81388         * sunrpc/svc_authux.c: Likewise.
81389         * sunrpc/svc_raw.c: Likewise.
81390         * sunrpc/svc_run.c: Likewise.
81391         * sunrpc/svc_simple.c: Likewise.
81392         * sunrpc/svc_tcp.c: Likewise.
81393         * sunrpc/svc_udp.c: Likewise.
81394         * sunrpc/svc_unix.c: Likewise.
81395         * sunrpc/svcauth_des.c: Likewise.
81396         * sunrpc/xcrypt.c: Likewise.
81397         * sunrpc/xdr.c: Likewise.
81398         * sunrpc/xdr_array.c: Likewise.
81399         * sunrpc/xdr_float.c: Likewise.
81400         * sunrpc/xdr_intXX_t.c: Likewise.
81401         * sunrpc/xdr_mem.c: Likewise.
81402         * sunrpc/xdr_rec.c: Likewise.
81403         * sunrpc/xdr_ref.c: Likewise.
81404         * sunrpc/xdr_sizeof.c: Likewise.
81405         * sunrpc/xdr_stdio.c: Likewise.
81407 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81409         [BZ #12650]
81410         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81411         * sysdeps/ia64/dl-tls.h: Likewise.
81412         * sysdeps/powerpc/dl-tls.h: Likewise.
81413         * sysdeps/s390/dl-tls.h: Likewise.
81414         * sysdeps/sh/dl-tls.h: Likewise.
81415         * sysdeps/sparc/dl-tls.h: Likewise.
81416         * sysdeps/x86_64/dl-tls.h: Likewise.
81417         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81419 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81421         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81422         rpath element also skip the following colon.
81423         (expand_dynamic_string_token): Add is_path parameter and pass
81424         down to DL_DST_REQUIRED and _dl_dst_substitute.
81425         (decompose_rpath): Call expand_dynamic_string_token with
81426         non-zero is_path.  Ignore empty rpaths.
81427         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81428         with zero is_path.
81430 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81433         Make cancelable.
81435 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81437         [BZ #12655]
81438         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81439         Patch by Filipe David Manana <fdmanana@apache.org>.
81441 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81443         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81444         Maintain aligned stack.
81445         (CHECK_RSP): Remove unused macro.
81447 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81449         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81450         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81452 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81454         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81456         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81458 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81460         [BZ #12518]
81461         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81462         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81463         * sysdeps/x86_64/memmove.c: New file.
81464         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81465         (memcpy): Renamed to ...
81466         (__new_memcpy): This.
81467         (memcpy): Provide GLIBC_2_14 memcpy.
81468         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81469         (memcpy): Provide GLIBC_2_2_5 memcpy.
81471 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81473         [BZ #12631]
81474         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81476 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81478         * misc/syncfs.c: New file.
81479         * misc/Makefile (routines): Add syncfs.
81480         * posix/unistd.h: Declare syncfs.
81481         * sysdeps/unix/syscalls.list: Add syncfs.
81483 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81485         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81486         open_by_handle_at.
81487         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81488         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81489         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81490         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81491         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81492         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81495 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81497         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81498         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81499         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81501         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81503         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81505         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81506         sync_file_range.c with -fexceptions.
81507         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81508         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81509         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81510         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81511         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81512         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81514         sync_file_range as cancellation point
81515         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81516         now a wrapper around __call_sync_file_range with cancellation handling.
81517         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81518         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81519         function name to __call_sync_file_range.
81520         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81521         Add call_sync_file_range.
81523 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81526         bits/timex.h.
81528 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81530         * iconv/iconv.h: Fix typo in comment.
81531         * io/fcntl.h: Likewise.
81532         * libio/stdio.h: Likewise.
81533         * posix/spawn.h: Likewise.
81534         * posix/unistd.h: Likewise.
81535         * stdlib/stdlib.h: Likewise.
81536         * time/time.h: Likewise.
81537         * wcsmbs/wchar.h: Likewise.
81539         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81540         open_by_handle): Add.
81541         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81542         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81543         Augment a few comments.
81544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81546         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81548         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81549         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81550         open_by_handle.
81552         * io/fcntl.h (AT_EMPTY_PATH): Define.
81554 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81556         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81557         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81558         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81559         to...
81560         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81561         * Versions.def: Add GLIBC_2.14.
81562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81563         Export.
81565 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81567         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81568         round counter.
81569         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81571 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81573         [BZ #12597]
81574         * string/test-strncmp.c (do_page_test): New function.
81575         (check2): Likewise.
81576         (test_main): Call check2.
81577         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81579 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81581         [BZ #12587]
81582         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81583         Handle cache information in CPU leaf 4.
81584         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81586 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81588         [BZ #12583]
81589         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81590         character representation.
81591         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81593 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81595         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81596         END(__isnan) to END(__isnanf) to match function entry point/label
81597         EALIGN(__isnanf,...).
81599 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81601         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81603 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81605         [BZ #12510]
81606         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81607         copy from the symbol referenced in the relocation to initialize the
81608         used variable.
81609         Patch by Piotr Bury <pbury@goahead.com>.
81610         * elf/Makefile: Add rules to build and tst-unique3.
81611         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81612         * elf/tst-unique3.cc: New file.
81613         * elf/tst-unique3.h: New file.
81614         * elf/tst-unique3lib.cc: New file.
81615         * elf/tst-unique3lib2.cc: New file.
81617         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81619 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81621         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81622         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81623         to _start.
81625 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81627         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81628         to-be-loaded object along a path to loader is ld.so.
81630 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81631             Ulrich Drepper  <drepper@gmail.com>
81633         * sysdeps/x86_64/memset.S: After aligning destination, code
81634         branches to different locations depending on the value of
81635         misalignment, when multiarch is enabled. Fix this.
81637 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81639         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81640         Set _x86_64_preferred_memory_instruction for AMD processsors.
81641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81642         Set bit_Prefer_SSE_for_memop for AMD processors.
81644 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81646         * libio/fmemopen.c (fmemopen): Optimize a bit.
81648 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81650         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81652 2011-03-03  Roland McGrath  <roland@redhat.com>
81654         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81656 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81658         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81659         __bzero_ultra1 instead of __memset_ultra1.
81661 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81662             Ulrich Drepper  <drepper@gmail.com>
81664         [BZ #12509]
81665         * include/link.h (struct link_map): Add l_orig_initfini.
81666         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81667         returning unsuccessfully.
81668         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81669         close of a file loaded at startup, restore the original l_initfini
81670         list.
81671         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81672         list, store the pointer.
81673         * elf/Makefile ($(objpfx)noload-mem): New rule.
81674         (noload-ENV): Define.
81675         (tests): Add $(objpfx)noload-mem.
81676         * elf/noload.c: Include <memcheck.h>.
81677         (main): Call mtrace.  Close all opened handles.
81679 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81681         [BZ #12454]
81682         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81683         dependencies are missing.
81685 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81687         Fix __if_freereq crash: Unlike the generic version which uses free,
81688         Hurd needs munmap.
81689         * sysdeps/mach/hurd/ifreq.h: New file.
81691 2011-01-27  Petr Baudis  <pasky@suse.cz>
81692             Ulrich Drepper  <drepper@gmail.com>
81694         [BZ 12445]#
81695         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81696         to extend_alloca().
81697         * stdio-common/bug23.c: New file.
81698         * stdio-common/Makefile (tests): Add bug23.
81700 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81701             Ulrich Drepper  <drepper@gmail.com>
81703         [BZ #12489]
81704         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81705         before performing relro protection.  At old place add assertion
81706         to make sure nothing changed.
81708 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81709             Glauber de Oliveira Costa  <glommer@gmail.com>
81711         * elf/elf.h: Add new ARM TLS relocs.
81713 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81716         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81717         cast from r3.
81718         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81719         'tests' variable.
81720         * sysdeps/wordsize-64/tst-writev.c: New file.
81722 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81724         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81725         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81726         insns in _dl_start to prevent a TOC reference before relocs are
81727         resolved.
81729 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81731         [BZ #12469]
81732         * Makeconfig: Remove RANLIB definition.
81733         * Makerules: Don't use RANLIB.
81734         * aclocal.m4: Remove ranlib test.
81735         * configure.in: No need to check for ranlib.
81736         * elf/rtld-Rules: Don't use RANLIB.
81738 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81740         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81741         protection macro.
81742         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81743         inclusion protection macro.
81745         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81746         SIGRTMIN and SIGRTMAX and print information in that case only when
81747         SIGRTMIN is defined.
81749 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81751         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81752         arginfo fn returning -1.
81754         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81755         and thousands string is zero terminated.
81757 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81760         sysdeps/unix/sysv/linux/bits/socket.h.
81762 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81764         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81765         (__CPU_COUNT): Remove old macros.
81766         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81767         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81768         (__CPU_ALLOC, __CPU_FREE): Add macros.
81769         (__sched_cpualloc, __sched_cpufree): Add declarations.
81771 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81773         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81774         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81775         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81776         (readdhstai): Return value of addhstaiX call.
81777         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81778         (addgrbyX): Return value returned by cache_addgr.
81779         (readdgrbyname): Return value returned by addgrbyX.
81780         (readdgrbygid): Likewise.
81781         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81782         (addpwbyX): Return value returned by cache_addpw.
81783         (readdpwbyname): Return value returned by addhstbyX.
81784         (readdpwbyuid): Likewise.
81785         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81786         (addservbyX): Return value returned by cache_addserv.
81787         (readdservbyname): Return value returned by addservbyX:
81788         (readdservbyport): Likewise.
81789         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81790         (addhstbyX): Return value returned by cache_addhst.
81791         (readdhstbyname): Return value returned by addhstbyX.
81792         (readdhstbyaddr): Likewise.
81793         (readdhstbynamev6): Likewise.
81794         (readdhstbyaddrv6): Likewise.
81795         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81796         (readdinitgroups): Return value returned by addinitgroupsX.
81797         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81798         (prune_cache): Keep track of timeout value of re-added entries.
81799         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81800         * nscd/nscd.h: Adjust prototypes of readd* functions.
81802 2011-02-04  Roland McGrath  <roland@redhat.com>
81804         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81805         (nis_stats): Likewise.
81806         * nis/nis_modify.c (nis_modify): Likewise.
81807         * nis/nis_remove.c (nis_remove): Likewise.
81808         * nis/nis_add.c (nis_add): Likewise.
81810         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81812         * posix/fnmatch_loop.c: Add some consts.
81814         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81816 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81818         [BZ #12460]
81819         * config.make.in (config-cflags-novzeroupper): Define.
81820         * configure.in: Substitute libc_cv_cc_novzeroupper.
81821         * elf/Makefile (AVX-CFLAGS): Define.
81822         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81823         (CFLAGS-tst-auditmod4a.c): Likewise.
81824         (CFLAGS-tst-auditmod4b.c): Likewise.
81825         (CFLAGS-tst-auditmod6b.c): Likewise.
81826         (CFLAGS-tst-auditmod6c.c): Likewise.
81827         (CFLAGS-tst-auditmod7b.c): Likewise.
81828         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81830 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81832         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81833         function to the callback.
81834         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81836 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81838         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81839         of errno.
81841 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81843         [BZ #11724]
81844         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81845         of constructors.
81846         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81847         of destructors.
81848         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81850         [BZ #11724]
81851         * elf/Makefile: Add rules to build and run new test.
81852         * elf/tst-initorder.c: New file.
81853         * elf/tst-initorder.exp: New file.
81854         * elf/tst-initordera1.c: New file.
81855         * elf/tst-initordera2.c: New file.
81856         * elf/tst-initordera3.c: New file.
81857         * elf/tst-initordera4.c: New file.
81858         * elf/tst-initorderb1.c: New file.
81859         * elf/tst-initorderb2.c: New file.
81860         * elf/tst-order-a1.c: New file.
81861         * elf/tst-order-a2.c: New file.
81862         * elf/tst-order-a3.c: New file.
81863         * elf/tst-order-a4.c: New file.
81864         * elf/tst-order-b1.c: New file.
81865         * elf/tst-order-b2.c: New file.
81866         * elf/tst-order-main.c: New file.
81867         New test case by George Gensure <werkt0@gmail.com>.
81869 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81872         decoding ACE if AI_CANONIDN.
81874 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81876         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81878 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81880         * version.h (RELEASE): Bump for 2.13 release.
81881         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81883         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81885         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81886         MADV_NOHUGEPAGE.
81887         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81888         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81889         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81890         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81891         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81892         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81894         * posix/getconf.c: Update copyright year.
81895         * catgets/gencat.c: Likewise.
81896         * csu/version.c: Likewise.
81897         * debug/catchsegv.sh: Likewise.
81898         * debug/xtrace.sh: Likewise.
81899         * elf/ldconfig.c: Likewise.
81900         * elf/ldd.bash.in: Likewise.
81901         * elf/sprof.c (print_version): Likewise.
81902         * iconv/iconv_prog.c: Likewise.
81903         * iconv/iconvconfig.c: Likewise.
81904         * locale/programs/locale.c: Likewise.
81905         * locale/programs/localedef.c: Likewise.
81906         * malloc/memusage.sh: Likewise.
81907         * malloc/mtrace.pl: Likewise.
81908         * nscd/nscd.c (print_version): Likewise.
81909         * nss/getent.c: Likewise.
81911         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81912         PF_CAIF, and PF_ALG.
81913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81915 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81917         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81918         (modules-names): Use them.
81919         (ifunc-test-modules, ifunc-pie-tests): Define.
81920         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81921         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81922         (test-extras): Likewise.
81923         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81924         $(compile-command.c).
81925         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81926         (all-built-dso): Define.
81927         (check-textrel.out, check-execstack.out): Depend on it.
81929         * configure.in: Don't override --enable-multi-arch.
81931 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81933         [BZ #6812]
81934         * nscd/hstcache.c (tryagain): Define.
81935         (cache_addhst): Return tryagain not notfound for temporary errors.
81936         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81937         failed.
81939 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81941         [BZ #10563]
81942         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81943         to make the syscall.
81944         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81946         [BZ #12378]
81947         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81948         and fall back to matching as normal character if the string ends before
81949         the matching ']' is found.  This is what POSIX requires.
81950         * posix/testfnm.c: Adjust test result.
81951         * posix/globtest.sh: Adjust test result.  Add new test.
81952         * posix/tst-fnmatch.input: Likewise.
81953         * posix/tst-fnmatch2.c: Add new test.
81955 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81957         * elf/Makefile (check-execstack): Revert last change.  Depend on
81958         check-execstack.h.
81959         (check-execstack.h): New target.
81960         (generated): Add check-execstack.h.
81961         * elf/check-execstack.c: Include "check-execstack.h".
81962         (main): Revert last change.
81963         (handle_file): Return zero if GNU_STACK is absent and
81964         DEFAULT_STACK_PERMS doesn't include PF_X.
81966 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81968         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81969         in child fails because the descriptor is already closed.
81970         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81971         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81972         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81974         [BZ #12397]
81975         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81976         syscall.
81978         [BZ #10484]
81979         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81980         temporary buffer used to handle multi lookups locally.
81981         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81983 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81985         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81986         loader is ld.so.
81988 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81990         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81991         alignment for SSE2.
81993 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81995         [BZ #12394]
81996         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81997         characters.  When rounding increased number of integer digits recompute
81998         number of groups.
81999         * stdio-common/tst-grouping.c: New file.
82000         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82002 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82004         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82005         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82007         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82008         void.
82009         * bits/select.h: Likewise.
82011 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82013         * po/ja.po: Update from translation team.
82015 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82017         [BZ #11155]
82018         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82019         implementation just like for lxstat, fxstatat, et al.
82021 2010-12-27  Jim Meyering  <meyering@redhat.com>
82023         [BZ #12348]
82024         * posix/regexec.c (build_trtable): Return failure indication upon
82025         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82027 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82029         [BZ #12201]
82030         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82031         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82032         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82033         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82035         [BZ #12207]
82036         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82038         [BZ #12204]
82039         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82040         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82042 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82044         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82045         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82046         script has SORT_BY_INIT_PRIORITY.
82047         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82048         NO_CTORS_DTORS_SECTIONS is defined.
82049         * elf/soinit.c: Likewise.
82050         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82051         NO_CTORS_DTORS_SECTIONS is defined.
82052         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82053         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82054         * sysdeps/sh/init-first.c: Likewise.
82055         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82057 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82059         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82060         always use the slow path.
82062 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82064         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82065         similar rule which adds the sysdep directories to the header search in
82066         order to pick up the correct platform stackinfo.h.
82067         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82068         perform test if it is, otherwise return successfully without testing.
82069         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82070         DEFAULT_STACK_PERMS define in stackinfo.h.
82071         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82072         defined in stackinfo.h.
82073         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82074         DEFAULT_STACK_PERMS defined in stackinfo.h.
82075         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82076         * sysdeps/ia64/stackinfo.h: Likewise.
82077         * sysdeps/s390/stackinfo.h: Likewise.
82078         * sysdeps/sh/stackinfo.h: Likewise.
82079         * sysdeps/sparc/stackinfo.h: Likewise.
82080         * sysdeps/x86_64/stackinfo.h: Likewise.
82081         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82082         PF_X for powerpc64.  Retain PF_X for powerpc32.
82084 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82086         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82087         accurately.
82088         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82089         GETDENTS_64BIT_ALIGNED.
82091 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82093         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82095 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82097         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82098         _GNU_SOURCE.
82100         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82101         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82102         Remove __restrict.
82103         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82104         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82106 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82108         [BZ #11655]
82109         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82110         are initialized.
82112 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82114         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82116 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82118         * po/it.po: Update from translation team.
82120 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82123         unused codes.
82125 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82127         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82129 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82131         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82132         specially.
82133         (gaih_getanswer_slice): Likewise.
82135 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82137         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82139 2010-05-31  Petr Baudis  <pasky@suse.cz>
82141         [BZ #11149]
82142         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82143         silently even in the chroot mode.
82145 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82147         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82148         last patch a bit.  Pretty printing
82150 2010-05-31  Petr Baudis <pasky@suse.cz>
82152         [BZ #10085]
82153         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82154         initialization of skip_initgroups_dyn.
82156 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82158         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82159         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82161 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82163         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82165 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82167         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82168         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82169         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82170         ($(objpfx)tst-fnmatch-mem): New rule.
82171         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82172         * posix/tst-fnmatch.c (main): Call mtrace.
82174 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82177         Support Intel processor model 6 and model 0x2c.
82179 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82181         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82182           signed comparison.
82184 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82186         [BZ #12205]
82187         * string/test-strncasecmp.c (check_result): New function.
82188         (do_one_test): Use it.
82189         (check1): New function.
82190         (test_main): Use it.
82191         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82192         Support strcasecmp and strncasecmp.
82194 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82196         [BZ #12194]
82197         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82198         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82200 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82202         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82203         IFUNC support.
82204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82205         memset-x86-64.
82206         * sysdeps/x86_64/multiarch/bzero.S: New file.
82207         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82208         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82209         * sysdeps/x86_64/multiarch/memset.S: New file.
82210         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82212         Set bit_Prefer_SSE_for_memop for Intel processors.
82213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82214         Define.
82215         (index_Prefer_SSE_for_memop): Define.
82216         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82218 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82220         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82221         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82223 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82225         [BZ #12191]
82226         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82227         (__x86_64_raw_data_cache_size_half): Likewise.
82228         (__x86_64_raw_shared_cache_size): Likewise.
82229         (__x86_64_raw_shared_cache_size_half): Likewise.
82231         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82232         (__x86_64_raw_data_cache_size_half): Likewise.
82233         (__x86_64_raw_shared_cache_size): Likewise.
82234         (__x86_64_raw_shared_cache_size_half): Likewise.
82235         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82236         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82237         and __x86_64_raw_shared_cache_size_half.  Round
82238         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82239         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82240         to multiple of 256 bytes.
82242 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82244         [BZ #12167]
82245         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82246         of inacessible symlinks.  Verify result of symlink before returning it.
82247         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82248         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82250 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82252         * math/math.h (isinf): Fix typo in comment.
82254 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82256         * po/da.po: Update from translation team.
82258 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82260         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82261         is added to the list.
82263 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82264             Ulrich Drepper  <drepper@gmail.com>
82266         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82267         the global list here.  Move code to...
82268         (_dl_add_to_namespace_list): ...here.  New function.
82269         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82270         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82271         * elf/dl-load.c (lose): Don't remove the element from the list.
82272         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82273         (_dl_map_object): Likewise.
82275 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82277         [BZ #12159]
82278         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82279         into all bytes of SSE register.
82280         Patch by Richard Li <richardpku@gmail.com>.
82282 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82284         [BZ #12140]
82285         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82286         perturbing.
82288 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82290         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82291         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82292         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82293         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82295         submachine.
82296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82298 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82300         * include/dlfcn.h (__RTLD_SECURE): Define.
82301         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82302         mode & __RTLD_SECURE instead.
82303         (open_path): Rename preloaded parameter to secure.
82304         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82305         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82306         * elf/dl-deps.c (openaux): Likewise.
82307         * elf/rtld.c (struct map_args): Remove is_preloaded.
82308         (map_doit): Don't use it.
82309         (dl_main): Likewise.
82310         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82311         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82313 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82315         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82316         (sysd-rules-targets): Remove duplicates.
82317         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82318         rtld-%.$o dependency.
82320 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82322         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82323         _dl_map_object do it.
82325 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82327         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82328         fast fma builtins, define the macros in the C99 standard.
82329         (FP_FAST_FMAF): Likewise.
82330         (FP_FAST_FMAL): Likewise.
82331         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82333         * bits/mathdef.h: Update copyright year.
82334         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82336 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82338         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82339         builtins, define the macros in the C99 standard.
82340         (FP_FAST_FMAF): Likewise.
82341         (FP_FAST_FMAL): Likewise.
82342         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82343         multiply/add.
82344         (FP_FAST_FMAF): Likewise.
82346 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82348         [BZ #3268]
82349         * math/libm-test.inc (fma_test): Some new testcases.
82350         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82351         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82352         y and infinite z.  Do multiplication by C already in long double.
82353         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82355         y and infinite z.  Do bitwise or of inexact bit into u.d.
82356         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82357         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82358         * sysdeps/i386/fpu/s_fma.S: Removed.
82359         * sysdeps/i386/fpu/s_fmal.S: Removed.
82361 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82363         [BZ #3268]
82364         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82366         computation is not scheduled after fetestexcept.  Fix value
82367         of minimum denormal long double.
82369 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82371         [BZ #3268]
82372         * math/libm-test.inc (fma_test): Add some more tests.
82373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82374         correctly.
82376 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82378         * scripts/data/localplt-s390-linux-gnu.data: New file.
82379         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82381 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82383         [BZ #3268]
82384         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82385         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82386         instead of dbl-64.
82387         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82388         inlines.
82389         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82391         if one of x and y is very large and the other is subnormal.
82392         * sysdeps/s390/fpu/s_fmaf.c: New file.
82393         * sysdeps/s390/fpu/s_fma.c: New file.
82394         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82395         * sysdeps/powerpc/fpu/s_fma.S: New file.
82396         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82397         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82398         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82400 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82402         [BZ #3268]
82403         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82404         fma tests.
82405         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82406         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82407         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82408         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82409         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82410         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82411         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82413 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82415         [BZ #12078]
82416         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82417         * posix/bug-regex31.input: Add test case.
82419 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82421         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82422         * posix/bug-regex31.input: New file.
82424         [BZ #12078]
82425         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82426         (parse_sub_exp): Fix last change, use postorder.
82428         * posix/bug-regex31.c: New file.
82429         * posix/Makefile: Add rules to build and run bug-regex31.
82431         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82433         [BZ #12078]
82434         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82436         [BZ #12108]
82437         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82438         to have entries in sys_siglist.
82440         [BZ #12093]
82441         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82442         be NULL.
82444 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82446         [BZ #3268]
82447         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82448         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82449         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82450         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82451         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82452         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82453         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82454         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82455         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82456         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82457         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82458         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82459         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82460         * math/ftestexcept.c (fetestexcept): Likewise.
82461         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82462         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82463         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82464         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82465         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82466         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82467         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82469 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82471         [BZ #12107]
82472         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82473         newline.
82475 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82477         * string/bug-strstr1.c: New file.
82478         * string/Makefile: Add rules to build and run bug-strstr1.
82480 2010-10-05  Eric Blake  <eblake@redhat.com>
82482         [BZ #12092]
82483         * string/str-two-way.h (two_way_long_needle): Always clear memory
82484         when skipping input due to the shift table.
82486 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82488         [BZ #12005]
82489         * malloc/mcheck.c: Handle large requests.
82491         [BZ #12077]
82492         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82493         for strncmp and strncasecmp.
82494         * string/stratcliff.c: Add tests for strcmp and strncmp.
82495         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82497 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82499         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82500         __set_fpscr.
82502 2010-09-30  Andreas Jaeger  <aj@suse.de>
82504         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82505         (CGROUP_SUPER_MAGIC): Define.
82506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82507         Handle btrfs and cgroup file systems.
82508         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82509         Likewise.
82511 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82513         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82514         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82516 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82518         [BZ #12067]
82519         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82520         trying to locate the ELF header.
82522 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82524         [BZ #11611]
82525         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82526         Mask out sign-bit copies when constructing f_fsid.
82528 2010-09-24  Petr Baudis <pasky@suse.cz>
82530         * debug/stack_chk_fail_local.c: Add missing licence exception.
82531         * debug/warning-nop.c: Likewise.
82533 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82535         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82536         implementing getdents64 using getdents syscall, set d_type if
82537         __ASSUME_GETDENTS32_D_TYPE.
82539 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82541         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82542         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82544 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82546         [BZ #12037]
82547         * posix/unistd.h: Undo change of feature selection for ftruncate from
82548         2010-01-11.
82550 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82552         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82553         detection.
82555 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82557         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82558         fanotify_mark.
82559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82561 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82563         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82564         variables after CHECK_SP call.
82565         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82567 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82568             Ulrich Drepper  <drepper@redhat.com>
82570         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82571         re-relocationg ld.so.
82572         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82573         _dl_init_paths call.
82574         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82575         here anymore.
82577 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82579         * resolv/res_init.c (__res_vinit): Count the default server we added.
82581 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82582             Ulrich Drepper  <drepper@redhat.com>
82584         [BZ #11968]
82585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82586         (____longjmp_chk): Use %ebx for saving value across system call.
82587         Add unwind info.
82589 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82591         * manual/Makefile: Don't mix pattern rules with normal rules.
82593 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82595         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82596         operation.
82597         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82598         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82599         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82600         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82602         Likewise.
82604 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82606         [BZ #11979]
82607         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82608         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82610 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82612         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82613         * sysdeps/x86_64/addmul_1.S: Likewise.
82614         * sysdeps/x86_64/lshift.S: Likewise.
82615         * sysdeps/x86_64/mul_1.S: Likewise.
82616         * sysdeps/x86_64/rshift.S: Likewise.
82617         * sysdeps/x86_64/sub_n.S: Likewise.
82618         * sysdeps/x86_64/submul_1.S: Likewise.
82620 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82622         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82623         Define __sched_param instead of SCHED_* and sched_param when
82624         <bits/sched.h> is included with __need_schedparam defined.
82625         * bits/sched.h [__need_schedparam]
82626         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82627         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82628         (__defined_schedparam): Define to 1.
82629         (__sched_param): New structure, identical to sched_param.
82630         (__need_schedparam): Undefine.
82632 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82634         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82635         (epoll_create1): Declare.
82637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82639 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82641         [BZ #7066]
82642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82643         shifting retval into place.
82645 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82647         * nis/rpcsvc/nis.h: Update copyright notice.
82648         * nis/rpcsvc/nis.x: Likewise.
82649         * nis/rpcsvc/nis_callback.h: Likewise.
82650         * nis/rpcsvc/nis_callback.x: Likewise.
82651         * nis/rpcsvc/nis_object.x: Likewise.
82652         * nis/rpcsvc/nis_tags.h: Likewise.
82653         * nis/rpcsvc/yp.h: Likewise.
82654         * nis/rpcsvc/yp.x: Likewise.
82655         * nis/rpcsvc/ypupd.h: Likewise.
82656         * nis/yp_xdr.c: Likewise.
82657         * nis/ypupdate_xdr.c: Likewise.
82659         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82660         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82661         (pmap_getport): Use __libc_rpc_getport.
82662         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82663         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82664         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82666 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82669         fanotify_mark.
82671 2010-08-27  Roland McGrath  <roland@redhat.com>
82673         * sysdeps/i386/i686/multiarch/Makefile
82674         (CFLAGS-varshift.c): New variable.
82676 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82678         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82679         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82681         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82683         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82685 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82687         * sysdeps/x86_64/strlen.S: Unroll the loop.
82688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82689         strlen-sse2 strlen-sse2-bsf.
82690         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82691         __strlen_no_bsf if bit_Slow_BSF is set.
82692         (__strlen_sse42): Removed.
82693         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82694         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82696 2010-08-25  Roland McGrath  <roland@redhat.com>
82698         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82699         * sysdeps/x86_64/multiarch/varshift.c: New file.
82700         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82701         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82702         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82703         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82705 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82708         strlen-sse2 strlen-sse2-bsf.
82709         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82710         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82711         (__strlen_sse2): Removed.
82712         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82713         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82715         bit_Slow_BSF for Atom.
82716         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82717         (index_Slow_BSF): Define.
82718         (HAS_SLOW_BSF): Define.
82720 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82722         [BZ #10851]
82723         * resolv/res_init.c (__res_vinit): When no server address at all
82724         is given default to loopback.
82726 2010-08-24  Roland McGrath  <roland@redhat.com>
82728         * configure.in: Remove config-name.h generation.
82729         * configure: Regenerated.
82730         * config-name.in: File removed.
82731         * scripts/config-uname.sh: New file.
82732         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82733         ($(objdir)config-name.h): New target.
82735         * sunrpc/rpc_parse.h: Avoid nested comment.
82737 2010-08-24  Richard Henderson  <rth@redhat.com>
82738             Ulrich Drepper  <drepper@redhat.com>
82739             H.J. Lu  <hongjiu.lu@intel.com>
82741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82743         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82744         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82745         _mm_alignr_epi8 with _mm_loadu_si128.
82746         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82747         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82748         (__m128i_shift_right): Removed.
82749         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82750         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82751         * sysdeps/x86_64/multiarch/varshift.h: New file.
82752         * sysdeps/x86_64/multiarch/varshift.S: New file.
82754 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82756         * configure.in: Move assembler checks to before sysdep dir checking.
82758 2010-08-20  Petr Baudis  <pasky@suse.cz>
82760         * LICENSES: Sync the sunrpc license.
82762 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82764         * sunrpc/auth_des.c: Update copyright notice once again.
82765         * sunrpc/auth_none.c: Likewise.
82766         * sunrpc/auth_unix.c: Likewise.
82767         * sunrpc/authdes_prot.c: Likewise.
82768         * sunrpc/authuxprot.c: Likewise.
82769         * sunrpc/bindrsvprt.c: Likewise.
82770         * sunrpc/clnt_gen.c: Likewise.
82771         * sunrpc/clnt_perr.c: Likewise.
82772         * sunrpc/clnt_raw.c: Likewise.
82773         * sunrpc/clnt_simp.c: Likewise.
82774         * sunrpc/clnt_tcp.c: Likewise.
82775         * sunrpc/clnt_udp.c: Likewise.
82776         * sunrpc/clnt_unix.c: Likewise.
82777         * sunrpc/des_crypt.c: Likewise.
82778         * sunrpc/des_soft.c: Likewise.
82779         * sunrpc/get_myaddr.c: Likewise.
82780         * sunrpc/getrpcport.c: Likewise.
82781         * sunrpc/key_call.c: Likewise.
82782         * sunrpc/key_prot.c: Likewise.
82783         * sunrpc/openchild.c: Likewise.
82784         * sunrpc/pm_getmaps.c: Likewise.
82785         * sunrpc/pm_getport.c: Likewise.
82786         * sunrpc/pmap_clnt.c: Likewise.
82787         * sunrpc/pmap_prot.c: Likewise.
82788         * sunrpc/pmap_prot2.c: Likewise.
82789         * sunrpc/pmap_rmt.c: Likewise.
82790         * sunrpc/rpc/auth.h: Likewise.
82791         * sunrpc/rpc/auth_unix.h: Likewise.
82792         * sunrpc/rpc/clnt.h: Likewise.
82793         * sunrpc/rpc/des_crypt.h: Likewise.
82794         * sunrpc/rpc/key_prot.h: Likewise.
82795         * sunrpc/rpc/netdb.h: Likewise.
82796         * sunrpc/rpc/pmap_clnt.h: Likewise.
82797         * sunrpc/rpc/pmap_prot.h: Likewise.
82798         * sunrpc/rpc/pmap_rmt.h: Likewise.
82799         * sunrpc/rpc/rpc.h: Likewise.
82800         * sunrpc/rpc/rpc_des.h: Likewise.
82801         * sunrpc/rpc/rpc_msg.h: Likewise.
82802         * sunrpc/rpc/svc.h: Likewise.
82803         * sunrpc/rpc/svc_auth.h: Likewise.
82804         * sunrpc/rpc/types.h: Likewise.
82805         * sunrpc/rpc/xdr.h: Likewise.
82806         * sunrpc/rpc_clntout.c: Likewise.
82807         * sunrpc/rpc_cmsg.c: Likewise.
82808         * sunrpc/rpc_common.c: Likewise.
82809         * sunrpc/rpc_cout.c: Likewise.
82810         * sunrpc/rpc_dtable.c: Likewise.
82811         * sunrpc/rpc_hout.c: Likewise.
82812         * sunrpc/rpc_main.c: Likewise.
82813         * sunrpc/rpc_parse.c: Likewise.
82814         * sunrpc/rpc_parse.h: Likewise.
82815         * sunrpc/rpc_prot.c: Likewise.
82816         * sunrpc/rpc_sample.c: Likewise.
82817         * sunrpc/rpc_scan.c: Likewise.
82818         * sunrpc/rpc_scan.h: Likewise.
82819         * sunrpc/rpc_svcout.c: Likewise.
82820         * sunrpc/rpc_tblout.c: Likewise.
82821         * sunrpc/rpc_util.c: Likewise.
82822         * sunrpc/rpc_util.h: Likewise.
82823         * sunrpc/rpcinfo.c: Likewise.
82824         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82825         * sunrpc/rpcsvc/key_prot.x: Likewise.
82826         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82827         * sunrpc/rpcsvc/mount.x: Likewise.
82828         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82829         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82830         * sunrpc/rpcsvc/rex.x: Likewise.
82831         * sunrpc/rpcsvc/rstat.x: Likewise.
82832         * sunrpc/rpcsvc/rusers.x: Likewise.
82833         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82834         * sunrpc/rpcsvc/spray.x: Likewise.
82835         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82836         * sunrpc/rtime.c: Likewise.
82837         * sunrpc/svc.c: Likewise.
82838         * sunrpc/svc_auth.c: Likewise.
82839         * sunrpc/svc_authux.c: Likewise.
82840         * sunrpc/svc_raw.c: Likewise.
82841         * sunrpc/svc_run.c: Likewise.
82842         * sunrpc/svc_simple.c: Likewise.
82843         * sunrpc/svc_tcp.c: Likewise.
82844         * sunrpc/svc_udp.c: Likewise.
82845         * sunrpc/svc_unix.c: Likewise.
82846         * sunrpc/svcauth_des.c: Likewise.
82847         * sunrpc/xcrypt.c: Likewise.
82848         * sunrpc/xdr.c: Likewise.
82849         * sunrpc/xdr_array.c: Likewise.
82850         * sunrpc/xdr_float.c: Likewise.
82851         * sunrpc/xdr_mem.c: Likewise.
82852         * sunrpc/xdr_rec.c: Likewise.
82853         * sunrpc/xdr_ref.c: Likewise.
82854         * sunrpc/xdr_sizeof.c: Likewise.
82855         * sunrpc/xdr_stdio.c: Likewise.
82857         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82858         handling.
82860 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82862         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82864 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82866         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82867         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82868         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82869         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82870         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82871         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82872         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82873         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82874         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82875         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82876         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82877         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82878         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82879         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82881 2010-07-26  Anton Blanchard  <anton@samba.org>
82883         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82884         * malloc/arena.c (heap_trim): Likewise.
82886 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82888         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82889         here.  Not...
82890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82891         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82893 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82895         * sysdeps/i386/elf/Makefile: New file.
82897 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82899         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82900         from fanotify_init.
82901         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82902         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82904 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82906         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82907         of strncasecmp_l.
82908         * sysdeps/multiarch/strcmp.S: Likewise.
82910 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82912         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82913         strncase_l-nonascii.
82914         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82915         Add strncase_l-ssse3.
82916         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82917         * sysdeps/x86_64/strcmp.S: Likewise.
82918         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82919         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82920         * sysdeps/x86_64/strncase.S: New file.
82921         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82922         * sysdeps/x86_64/strncase_l.S: New file.
82923         * string/Makefile (strop-tests): Add strncasecmp.
82924         * string/test-strncasecmp.c: New file.
82926         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82927         warning.
82929         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82930         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82932 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82934         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82936 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82938         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82939         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82940         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82942 2010-05-01  Alan Modra  <amodra@gmail.com>
82944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82945         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82946         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82947         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82948         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82949         tidying.  Don't tail-call __sigjmp_save for static lib.
82950         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82951         save location.
82952         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82953         (CALL_MCOUNT): Add eh info, and nop after bl.
82954         (TAIL_CALL_SYSCALL_ERROR): New macro.
82955         (PSEUDO_RET): Use it.
82956         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82957         Correct save location of integer regs and cr.
82958         (_dl_profile_resolve): Correct cr save location.  Delete nops
82959         after bl when SHARED.  Reduce cfi size a little by better
82960         placement of cfi directives.
82961         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82962         make a stack frame.  Instead use parm save area as a temp.
82963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82964         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82966         Don't make a stack frame for parent, use parm save area.
82967         Increase child stack frame to 112 bytes.  Don't save unused reg,
82968         and adjust reg usage.  Set up cfi on error recovery and
82969         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82971         (__makecontext): Add dummy nop after jump to exit.
82972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82973         Use correct parm save area and cr save, reduce stack frame.
82974         Correct cfi for possible PSEUDO_RET frame setup.
82975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82976         Branch to local label emitted by PSEUDO_RET rather than
82977         __syscall_error.
82979 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82981         [BZ #11904]
82982         * locale/programs/locale.c (print_assignment): New function.
82983         (show_locale_vars): Use it.
82985 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82987         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82988         field.
82989         (struct statfs64): Likewise.
82990         (_STATFS_F_FLAGS): Define.
82991         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82992         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82993         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82994         (ST_VALID): Define locally.
82995         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82996         __statvfs_getflags, use the provided value.
82997         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82998         __ASSUME_STATFS_F_FLAGS.
83000         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83002         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83003         Add sys/fanotify.h.
83004         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83005         fanotify_mask for GLIBC_2.13.
83006         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83007         fanotify_init and fanotify_mark.
83008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83009         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83011         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83012         Add prlimit.
83013         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83014         prlimit64 for GLIBC_2.13.
83015         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83016         prlimit64.
83017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83018         syscall.
83019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83021         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83022         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83024         add prlimit alias.
83025         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83027         [BZ #11903]
83028         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83029         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83031         * nss/Makefile: Add rules to build and run tst-nss-test1.
83032         * shlib-versions: Add entry for libnss_test1.
83033         * nss/nss_test1.c: New file.
83034         * nss/tst-nss-test1.c: New file.
83036         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83037         (__nss_configure_lookup): Set appropriate entry in
83038         __nss_configure_lookup to true.
83039         * nss/nsswitch.h: Define enum with indeces of databases in
83040         databases and __nss_database_custom arrays.  Declare
83041         __nss_database_custom.
83042         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83043         to avoid using nscd when custom rules are installed.
83044         * nss/getXXbyYY_r.c: Likewise.
83045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83047         * nss/nss_files/files-parse.c: Whitespace fixes.
83049 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83051         [BZ #11883]
83052         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83053         * posix/fnmatch_loop.c: Likewise.
83055 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83057         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83058         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83059         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83060         * Versions.def [GLIBC_2.13]: Add.
83062 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83064         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83065         Also fail if tpwd after pwuid call is NULL.
83067 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83069         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83070         when converting to ms.
83072 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83074         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83075         EOPNOTSUPP errors with ENOTTY.
83076         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83077         EOPNOTSUPP errors with ENOTTY.
83079 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83081         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83082         Add strcasecmp_l-ssse3.
83083         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83084         strcasecmp.
83085         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83086         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83087         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83089 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83091         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83093         * string/Makefile (strop-tests): Add strcasecmp.
83094         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83095         strcasecmp_l-nonascii.
83096         (gen-as-const-headers): Add locale-defines.sym.
83097         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83098         * sysdeps/x86_64/strcasecmp.S: New file.
83099         * sysdeps/x86_64/strcasecmp_l.S: New file.
83100         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83101         * sysdeps/x86_64/locale-defines.sym: New file.
83102         * string/test-strcasecmp.c: New file.
83104         * string/test-strcasestr.c: Test both ends of the range of characters.
83105         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83107 2010-07-29  Roland McGrath  <roland@redhat.com>
83109         [BZ #11856]
83110         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83112 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83114         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83115         for ld.so.
83117 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83119         * manual/memory.texi (Malloc Tunable Parameters): Document
83120         M_PERTURB.
83122 2010-07-26  Roland McGrath  <roland@redhat.com>
83124         [BZ #11840]
83125         * configure.in (-fgnu89-inline check): Set and substitute
83126         gnu89_inline, not libc_cv_gnu89_inline.
83127         * configure: Regenerated.
83128         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83130 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83132         * string/test-strnlen.c: New file.
83133         * string/Makefile (strop-tests): Add strnlen.
83134         * string/tester.c (test_strnlen): Add a few more test cases.
83135         * string/tst-strlen.c: Better error reporting.
83137         * sysdeps/x86_64/strnlen.S: New file.
83139 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83141         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83142         lower-latency instructions.
83144 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83146         * string/test-strcasestr.c: New file.
83147         * string/test-strstr.c: New file.
83148         * string/Makefile (strop-tests): Add strstr and strcasestr.
83149         * string/str-two-way.h: Don't undefine MAX.
83150         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83152 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83155         strcasestr-nonascii.
83156         (CFLAGS-strcasestr-nonascii.c): Define.
83157         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83158         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83159         Remove unused attribute.
83161 2010-07-20  Roland McGrath  <roland@redhat.com>
83163         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83164         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83165         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83166         like LD_HWCAP_MASK can disable hwcaps.
83168 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83170         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83172 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83174         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83175         call in strcasestr.
83176         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83177         __strcasestr_sse42_nonascii.
83178         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83179         strcasestr-nonascii.c.
83180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83182 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83184         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83185         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83186         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83189 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83191         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83192         fcntl.
83194 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83196         [BZ #11577]
83197         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83198         dl_signal_cerror.
83200 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83203         _PC_PIPE_BUF using F_GETPIPE_SZ.
83205 2010-07-05  Roland McGrath  <roland@redhat.com>
83207         * manual/arith.texi (Rounding Functions): Fix rint description
83208         implicit in round description.
83210 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83212         * elf/Makefile: Fix linking for a few tests to make recent linker
83213         happy.
83215 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83217         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83218         $(common-objpfx)libc_nonshared.a.
83220 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83222         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83223         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83224         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83225         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83226         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83227         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83228         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83229         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83244         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83245         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83246         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83247         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83248         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83249         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83250         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83251         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83252         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83253         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83254         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83255         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83271 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83273         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83274         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83275         * string/memmove.c (memmove): Renamed to ...
83276         (MEMMOVE): ...this.  Default to memmove.
83277         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83278         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83279         (END_CHK): Define.
83280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83281         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83282         mempcpy-ssse3-back memmove-ssse3-back.
83283         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83284         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83285         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83286         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83287         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83288         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83289         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83290         * sysdeps/x86_64/multiarch/memmove.c: New file.
83291         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83292         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83293         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83294         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83296         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83297         Define.
83298         (index_Fast_Copy_Backward): Define.
83299         (HAS_ARCH_FEATURE): Define.
83300         (HAS_FAST_REP_STRING): Define.
83301         (HAS_FAST_COPY_BACKWARD): Define.
83303 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83306         Restore proper fallback handling.
83308 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83310         [BZ #11701]
83311         * posix/group_member.c (__group_member): Correct checking loop.
83313         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83314         OOM in getpwuid_r correctly.  Return error number when the caller
83315         should return, otherwise -1.
83316         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83317         call returning > 0 value.
83318         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83320 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83322         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83323         libc_nonshared.a from targets in modules-names.
83325 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83327         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83328         requires it.
83330 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83332         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83337 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83339         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83341 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83343         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83344         and F_GETPIPE_SZ.
83345         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83348         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83349         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83350         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83352 2010-06-14  Roland McGrath  <roland@redhat.com>
83354         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83356 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83358         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83359         __REDIRECT followed by __THROW.
83360         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83361         * posix/getopt.h (getopt): Likewise.
83363 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83365         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83366         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83367         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83368         in AT_FLAGS.
83369         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83370         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83372 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83374         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83376 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83378         [BZ #11640]
83379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83380         Properly check family and model.
83382 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83384         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83386 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83388         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83390 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83392         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83393         symbol reference.
83395 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83397         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83398         symbol reference.
83400 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83402         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83403         and internal_recvmmsg.
83404         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83405         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83406         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83407         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83409         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83410         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83411         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83413 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83415         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83417 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83419         POWER7 optimizations.
83420         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83421         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83423 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83425         * version.h: Update for 2.13 development version.
83427 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83429         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83430         exceptions.  Return 0.
83432 2010-05-07  Roland McGrath  <roland@redhat.com>
83434         * elf/ldconfig.c (main): Add a const.
83436 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83438         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83439         (args_options): Add no-idn option.
83440         (ahosts_keys_int): Add idn_flags to ai_flags.
83441         (parse_option): Handle 'i' option to clear idn_flags.
83443         * malloc/malloc.c (_int_free): Possible race in the most recently
83444         added check.  Only act on the data if no current modification
83445         happened.
83447 See ChangeLog.17 for earlier changes.